Commit graph

745 commits

Author SHA1 Message Date
shihchienc
1586f2ae70 Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: Ibc12a2774d3b32fe54574372121ce3e93d395167
Merged-In: Ibc12a2774d3b32fe54574372121ce3e93d395167
(cherry picked from commit c337787e1d)
2022-09-19 14:40:49 +00:00
TeYuan Wang
91b6195129 thermal: more aggressive CPU throttling policy
Bug: 243198654
Test: run MH and burn8
Change-Id: I81cce79f74e742c84f2462bdfd7ea95e4939f55f
2022-09-16 18:18:37 +00:00
Bill Yi
b04dd9f180 Add scripts for generating cheetah/panther factory images am: 244d8839e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19970063

Change-Id: Ia317166453ab8d000241353c87fdd8d86714481a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:51:01 +00:00
Bill Yi
244d8839e9 Add scripts for generating cheetah/panther factory images
TEST:Generate factory images

BUG: 217478568
Change-Id: I5736096c4af6e46058e9a3ef4bd48acac4b8e701
2022-09-15 10:36:07 -07:00
Yang Qi
69ec4328d8 calibration: update CCC minimum system offset to 250 for P22
Bug: 244622298
Test: see b/244622298
Change-Id: I9625ff6e84c43f31d6ecb8eee1f3b65fc8a7bfa9
2022-09-15 17:03:37 +00:00
Carter Hsu
d30b8191ec audio: enable USB clock boost on SWB voice-call
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iddb6e4c94338afa8998791091e6bf4637d648ba1
2022-09-14 01:05:30 +00:00
Jasmine Cha
bd90823a92 audio: update FM table
1. Handset : Sync SU0 setting to QPR
2. Headset :
    a) Modify RX DRC to compress the noise floor which is coming from 8 bit process on CCA
         for all of BT modes with NB/WB
    b) Consistent mixer setting for RX1 and RX2:
         BT disable mixer on RX2
         Headset disable mixer on RX2
    c) Low RX FENS on BT
         #CASE_NAME        BLUETOOTH-BTNB-RESERVE2-SWB
    d) Enable RX low latency to compensate the long delay
         For Headset modes
3.Handsfree :
    a) modify Light NS for cust2
    b) sync SU0 setting to QPR

Bug: 245658052
Test: manual test b/245658052#comment4

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia833a0e63c85503cec8af8ec3864c588e6414e6a
2022-09-14 00:52:47 +00:00
Taeju Park
28c3cd123b Remove max frequency boost of big cores for FACE_UNLOCK
Bug: 245619770
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Id2e7c011af53d0dac62bc9ba02c8daa2140d2ff9
2022-09-07 18:22:51 -07:00
Jeremy Kemp
c111dbd746 Remove GPU-specific 151MHz min power hint.
gChips discovered potential issues with this frequency, and has recommended its removal.

This also updates thermal hard-limits to reflect the removal of one
operating point.

Bug: 240479599
Test: Boot to homescreen
Change-Id: If16a65550b85a4a4a66cdcd3b5bd7e31d7e7dc88
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-09-03 07:25:51 +00:00
Rick Yiu
04131a199b Remove RestrictedCpuset hint
With systemui now changed its cpuset in early stage, we no longer
need RestrictedCpuset hint as workaround.

Bug: 242775562
Test: build pass
Change-Id: I108cf0683fe80bfb50b3b8012954129dc1c40a54
2022-09-02 04:59:41 +00:00
juyuchen
d7a8fe331c audio: enable gapless offload for trimming data
Bug: 233723867
Test: manual audio tests
Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: Ia346acd9c53282098df25c31fa67bf4ef4e329b6
2022-09-01 15:06:21 +00:00
Carter Hsu
d1e2c603d0 audio: FM table check in for SU0 am: 307211b372
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19594852

Change-Id: I5ea15ac206ae5ba7de4a625bdfa6d69eaa719de1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-01 12:35:18 +00:00
Carter Hsu
307211b372 audio: FM table check in for SU0
[Change list]
1. fix AMS mistriggering problem in SU0

Bug: 241723468
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I367166a0637e0071a1ef16f654f4b74bc0408854
2022-09-01 09:08:55 +00:00
Wayne Lin
1292879137 gps: enable GNSS PPS feature
Bug: 243407206
Test: extensive tests with PPS enabled in b/235270127
Change-Id: I19d5e98181535df09ed75a4113c26e5e8cbba1f1
2022-09-01 08:28:29 +00:00
Wayne Lin
71ec2dc4af Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement

Bug: 244258007
Test: confirm the configurations are correct
Change-Id: I42acbfda84e4c6eab6d95b99b100edfa99f7a704
2022-09-01 08:27:37 +00:00
Rick Yiu
620b85cf67 Config dex2oat according to thermal status
Config dex2oat cpuset and thread count according to thermal status.

