Commit graph

155 commits

Author SHA1 Message Date
eddielan
b625c6d926 fingerprint: Enable HIDL fingerprint status flag
Bug: 203016894
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I3f77a2b2a181729b1ad79c50b3574408df149f38
2022-08-30 19:24:37 +08:00
jimmyshiu
ba8ccf33f5 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: manual
Change-Id: I06a38eeade1aea7cb12bef079b555e6e34d2581c
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:22:09 +00:00
TreeHugger Robot
9335488c69 Merge "Revert "Disable A2DP hardware offload"" into tm-qpr-dev 2022-08-29 05:39:28 +00:00
TreeHugger Robot
e05312ee80 Merge "thermal: seperate thermal config for charging" into tm-qpr-dev 2022-08-26 07:27:57 +00:00
Gil Liu
2489c41087 Merge "display: enable Lbe supported property" into tm-qpr-dev 2022-08-26 06:12:10 +00:00
David Chao
03f56679b7 thermal: seperate thermal config for charging
Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 243347663
Test: thermalHAL init completed in charger.
Change-Id: I474d58d51ec715c90fcf4d8ad8d377db4e8e43f0
2022-08-25 16:13:59 +08:00
Jasmine Cha
b5914301da audio: improve mute duration
- preview of notification will be cut off slightly becuase of mute
  duration is too long.
- sync mute duration of primary output from to 40 ms

Test: preview notification

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib97017db1066fb6687b6634956e086a3102fe939
2022-08-24 10:53:47 +08:00
TreeHugger Robot
38385b5721 Merge "p2p: fix p2p configuration" into tm-qpr-dev 2022-08-23 20:33:26 +00:00
Jasmine Cha
ca6b0c61f4 audio: update fm table
Source (iS895):
K6: HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (K6_HEADSET_Apr_26_and_epdoffset_15ms.dat)
T6: HANDSFREE-HANDFREE-VOICE_GENERIC-FB   (HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat)

Change steps:
1. Convert iS895 source file "K6_HEADSET_Apr_26_and_epdoffset_15ms.dat" and "HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat" to iS900
choose source parameter "HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB" and "HANDSFREE-HANDFREE-VOICE_GENERIC-FB" from Nest Handsfree/Headset iS895 parameter
2. apply T6 iS900 evaluation parameter, including enabling iS900 SSA2.0(T6/K6), EC/NS(slight change in T6)
3. 48k-32k mapping, (Tx/Rx EQ, EPD_offset)
//EPD_offset from 0x2D0(15ms at 48k) to 0x1E0 (15ms at 32k)

Bug: 242920998
Test: manaul test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I731f75c92e31be98986da8091d5c744064ccfeec
2022-08-22 13:10:07 +08:00
Darren Hsu
acf8bdf29a powerstats: update configuration of common data providers
Bug: 242695004
Bug: 215489197
Bug: 215488437
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I8ab4c72a509b9b4673929588ab69e39ab2e14bdb
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-08-17 16:19:04 +08:00
Himanshu Rawat
99c90cbdc4 Revert "Disable A2DP hardware offload"
This reverts commit c0bced1a2b.

Reason for revert: ag/19586826 has enabled the A2DP hardware offload in the firmware

Change-Id: I2957d3c963c0151396481bb5525f57970d88e651
2022-08-17 04:43:35 +00:00
Gil
f4ee98a0cd display: enable Lbe supported property
Bug: 198991782
Test: Boot pass and LBE self test
Change-Id: I09f5fdb834285d21a41753567fb6cede97133fc1
Signed-off-by: Gil <gilliu@google.com>
2022-08-16 19:54:15 +08:00
Achigo Liu
920bb06201 Merge "Bundle tablet_core_hardware.xml" into tm-qpr-dev 2022-08-10 02:47:03 +00:00
Roger Liao
752f979adb Disable Baro, Prox and HIFI sensors on Tablet products
Adding the FLAG to exclude related sensor features.

