Commit Graph

100 Commits

Author SHA1 Message Date
Cheney Ni
31019e12e1 BluetoothSar: Support SAR version 1.1
Add build flag: TARGET_USE_QTI_BT_SAR_V1_1 to control IBluetoothSar @1.1

Bug: 203055537
Test: bluetooth_sar_test
Change-Id: I81f79d08ad92d2b393d438739640f051e94d0426
2022-06-15 07:34:47 +00:00
Cheney Ni
7a468b2970 Bluetooth: Refine Bluetooth HAL manifest
Remove duplicated manifests which are included at bluetooth/manifest_bluetooth.xml.

Bug: 203055537
Test: lshal to see Bluetooth HAL services
Change-Id: Ib39f208245c9ef476285898606289d29717ed8ca
Merged-In: Ib39f208245c9ef476285898606289d29717ed8ca
2022-06-15 07:34:47 +00:00
Lily Lin
97ef10a1aa Enable read/write access to st33spi_state for euiccpixel_app
Bug: 231522746
Test: Confirm L10 can read/write st33spi_state
Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c
2022-06-15 03:44:36 +00:00
Gil
20afe0d66d display: update the indoor auto-brightness curve
Sync the indoor range mapping in
the indoor auto-brightness curve.

Bug: 234416291
Test: Check the default curve value
Change-Id: Ia0e3bdf2bd19533f31f0a97a7c80ec13d7cbd0a7
2022-06-14 15:11:15 +00:00
Alice Kuo
458a0c81b7 Add support LE audio switcher in the developer option for P23a
Bug: 233005340
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: Ib63af53973aa71560ba3e601c4bee0174b77e16f
2022-06-13 13:15:37 +08:00
Shanmuga Pandi M
0049c388b8 [L10] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 235442093
Test: GCA
Change-Id: I5bb05e32f0cd79e9fd91a9ae2998cf29da65a7b0
2022-06-09 10:41:42 +00:00
Yung Ti Su
8a2868771d audio: update speaker fw and bins
Change list:
L10 proto 1.1 tuning with 0520 FIR filter

Test: manual
Bug: 223513454

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iad5c01a9e2593abe764e9e996073783127b60a8a
2022-06-09 08:48:31 +00:00
David Chao
c3ea2b16cf thermal: update thermal config
1) add usbc overheat mitigation v0.1.
2) add VIRTUAL-SKIN formula v0.1.
3) enable thermal throttling as P10 device.

Bug: 231404311
Bug: 229581307
Test: Build and boot on device.
Change-Id: I6d2f3c4860112df43aef9eedaef121a1f47365d4
Signed-off-by: David Chao <davidchao@google.com>
2022-06-09 03:17:57 +00:00
David Chao
828c32a88d Revert "thermal: disable SKIN thermal throttling"
This reverts commit bf8693dd6d.

Reason for revert: re-enable thermal throttling protection with the
virtual sensor formula.

Bug: 231404311
Test: thermal throttling worked properly.
Change-Id: I99020b5b30a6a9ada0f51974161d262b9d37667c
2022-06-09 03:17:57 +00:00
Yung Ti Su
a14291738e sync the audio_policy_configuration with P10
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I6120c69a27611c62000f6921bcb08e3a70860152
2022-06-07 12:30:44 +00:00
Hsiu-Chang Chen
e35f0305ea Wifi: Put myftm in userdebug builds
Bug: 235164681
Test: Build pass
Change-Id: I12f1a9b47850250903720e8032f80880937a0014
2022-06-07 03:01:40 +00:00
Shawn Lin
28dd1cbe29 Enable hide cutout emulations
Bug: 234107076
Test: make
Change-Id: I5b28c20b8ac99f400c5d8a085225349c5ac383a4
2022-06-01 07:46:51 +00:00
Gil
d4aff776ac display: add display_colordata_dev_cal0.pb file
add LHBM compensation tuning

Bug: 224528172
Test: Check displaycolor log and LHBM function.
Change-Id: I9e8f3e0cd413bc58b22e5290c157bdf27d7b9427
2022-06-01 07:31:30 +00:00
George Chang
9d87df0bb3 Switch NFC from HIDL to AIDL am: 9782bbc0ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18219340

Change-Id: I33c79aa8953445213d0b3a92dfbd3833ab9d4a4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:52 +00:00
George Chang
e355efbc63 Remove Nfc hidl settings am: b1a045dcf3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18611812