LIGHT cpuset = 0,1,2,3,4,5 thread = 6
MODERATE cpuset = 0,1,2,3 thread = 4
SEVERE cpuset = 0,1,2,3 thread = 4
CRITICAL cpuset = 0,1,2,3 thread = 2
EMERGENCY cpuset = 0,1,2,3 thread = 1

Bug: 242948832
Test: build pass
Change-Id: I98afba1282677593ebd8cad0b9e0b7bba5378e2d
2022-09-01 05:12:47 +00:00
Ted Wang
9d09e7dc42 bt: update bt a2dp offload capabilities
* set BtA2dpOffloadCap value to sbc-aac-aptx-aptxhd-ldac-opus
  in bt_vendor_overlay.conf to suppot OPUS offloading.

Bug: 243958304
Test: manully
Change-Id: I0482a86584ad0ae36daff810a1c853e8edffd375
2022-08-31 19:28:07 +08:00
linpeter
ad485fa058 update dimming usage property
Bug: 234327328
test: check value of property
Change-Id: I14ccd77dd5354cee20dbe105095797513f6f8eed
2022-08-30 06:27:32 +00:00
Rex Lin
dd2c9ef82f uwb: update country conf file for C10
- update script for restricted channels
- set UWB-calibration_fcc.conf as UWB-calibration.conf which will served as default and unknown configuration

Bug: 240199018
Test: Verified with local build
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I2dc2e2c57ab145afcdd0c2fd50682f5d8ee5ba2b
2022-08-29 23:04:46 +00:00
millerliang
5de969c27e audio: adjust the latency for immersive playback
To meet the av sync, we need to adjust the uc latency
for immersive playback.

Bug: 243645548
Test: Test with av sync video
Change-Id: Iac25dc58032dc9b070885c7c425d00b6d2c98c4c
2022-08-29 03:38:26 +00:00
Yang Qi
a8cd0dbee2 calibration: update CCC minimum system offset
Change the value to wait on the get session state and start command on
SE side to an optimal value after tuning

Bug: 237644730
Test: see b/237644730
Change-Id: I8ae99a1d85df55cc2ba8ab372c8879a7abdb8eb3
2022-08-24 22:33:07 +00:00
Cyan Hsieh
790c52493e Update SVN to 2 am: 9262b7b493
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19673833

Change-Id: I015bf4e5657c2ff0ef33bcf8a097915878a23615
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 04:11:40 +00:00
Cyan Hsieh
9262b7b493 Update SVN to 2
Bug: 243005982
Change-Id: I7b6c5cf0a62e3f7b8a459adc94501313e11d648a
Signed-off-by: Cyan Hsieh <cyanhsieh@google.com>
2022-08-24 03:43:09 +00:00
Jimmy Chen
16d4e31f10 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: I6f471aed60b56862ba9a8b0bb12d50ef6305faba
2022-08-24 08:49:47 +08:00
Matt Buckley
8a419466b8 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: 195990840

Test: manual
Change-Id: Idb7dad41852c71bff9b3c63d2d75849128288080
(cherry picked from commit 2dd1a62ca4)
2022-08-23 21:48:19 +00:00
ahujapalash
3550577766 Revert "p2p: fix p2p configuration"
DroidMonitor-triggered revert due to breakage - https://android-build.googleplex.com/builds/quarterdeck?branch=git_tm-qpr-dev&target=aosp_felix-userdebug&lkgb=8982522&lkbb=8982848&fkbb=8982848
BUG: b/243544635

This reverts commit 09c7a1c144.

Change-Id: Ib4b9b99d709f9a169fd1f3f081545c9220271605
2022-08-23 14:08:52 -07:00
George Lee
d09d3f8f26 Revert "thermal: remove userspace throttling for BCL tzone" am: 1c2f2a4cf2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19674193

Change-Id: I10f3a3329971fe23b45ae5f7432c44f7ec30039b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 20:52:30 +00:00
George Lee
1c2f2a4cf2 Revert "thermal: remove userspace throttling for BCL tzone"
This reverts commit 7e2cc1ebbe.

Reason for revert: Move throttling back to userspace
Bug: 239887528
Signed-off-by: George Lee <geolee@google.com>

Change-Id: I4ef3851a7163e50ed95862ba99330046634e032c
2022-08-23 19:56:31 +00:00
Jimmy Chen
09c7a1c144 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: I803badb16c67aba741b0804485a714bd5b179223
2022-08-23 16:49:20 +08:00
Yanting Yang
25d3c21b3b Update regulation e-labels for C10 and P10 am: 0a7819cede
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19698597

Change-Id: Ie5adb08903c2016ce8a6774968decd3240235b3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 21:59:29 +00:00
David Chao
47fb7d702c thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.
- Move charger pixel-thermal-symlink from common to project folder
to prevent the GKI version dependencies from blocking init.

Bug: 240897207
Test: usbc overheating protection and charging throttling worked
properly in charger.

Change-Id: I0ba3dabcc8c0c74e7e9334bc04a6fac875ac6b6c
2022-08-22 19:54:12 +00:00
Yanting Yang
0a7819cede Update regulation e-labels for C10 and P10
Update for JP SAR values.