Bug: 240652154
Test: adb shell pm list features
Change-Id: I80e55ff6496bff6d181a806807a194ce38c6bd44
2022-08-09 18:22:00 +08:00
Roger Liao
f01909cc04 Remove GPS settings
Bug: 240652154
Test: build pass
Change-Id: I51a6ec9e078304ff46c6b7510021af4a0c386e44
2022-08-09 17:46:25 +08:00
achigoliu
5efa2900a6 Bundle tablet_core_hardware.xml
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: I6f6f393aaae6a6f751d65e91fe28997fb1b77f3b
Merged-In: I2e3a2c069302b518e00a10e362d2f08eb6518f66
2022-08-09 10:43:44 +08:00
George Chang
71340dc7bf Remove NFC settings
Bug: 241466719
Test: build pass
Change-Id: I943b8b0406bfc2553cbf76ad0a8e49d8fd2946bf
2022-08-08 19:46:45 +08:00
Jimmy Chen
3483016d07 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Change-Id: If22efca993dfb55616df0166f3aab860bbcd3073
2022-08-08 11:03:28 +08:00
Darren Hsu
905a74d1d5 powerstats: update display resolution
Bug: 240550846
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I5805db02cf7c6b35f6e9347d595cadc1b09e76cf
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-08-04 16:05:55 +08:00
Adam Shih
7f0987a3a0 Add AIDL support on IBluetoothCcc
Bug: 239658601
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: Ia0039e1f11c59a62823c757318f04d2a36eeb034
2022-08-03 23:45:33 +00:00
TreeHugger Robot
214eab8058 Merge "Factory: disable touch offload and v4l2." into tm-qpr-dev 2022-08-03 00:47:31 +00:00
TreeHugger Robot
e19773118e Merge "touch: change permission for dumpstate used." into tm-qpr-dev 2022-08-03 00:46:52 +00:00
TreeHugger Robot
c05c1a14d4 Merge "audio: update VOIP usecase config" into tm-qpr-dev 2022-08-02 09:14:47 +00:00
Super Liu
29de9af49d Factory: disable touch offload and v4l2.
Bug: 193467777
Test: check the offload and v4l2 feature with factory_tangorpro build.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I5421c7786d835f11f47a155e7458de9d68115bd1
2022-08-02 16:06:51 +08:00
TreeHugger Robot
7f7ee85b2c Merge "bcl: update trigger condition for BAACL mechanism" into tm-qpr-dev 2022-08-02 04:07:45 +00:00
Super Liu
6ece128bb3 touch: change permission for dumpstate used.
Bug: 193467774
Test: check the permission from TreeHugger build.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Id66a4973d49ee071049d9e22ec991b7d38e0f346
2022-08-02 11:24:02 +08:00
TreeHugger Robot
48186f64e4 Merge "thermal: Update config_shutdownBatteryTemperature to 58" into tm-qpr-dev 2022-08-02 02:57:43 +00:00
TreeHugger Robot
a72201570c Merge "Add LE Audio policy file" into tm-qpr-dev 2022-08-01 12:16:33 +00:00
shihchienc
86dda98911 Add LE Audio policy file
Bringup le audio on tablet and we found it missed le audio policy file.
So add this file into make file and change the order of make file to
ensure file added in audio-tables.mk can override the common one.

Bug: 239384147
Test: Connect with LE audio device and play music
Change-Id: I0f09744fa6bbe1e1e7377b3986c4a99cdf950095
2022-08-01 06:07:58 +00:00
TreeHugger Robot
e140d80cef Merge "powerstats: enable PowerStats HAL" into tm-qpr-dev 2022-07-29 06:36:11 +00:00
Redick Lin
c753682653 bcl: update trigger condition for BAACL mechanism
Bug: 237469885
Change-Id: Iff8fc738982940638be4594b31f654d315bf1f9b
Signed-off-by: Redick Lin <redicklin@google.com>
2022-07-29 10:32:57 +08:00
AleX Pelosi
23dc8ad8b1 Merge "Remove device-specific support for GoogleBattery HAL" into tm-qpr-dev 2022-07-28 20:02:01 +00:00
Darren Hsu
96565d3c62 powerstats: enable PowerStats HAL
Bug: 240329723
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Idf35c69f9641e16c2278ebe9d6ee4e2cc5f72b76
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-28 22:00:29 +08:00
sashwinbalaji
a6435237f0 thermal: Update config_shutdownBatteryTemperature to 58
Bug: 237472896
Test: Verified locally using build P38065952
Change-Id: Ib82fadef9667b75d94bd9a1c07d33fd11eb1f0ca
2022-07-28 10:52:21 +00:00
Roger Liao
e735068f58 Disable Android camera flash and autofocus on Tablet products
Adding the FLAG to copy the rule by conditions.
- Set for a non auto-focus camera:  android.hardware.camera.xml
- Not set for an auto-focus camera: android.hardware.camera.flash-autofocus.xml