Change-Id: I9e781eba7c103d93bcd9bb4f27406223535e617d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:50 +00:00
George Chang
9782bbc0ca Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
Change-Id: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
2022-06-01 06:19:26 +00:00
Junkyu Kang
024a5166f3 Remove carrier location permission backdoor
- Affected device: M23

Test: Check Carrier Location App is not installed
Bug: 230813132
Change-Id: I70a7439ac3caa01aab810a80d557151b4e986023
2022-06-01 03:16:42 +00:00
Gil
ed76440182 L10 : Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adapative brightness. Modify auto brightness
table to support 1000 nits in HBM mode.

Bug: 224527764
Test: brightness and adaptive brightness manual test
Change-Id: I2d3bbd19fa33ca4713127b0b0f4ad39dc39c1175
2022-05-31 08:58:15 +00:00
Yung Ti Su
f97834d593 L10 initial tuning for Waves
Change list:
For waves_preset.mps
It increases top speaker excursion and reduce temperature to get better performance.

For audio_policy_volumes.xml
It changes volume curve to accompany with waves_preset.mps, which helps to get linear volume curve.
I also change DTMF, Ringtone, System sound volume curve to satisfy user expectation.

Bug: 234094724
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I085089de96d366480c70da6d86e6d7983033a631
2022-05-30 13:30:19 +08:00
Lucas Wei
4edfad5109 Lynx: add requirement for vendor_kernel_boot partition
Bug: 214409109
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: If5b544370992f8d872a128177358fc6dfa3e928d
2022-05-26 15:19:45 +00:00
George Chang
b1a045dcf3 Remove Nfc hidl settings
Nfc uses aidl now

Bug: 216290344
Test: manual
Merged-In: I5d1b4c47264adba2c8f517285fe603f1b4fa1188
Change-Id: I5d1b4c47264adba2c8f517285fe603f1b4fa1188
2022-05-26 09:45:17 +00:00
Cheney Ni
53654d711d Bluetooth: Don't enable OOBS before NVM ready am: 006ea2415e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18520831

Change-Id: I4c80208cdc92acfa33ad216f9794086af27f40ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 07:48:26 +00:00
Cheney Ni
006ea2415e Bluetooth: Don't enable OOBS before NVM ready
Bug: 202091533
Test: Turn on Bluetooth without OOBS NVM
Change-Id: Id85e896a0c9663311c55a7975b94fa5a8081d6eb
2022-05-26 06:57:34 +00:00
chungkai
a928bbe50d powerhal: sync latest powerhint
we need disable uclamp_threshold and reduce_prefer_idle, boost FG group when apps launch and remove FPS based hints for TA boost.

Bug: 233423618
Test: build pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I3fe9318d46426c1e5ef7defe85126501313d419f
2022-05-24 06:15:59 +00:00
timothywang
657b3e00e3 Support front camera 4K30fps video am: 4f8795f405
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18558006

Change-Id: Ib97686d954c5299df5d6a50c782dd4a025919a0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 04:11:37 +00:00
timothywang
4f8795f405 Support front camera 4K30fps video
Bug: 233588413
Test: GCA
Change-Id: I22be04e236f58fabe3542221c2cf9733d71cf0a9
2022-05-23 19:54:28 +08:00
Yung Ti Su
6a6b49367d update fortemedia tuning table
Change List :

- Handset
Optimal performance to meet 3GPP requirement for NB/WB/SWB
HAC: Modify DL FDEQ subband number for further tuning

- Handheld
Modify 3MIC solution to 2MIC solution

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id84bf3f8bbe94c888201a65b28d6cd61f19fb00e
2022-05-23 04:49:41 +00:00
Yung Ti Su
e1b4869cd8 update Boost Peak Current Limit
Due to BAACL not turned on as default

Test: manual
Bug: 232059631

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I0414e20bf6e2d1ca24d5462e66a34a888cb40496
2022-05-20 16:30:58 +08:00
Carter Hsu
a9efd4fcfe audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib8e5662258636c5ceffa9664f94a6adcd60c097a
2022-05-12 17:11:38 +08:00
Hsiu-Chang Chen
35064e19de Wifi: Add athdiag for factory build
athdiag is the tool to read OTP data

Bug: 225811587
Test: Build pass and it's tested well by HW RF
Change-Id: I2409dcad2ce1d2959ac10598395a67882f0bc75d
2022-05-11 08:02:04 +00:00
Carter Hsu
55508dcd79 audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ide33b33103165f8af7ed57cd033f7ee499a7edc8
2022-05-11 03:00:58 +00:00
Darren Hsu
546a342277 powerstats: add NFC state residency stats
Bug: 227402176
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iff54b2b1c4be531222c6b0dc601b2b6838ccd5af
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-09 15:34:24 +08:00
Yung Ti Su
bfbc6e2545 L10 1st version of fortemedia tuning table
Change List :
sync P10 20220422 version