Bug: 233569849
Test: visual
Change-Id: I525ecb9f8b7ecce407db1e00f2dbaf7919b742af
2022-08-23 02:05:02 +08:00
Wei Wang
ef7f2540fb Remove FPS boost
Bug: 241312961
Test: Build
Change-Id: I5fbdc1063d2ac0c468d2a8c5b00293adac7d4179
Signed-off-by: Wei Wang <wvw@google.com>
2022-08-20 03:35:04 +00:00
millerliang
a85e8a9faf audio: adjust the latency for av sync result
Adjust the latency for BLE audio and others for av sync result.

Bug: 241898786
Test: Play AV sync video
Change-Id: I3ed43eac0b2e3a4d7ca9e8c8003654d3b0ba4e3a
2022-08-11 19:48:02 +08:00
Wei Wang
90a43b82d6 Tune GPU dvfs period during app launch am: 801a67005d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19565331

Change-Id: I284b9ae968d186efe906521672dbd9a88c9affcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 23:03:28 +00:00
achigoliu
8928789775 Bundle handheld_core_hardware.xml
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: I3438cdf9066d306bcc1e6ab7354fab31152345a3
Merged-In: I1ef786ec0d909efce1899eb2003a88750af64af7
2022-08-10 02:47:02 +00:00
Wei Wang
801a67005d Tune GPU dvfs period during app launch
Instead of using hard-coded GPU freq, tune
DVFS period instead.

Test: Boot
Bug: 239887528
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I53415fb5c5390adace99b593495c6388b3232cd0
2022-08-09 23:53:05 +00:00
Wayne Lin
3f17240b14 gps: disable SUPL OTDOA capable for VZW am: b626d6195d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19535136

Change-Id: Ie1223354a4b74590fe64e6ec94c107202fe98655
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 03:02:33 +00:00
Wayne Lin
b626d6195d gps: disable SUPL OTDOA capable for VZW
Bug: 241526192
Test: confirm config is correct
Change-Id: I89aacf0659a9205665d5017f5f0bc25b2322698c
2022-08-08 13:06:39 +00:00
Carter Hsu
ac1b92c374 audio: fix VoIP call volume steps am: e031c2000c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19499321

Change-Id: Id4d0958bb63d5ccc23400c7a672839a9db2c5360
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-05 02:22:22 +00:00
Carter Hsu
e031c2000c audio: fix VoIP call volume steps
Bug: 240743392
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I53156f61f3cb3e00be888ab29079babc4c12a7e8
2022-08-05 02:00:03 +00:00
jonerlin
fa7c08dd0a bt: update bt bqr event mask property value am: 8090f5f733
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19516992

Change-Id: Ib9d3d876011b778639c6cf8cf5d297efb3da172d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 14:40:06 +00:00
jonerlin
8090f5f733 bt: update bt bqr event mask property value
* set BtBqrEventMaskOverride value to 262238 in bt_vendor_overlay.conf
  to disable firmware BTRT logging.

Bug: 237906721
Test: Manually
Change-Id: Ic509d750dcbbd8089df73c454d29f40bfe433716
2022-08-04 16:28:28 +08:00
Adam Shih
f9cd28b3fc Add AIDL support on IBluetoothCcc
Bug: 239658601
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I3eb04d4d9d6f5cfcd3cbbc37d6712114d520cfea
2022-08-03 09:21:49 +00:00
hsuehpingchen
26be33d900 Add powerhints for tuning of all three CPU clusters. am: 8a13703ed4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19394176

Change-Id: Ib40d516935240a2ac56cb92cb16a8b61f2a2d8ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 22:42:41 +00:00
hsuehpingchen
8a13703ed4 Add powerhints for tuning of all three CPU clusters.
Test: manual - check cpu frequency is set correctly when triggering
powerhints.

Bug: 239625337
Change-Id: I74651043ad6d84fe3a63627ce6ad0dcc7f38860a
2022-08-01 22:17:08 +00:00
Sam Ou
1d88ba8eca power_profile: update modem power numbers am: c440217900
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19415708

Change-Id: I9581e48757ff6362cb6efbd6fe5476f02a0a2f9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 04:31:39 +00:00
Sam Ou
c440217900 power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ie685e86feeb0ed3719b5cdebccd0a2218e2a2a6d
(cherry picked from commit 8d5dc506a7)
2022-08-01 03:07:25 +00:00
Stephane Lee
c1e41def35 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: Ifdd0f70ccd69f9c239c7c70ac43db5fd3631be42
Merged-In: Ifdd0f70ccd69f9c239c7c70ac43db5fd3631be42
2022-07-28 20:01:51 +00:00
Beverly
1a1f44c185 Update udfps burn in vertical translation am: ea44163534
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19429533

Change-Id: I2d47bf24339dfa268fd5974bd497688f224eaa22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 23:13:23 +00:00