Commit graph

672 commits

Author SHA1 Message Date
Cyan_Hsieh
ab8bb8b093 Update SVN to 7 am: 376bde93d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/20108128

Change-Id: If5d4428a7d0f04d1798334678712a90780975fe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 04:32:12 +00:00
Cyan_Hsieh
376bde93d1 Update SVN to 7
Bug: 251321639
Change-Id: I30dcdc1a550b2a4baca594f81211db053d219f53
2022-10-06 10:47:58 +08:00
Rick Yiu
aca421cae4 Limit camera daemon cpuset to little cores when app launch
When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset of camera daemon to little cores for 1 second when there is app launch hint to improve it, but cancel it right away when there is camera launch hint. Also bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: Ieeafb0d96fbce1b7a97df0e554bd2223529bf1ed
2022-10-04 03:49:41 +00:00
Bill Yi
f51f546774 Update QualifiedNetworksService apk owner am: 4c2b8b3824
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/20084006

Change-Id: I2bec0a15e959800e5cad6e50f1d748b307c31e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 23:37:18 +00:00
Bill Yi
4c2b8b3824 Update QualifiedNetworksService apk owner
BUG: 217478568
Change-Id: I88ed88635f0851f3d97c6b9cdba2207586941d45
(cherry picked from commit f3cdab9894)
2022-09-29 18:39:39 +00:00
Bill Yi
f3cdab9894 Update QualifiedNetworksService apk owner
BUG: 217478568
Change-Id: I88ed88635f0851f3d97c6b9cdba2207586941d45
2022-09-28 20:23:58 -07:00
Ali K. Zadeh
b9882dd134 Powerhint update containing PMU and EM_Profile tuning for 30FPS
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 for 30FPS use cases.

Bug: 235147585
Test: ODPM and framedrop tests
Change-Id: I5eb4a6c658a4afdfca6405c106cc2c2542d2c316
2022-09-23 22:31:31 +00:00
Taeju Park
522230b792 Fixing PMU setting and cleaning up powerhint
Bug: 235147585
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I5b9d7808e97956716b48ef7861b0abf4d4fae176
2022-09-23 21:59:42 +00:00
Taeju Park
599eee8a8b Relax CPU minimum frequency boost for LAUNCH_CAMERA
Bug: 245565600
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Ib1193ad825dd14d9f6114e3d39fc79c83aed1a29
2022-09-23 21:51:13 +00:00
Krzysztof Kosiński
bd91baeff9 Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: I34e6a72252b1606cf93fa7b0f682fc37c16b708e
Merged-In: I34e6a72252b1606cf93fa7b0f682fc37c16b708e
2022-09-23 20:32:08 +00:00
Evan Laird
9f9a33218c Update device corners and holepunch
This CL updates the paths for the corners as
well as small adjustments to the front-facing holepunch camera.

Test: adb shell setprop debug.screenshot_rounded_corners 1 // then restart sysui
Bug: 238416581
Change-Id: Idfe83b9732b30a8fff92ed1eb5bc8959ab1526eb
2022-09-23 20:24:07 +00:00
Taeju Park
8c8bbf87f9 Add Ownership to powerhint files
Bug: 248115959
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I19f5cfa60637c1763ecd6ece90971f9a5d71e27d
2022-09-23 16:50:08 +00:00
Carter Hsu
3e5292e267 audio: allow Fortemedia to notify setting to CCA
Bug: 237720492
Test: voice-call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1a0cfc5511beddb153c7c627f691bdf53b457b5d
2022-09-23 02:53:09 +00:00
Ali K. Zadeh
0d7de12563 Increase MIF frequency for 30fps (C10, P10), and 60fps (P10)
This CL increases MIF frequency for C10, P10 device in 30fps mode in order to
improve CPI, as well as P10 in 60fps mode (C10 for 60FPS was previously
addressed in ag/19263388). Although the MIF power consumption increases due to this
change, but the reduction in CPU cycles results in over-all SoC power saving.
This change also doesn't negatively impact framedrop rate.

Bug: 239240751
Test: ODPM and framedrop tests
Change-Id: I0454e25bd8687b6378016f14990935ff03e7a38b
2022-09-23 01:56:53 +00:00
Carter Hsu
5a36f8aa24 audio: update CCA default setting
Bug: 248151108
Test: test build with default off is verified at b/248151108#comment3
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If087f61dc3bcd143e34211f63e42484b42df29bf
2022-09-23 00:49:19 +00:00
Carter Hsu
6bfef6ec31 audio: Update Fortemedia tuning for QPR1
1. HH:
      a) fine-tune FFP parameter in NB/WB/SWB
      b) Align same parameter:  Handsfree RX to HCO RX

Bug: 247914164
Test: Acoustic team verified b/247914164#comment4
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia1bac933cd2998c76316c3a599a23c4d5dced04c
2022-09-23 00:49:01 +00:00
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