Commit graph

234 commits

Author SHA1 Message Date
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
TreeHugger Robot
b91600572a Merge "audio: update speaker diagnostic bin files" into tm-qpr-dev 2022-07-13 10:36:28 +00:00
Gillian Lin
b7453e6860 factory: create led calibrator folder
mkdir /mnt/vendor/persist/led in init rc file for LED calibration

Bug: 238837425
Test: adb shell led get_cal
Change-Id: I2f383a8b6a03351778c819cdd8ffa7d6c953a8b8
2022-07-13 07:26:20 +00:00
chungkai
987953c22c powerhal: update powerhint
Test: Build pass
Bug: 236819367
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I407d64f6e0a1dad86db08b70059faae3eb78b5e8
2022-07-13 02:22:29 +00:00
Robert Lee
88c37176f8 audio: update speaker diagnostic bin files
Fix speaker calibration fail with parameter '-d'.

Bug: 224763761
Test: speaker calibration pass
adb shell vendor/bin/crus_sp_cal -d -s -a --device 5 --ambient 21 --num-speakers 4 --verbosity-level 7

Change-Id: I1ac1491a4aa96110624fab743aa351f7a03b616a
Signed-off-by: Robert Lee <lerobert@google.com>
2022-07-13 09:56:00 +08:00
TreeHugger Robot
c3e829f9b7 Merge "Synaptics Bluetooth A/B firmware update feature" into tm-qpr-dev 2022-07-13 01:38:59 +00:00
Himanshu Rawat
8b6b42d7f3 Synaptics Bluetooth A/B firmware update feature
Added property persist.bluetooth.firmware.selection to select the target firmware.

Bug: 238605176
Test: adb shell "setprop persist.bluetooth.firmware.selection BTFW_B.hcd"
Change-Id: I419a4152833ee31cc4b18c3e014a723f63b74aa0
2022-07-11 12:23:51 +00:00
Redick Lin
e35a7cc8d3 bcl: Initialize bcl configurations
Bug: 238142795
Change-Id: Id3de17257653b568faf3d6dd74e322edf7cd4602
Signed-off-by: Redick Lin <redicklin@google.com>
2022-07-11 17:45:40 +08:00
Sam Ou
50e31c0a02 add power_profile
Bug: 238580545
Change-Id: I5c2cb90a4f594b1d649a2db794e34622d8b0f7ee
Signed-off-by: Sam Ou <samou@google.com>
2022-07-11 06:34:53 +00:00
Brad Hsueh
71f65889d9 Merge "[DO NOT MERGE] Use GmsCorePrebuilt y2022w24 for tangorpro devices" into tm-qpr-dev 2022-07-11 05:40:44 +00:00
TreeHugger Robot
c6ba71fd24 Merge "audio: update speaker protection bin files" into tm-qpr-dev 2022-07-08 12:10:45 +00:00
TreeHugger Robot
a7822a862b Merge "aoc: add USB setting" into tm-qpr-dev 2022-07-08 07:24:44 +00:00
Alex Hong
1fc1da1845 [DO NOT MERGE] Use GmsCorePrebuilt y2022w24 for tangorpro devices
Bug: 237485531
Change-Id: Ib3aa60b4c514a36f5b0ee0e8794598e7b59f477b
2022-07-08 11:49:44 +08:00
yixuanjiang
2599d763d2 aoc: add USB setting
Bug: 238159403
Bug: 238160606
Test: local
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ida9f80bf743e6cec035e92560d09902f8918d862
2022-07-08 02:07:03 +00:00
TreeHugger Robot
63c3ddb1ed Merge "aoc: correct capture setting" into tm-qpr-dev 2022-07-06 14:32:08 +00:00
Robert Lee
ae8524f5c5 audio: update speaker protection bin files
Enable PICL and set threshold to 3.4v

Bug: 226011435
Test: Builds
Change-Id: If19d31b72a58699cf19128da4f1edc95354790fd
Signed-off-by: Robert Lee <lerobert@google.com>
2022-07-06 17:32:48 +08:00
Chungjui Fan
5d38609221 Enable lights HAL
Bug: 230288032
Test: atest VtsHalLightTargetTest
Change-Id: I842b917eee314c0ad75cd2cb8f0ba2bb6703bad8
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-07-05 02:53:19 +00:00
Chungjui Fan
0d44479f24 Add the support of lights HAL
Bug: 230288032
Test: atest VtsHalLightTargetTest
Change-Id: I076e76f589a202833095b14a839500a26c35e9b3
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-07-05 02:51:35 +00:00
yixuanjiang
445a31fc79 aoc: correct capture setting
1. add ultra-sonic capture
2. corret mic2 setting

Test: local
Bug: 237471423
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: If05895eb2574bfdf26d73d371ee634c9f0072bb7
2022-07-04 13:40:35 +08:00
TreeHugger Robot
fdca91b2ac Merge changes from topic "cast_provision_tangorpro" into tm-qpr-dev
* changes:
  Define namespaces to include libbinder_trusty_paidl.so and libcast_auth.so
  castauth: load castauth TZ app
  Check-in cast auth ICA.
  CastInstallKeybox: Enable provisioning tool
2022-07-04 02:40:01 +00:00
Chungjui Fan
fb24899437 Define namespaces to include libbinder_trusty_paidl.so and libcast_auth.so
Bug: 234314805
Change-Id: Ic32d7f960e10e0028bf6c42b06b722264ef48c27
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-07-01 07:00:30 +00:00
TreeHugger Robot
9cafbbed27 Merge "thermal: update sensor equation for VIRTUAL-SKIN" into tm-qpr-dev 2022-06-30 07:59:57 +00:00