Bug: 230558942
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I15774cf0f5dc689a10c334025f3b120ebec62b85
2022-05-06 09:42:46 +08:00
Darren Hsu
10202aafee powerstats: update display state residency stats
Bug: 227285142
Bug: 227401938
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I8720575722f8a3574052b241f472549b507cf215
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-04 15:57:32 +08:00
Hsiu-Chang Chen
0a57a61271 Wifi: Add property to define interface name for aware
Bug: 230237412
Test: Wifi aware can be enabled
Change-Id: Id37d2e50c0884a28396bd695cc355c97fc7f2edd
2022-05-04 05:01:41 +00:00
Tai Kuo
1b93fdd730 haptics: enable hapitcs sink and slot setting
Bug: 220068530
Test: trigger audio coupled haptics via sound picker app
Change-Id: I08885ae97e6f47a2840680481c3f9fb56cbe3c47
2022-05-03 16:17:19 +00:00
samchchang
3ae3bd1b52 media_profiles: Modified for new the project am: c221f2d0ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18030594

Change-Id: I3cb57d22723556517d114830177b24fd30060c41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:31:33 +00:00
samchchang
c221f2d0ea media_profiles: Modified for new the project
- Removed unnecessary cameras.

Bug: 228407984
Test: Manual push, GCA
Change-Id: I51e34325e25785d80803c8a01468de3edccb0a59
2022-05-03 11:27:50 +08:00
Sam Dubey
afe3bb40f9 Switch BluetoothCcc to 1.1 version am: c73f4ddb09 am: 9c0c469408
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943832

Change-Id: I290cf4a6e92618611d1861e324560d6686bac0fd
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 17:31:31 +00:00
Sam Dubey
14043ea3ec Switch BluetoothCcc to 1.1 version am: 9fc18e2b5d am: d2262657d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943831

Change-Id: I589be08453669450fe607d0cde8cabebf187b264
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 17:31:08 +00:00
Sam Dubey
9c0c469408 Switch BluetoothCcc to 1.1 version am: c73f4ddb09
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943832

Change-Id: Iee218db31a2f5a716a7fa9a461e8798af33e7a68
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 16:55:37 +00:00
Sam Dubey
d2262657d8 Switch BluetoothCcc to 1.1 version am: 9fc18e2b5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943831

Change-Id: Ia19da721024269515a9efcb73644ba735f4e2d6d
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 16:55:26 +00:00
Sam Dubey
c73f4ddb09 Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916

Change-Id: I5ff5d983ee66505f63f225dbd3151b2e5a45251e
2022-04-26 16:24:28 +00:00
Sam Dubey
9fc18e2b5d Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916
Change-Id: Idf19917c60077d01f9b78ac39d602a8278a5280e
2022-04-26 13:16:24 +00:00
Jason Chiu
bf8693dd6d thermal: disable SKIN thermal throttling
Bug: 229957835
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
Change-Id: I0b833cd55f81b58272a95747c852707f5d6715c1
2022-04-21 20:03:27 +08:00
Cheney Ni
97f34e5c50 Bluetooth: Adds more debugging properties am: 7d4c43f5fc am: c09d28e3b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17817045

Change-Id: Iede895dc2c4cb284b4b22f897fbb0633395305a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:35:11 +00:00
jimmyshiu
986ef78a65 powerhint: Add Adpf Profiles for L10 am: 0a966c52ae am: 283c25681a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17821909

Change-Id: Ib6873554e1dea47683bf5f04441422e3d39a5d91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:33:40 +00:00
Cheney Ni
c09d28e3b0 Bluetooth: Adds more debugging properties am: 7d4c43f5fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17817045

Change-Id: Id6e5aebe23d4e942683ce738bfec08f373ccef9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:09:04 +00:00
jimmyshiu
283c25681a powerhint: Add Adpf Profiles for L10 am: 0a966c52ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17821909

Change-Id: I8333ed82788504d5fa2f59fdeab48e31ded59fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:07:45 +00:00
Cheney Ni
7d4c43f5fc Bluetooth: Adds more debugging properties
Set vendor properties about SoC logging and firmware snoop to true on
userdebug build, and set to false under user build.

Bug: 229691092
Test: Flash the build to check if there is SoC logging
Change-Id: Idaf490a68fe5fbefb1338f351931553222191137
2022-04-20 13:49:01 +00:00