Bug: 239142680
Test: adb shell pm list features
Change-Id: I96ec2be4e2fb0510e2fa98fe00225ae3a82474ed
2022-07-25 15:34:31 +08:00
vincenttew
353ba4f7f7 audio: update VOIP usecase config
sync fortemedia audio table

Test: VOIP usb headset, BT, speaker, handset mode
Bug: 237649996
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9f2c02f02e80ae32596b024d4bce91c63d2a1d49
2022-07-22 18:19:23 +08:00
Stephane Lee
b3c6a072b9 Remove device-specific support for GoogleBattery HAL
This is covered by parent projects

Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: I7560dcf8a1b1ecbaa0a1baf1de98c3ffc8001e92
Merged-In: I7560dcf8a1b1ecbaa0a1baf1de98c3ffc8001e92
2022-07-22 00:37:17 +00:00
TreeHugger Robot
8ca2c97fd4 Merge "Disable A2DP hardware offload" into tm-qpr-dev 2022-07-21 11:09:37 +00:00
Himanshu Rawat
c0bced1a2b Disable A2DP hardware offload
A2DP hardware offload is not supported by the Synaptics at present.

Bug: 239004641
Test: Start A2DP streaming with AAC or SBC codec
Change-Id: I3e37b249b7a44c41d896f65b002486aa5f510d0d
2022-07-21 06:01:38 +00:00
Alex Hong
2cf91a8295 [DO NOT MERGE] Use GmsCorePrebuilt y2022w28 for tangorpro devices
Bug: 239681407
Change-Id: I4699f0191664177134c6b203afe5c6e5fb3595a6
2022-07-20 23:24:14 +08:00
Sam Ou
9a2093b008 Merge "add power_profile" into tm-qpr-dev 2022-07-18 03:58:40 +00:00
Robin Peng
57ab2febe9 Merge "init: set vendor.all.modules.ready and vendor.all.devices.ready" into tm-qpr-dev 2022-07-15 14:43:52 +00:00
Jasmine Cha
d6d793bae1 Correct speaker.cal permission for T6pro
Bug: 211360517
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iae9685972ffe960e34972a983903a618ada7ae72
2022-07-15 11:32:04 +08:00
Robin Peng
f6efa05859 init: set vendor.all.modules.ready and vendor.all.devices.ready
migrated from init.gs201.rc

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I02b1a0b92c8672ff62d5d4f04212b09c58268305
2022-07-14 21:22:57 +08:00
TreeHugger Robot
179eba89b6 Merge "audio: sync audio tables" into tm-qpr-dev 2022-07-14 12:55:24 +00:00
Jasmine Cha
cf0a71a285 audio: enable BAACL
Bug: 237469885
Test: manual test
      adb shell "echo 70 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6fc8bbb1fb74ab1cd4697ca780ec8d87332bfd2e
2022-07-14 16:01:20 +08:00
Jasmine Cha
df3093b637 audio: correct table of feature SoundTriggerDockTuning
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I716a5d203b8d4ec8ea37f3b4706af165ea75c08a
2022-07-14 16:01:20 +08:00
Jasmine Cha
5b39e8475a audio: sync audio tables
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ibc7c58bfd97d4170d00157883e0197204326a54a
2022-07-14 15:56:58 +08:00
Gillian Lin
a3ca8ddb50 Merge "factory: create led calibrator folder" into tm-qpr-dev 2022-07-14 04:00:05 +00:00
Chung-Kai (Michael) Mei
3f6b133522 Merge "powerhal: update powerhint" into tm-qpr-dev 2022-07-14 03:37:01 +00:00