Commit graph

706 commits

Author SHA1 Message Date
Richard Chang
24ce7737d9 powerhint: clean up unused hints in C10/P10
INTERACTION and LAUNCH_120FPS are removed but some actions still use them.

Bug: 246738037
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t
com.google.android.perf.pts.PowerHintJsonVerifyTest

Change-Id: I204954dcd890c871ae6f663e0fd9ce8df37efd42
2022-09-21 23:04:54 +00:00
Cyan_Hsieh
0c135c5737 Update SVN to 6 am: 072126cd46
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19998572

Change-Id: I3cfbb328cc5219ad1a73d920248fbcfb4f5500d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21 22:25:48 +00:00
Patty Huang
9177744d65 Remove 32k capability due to controller bandwidth concern
Bug: 237991066
Test: Checks the 32k configuration is not supported in offload path.
Test: Checks the later join case, both earbud have sound, and the active
CIS doesn't need to do the reconfiguration when the other bud connected.

Change-Id: I47f6f70b86ed9e39a1d7a29c64672f2eb2b76692
2022-09-21 14:09:18 +00:00
Yanting Yang
91666d4280 Update regulation e-labels for C10 and P10
Support the WiFi 6E enablement in JP.

Bug: 245993470
Test: visual
Change-Id: I6b881932baf17d3c06ab0919f368bf092cd338cd
2022-09-21 09:55:32 +00:00
Cyan_Hsieh
072126cd46 Update SVN to 6
Bug: 247537570
Change-Id: I6277dd3637721bf16dca78dbe3b591dbdd75bb95
2022-09-21 11:40:51 +08:00
Ali K. Zadeh
e336765556 Powerhint update containing PMU and EM_Profile tuning
Using PMU feature together with Energy Metric (EM) profile is shown to
have benefits in terms of power, without increasing the framedrop rate.
This CL addes necessary changes to the powerhint files to activate both
features for P10 and C10 device.

Bug: 235147585
Test: ODPM and framedrop tests
Change-Id: I64048cc1c1ad948619dd56ebac0b3af263ab0733
2022-09-20 21:18:29 +00:00
vincenttew
4d0d8925d9 audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I1c3e3f68aa63acbc520ddf5f758615c99f1ef9f8
2022-09-20 15:20:09 +00:00
Ilya Matyukhin
55fdb7f923 p10: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I198e4991e06951e0b324726649c9e967e8aac6fb
Merged-In: I198e4991e06951e0b324726649c9e967e8aac6fb
2022-09-19 23:50:26 +00:00
Ilya Matyukhin
6262c7c945 c10: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I1ef0a67006d57cafa2e7a74c70b0cd176a094c2d
Merged-In: I1ef0a67006d57cafa2e7a74c70b0cd176a094c2d
2022-09-19 23:50:26 +00:00
Sayanna Chandula
b2276fb72d Revert "thermal: remove gxp cooling device dependency"
This reverts commit af3528b903.

Re-enable gxp cooling device

Bug: 238273184
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I6e7eac3f8b15fffccbf64c80f8af7866b9397e4f
Merged-In: I6e7eac3f8b15fffccbf64c80f8af7866b9397e4f
2022-09-19 20:33:06 +00:00
shihchienc
a70d7022f0 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: I23ac69ef5770a6e471a70f18205c027f2976af16
Merged-In: I23ac69ef5770a6e471a70f18205c027f2976af16
(cherry picked from commit e559a93d8f690bbe811f8316f61a100964313bfc)
2022-09-19 14:40:49 +00:00
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