Commit graph

745 commits

Author SHA1 Message Date
Sayanna Chandula
5144606e74 thermal: update shutdown thresholds for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: Id42cd4df7f2af117c1c574f1cfac9a53e0cb7586
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-11-14 23:50:46 +00:00
Kyle Lin
84ba46f093 powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I95031b5aa1d19f618bc3321679015c9be76fdbea
2022-11-14 12:21:56 +08:00
Steve Berbary
ac6db324ef Update cheetah SVN to 11
Bug: 258811679
Change-Id: Ia500a18b451d62522ce9550a95d12fd8f4f4fec8
2022-11-11 19:58:10 +00:00
Steve Berbary
cdb75cbc48 Update panther SVN to 11
Bug: 258811679
Change-Id: I607fdc9c2a084f332916acfd769ee81872f68dcd
2022-11-11 17:41:52 +00:00
Bassem Khalife
ad488af3de Update cheetah SVN to 10
Bug: 250644806
Change-Id: Iaccac116abee988fa5256c8a6eca075d3ae13673
2022-11-11 05:19:30 +00:00
Bassem Khalife
a9005024b4 Update panther SVN to 10
Bug: 250644806
Change-Id: I123f62591824280b6a37f1035cd38658fe3b725f
2022-11-11 05:12:44 +00:00
Carter Hsu
5de61efa21 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I155847d663e3b2c887ef13cc66554f9ed3e35418
2022-11-11 01:50:19 +00:00
millerliang
ef2aca58fb audio: remove spatial audio configuraion in speaker path
Remove spatial audio configuration in speaker path
to match the rule.

Bug: 247415765
Test: spatial audio playback
Change-Id: Ib6de42e0cf9b97fb47781eb4fee9541c841b89c3
2022-11-07 07:26:44 +00:00
Vincent Wang
fb9933ceb5 Move fingerprint and face haptic form server to sysui(2/3)
BUG: 237621645
Test: Check the vibrator work normally when using biometric unlock
Change-Id: Ib64abdff6a6e3eec2ead03849cf37b8fdcf0750e
Merged-In: Ib64abdff6a6e3eec2ead03849cf37b8fdcf0750e
(cherry picked from commit 41969d9eab)
2022-11-03 06:19:52 +00:00
Jean-Michel Trivi
ef8c3d4564 Revert "Disable Spatial Audio [ DO NOT MERGE ]"
This reverts commit 8dce1c1ea9.

Reason for revert: disabling was temporary

Change-Id: Iaf78952b28144c17cd62f16f7e52e71a32b8084f
2022-11-01 00:02:21 +00:00
Steve Berbary
cf07306177 Update panther SVN to 9
Bug: 250644806
Change-Id: I3ecd80d7f49391b96fdb074b1663674943de1ebe
2022-10-31 21:31:40 +00:00
Steve Berbary
ac6dd5ce3c Update cheetah SVN to 9
Bug: 250644806
Change-Id: I9861ee4ac6903d6ac64422e0d02b77e04c466415
2022-10-31 17:24:13 +00:00
Jean-Michel Trivi
8dce1c1ea9 Disable Spatial Audio [ DO NOT MERGE ]
Bug: 256169331
Test: sound setings do not show spatial audio option
Change-Id: Ic8937969ff220adbd2dbb445f013dfae7380f46b
2022-10-28 19:26:25 +00:00
kuanyuhuang
1eda2f37e7 BT: add sysprop to enable OPUS codec
Add new system proprty persist.bluetooth.opus.enabled to
indicate devices enable OPUS codec.

Bug: 254609888
Test: atest net_test_stack:A2dpCodecConfigTest#init
Change-Id: I3741ea42b5513ae1dd0cb7609301953a13861293
2022-10-28 08:24:40 +00:00
Shawn Lin
a9187a3fae Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I6baa011224ea366821d4c665bb19da0842106ace
2022-10-27 06:37:23 +00:00
Rick Yiu
ae3830af1b 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. This only happens when camera is running. Also bypass
this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: Idc01944eda94240d14b69f64da1e7620195912a0
2022-10-19 20:33:59 +00:00
Isaac Chiou
a54647c4fe Enable SAE upgrade offload
Update wifi overaly to enable WPA2 to WPA3 auto-upgrade offload
to capable Driver/Firmware.
With this feature enabled, Pixel can support cross akm roaming.

Bug: 236096597
Bug: 236098039
Test: AU drop test
Test: Roaming and connection test (go/cross-akm-roaming)
Change-Id: Ie6dd4180e2a68a39cc20bd7c4dd8fec13eb05a2b
2022-10-17 10:36:21 +00:00
shihchienc
0b95edea78 Change config path for LE Audio Capabilities file
Since there is no different setting for sub project under same prohject,
we will change the setting file from `bluetooth/project/` to
`bluetooth/` to simplify the file structure.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I1b0d6a2107f5d69fd7bf650bad314e920810c156
Merged-In: I1b0d6a2107f5d69fd7bf650bad314e920810c156
(cherry picked from commit 6f30806b78)
2022-10-11 09:00:59 +00:00
Steve Berbary
f995ca64b8 Update cheetah SVN to 8
Bug: 250644806
Change-Id: I9a15b7fa07a53c319b9792d6ee8ae6af467f5ec1
2022-10-06 23:23:14 +00:00
Ali K. Zadeh
77108d67e3 Fixing regression in HDRnet latency due to PMU/EM profile feature activation in 30fps
A recent change (ag/20028064) has caused regression in HDRnet latency
due to activation of PMU feature and EM profile in 30fps. To mitigate this regression, this CL disables EM Profile and PMU features during the capture time (also increasing the boost profile duration from 1000ms to 2500ms).

Bug: 249665681
Test: HDRnet latency from perfetto trace
Change-Id: I892c9ea2e9b004cb4e47d10f61bc8fbf756682a7
2022-10-06 23:21:10 +00:00
Ali K. Zadeh
810337a8f7 Disable PMU at the start of camera launch
A recent change (ag/20028064) has caused regression in GCA launch
time due to activation of PMU at the camera launch time, and capping the
CPU frequency. This CL prevents PMU activation for as long as we are in
powerhints or power-boosts related to camera launch (LAUNCH, CAMERA_LAUNCH,
CAMERA_LAUNCH_EXTENDED).

Bug: 248718485
Test: Perfetto trace
Change-Id: I6d88e4ccaf6790578223202ee69c105360cfc559
2022-10-06 21:33:08 +00:00
Steve Berbary
56b9136fdc Update panther SVN to 8
Bug: 250644806
Change-Id: Ib00528431082725eace045951b747524bd87136a
2022-10-06 21:22:27 +00:00
Rick Yiu
e2c032d180 Revert "Limit camera daemon cpuset to little cores when app launch"
This reverts commit aca421cae4.

Bug: 250900659
Change-Id: I835357599e4f97cbfc8259c4e0efcf4ea5d5826e
2022-10-06 20:09:17 +00:00
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