Commit graph

2725 commits

Author SHA1 Message Date
Eric Laurent
809f946ced DO NOT MERGE Audio configuration for spatial audio
Update audio policy and effect configuration files to
support spatial audio feature

Bug: 189423448
Test: make
Change-Id: I2274fb4784eef5e28cadd9f33c38fdbbe60f6b40
2022-03-09 09:55:38 +00:00
Presubmit Automerger Backend
bd9be1e8d0 [automerge] DO NOT MERGE audio: add immersive output 2p: 4cdaad5998
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16875529

Bug: 189423448
Change-Id: Ie9fae7ae4f65ce8cac83cdabcc4440511e85eda4
2022-03-09 09:54:44 +00:00
justinweng
4cdaad5998 DO NOT MERGE audio: add immersive output
Bug: 189423448
Test: build passed.

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I0a14bd264fb79f56698ab626bd71af7f72e9fff8
2022-03-09 09:54:35 +00:00
Lais Andrade
24fbb9f7c1 Update notification PWLE patterns to a higher frequency range am: 25c80c8cca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17121484

Change-Id: I84cf092bc263e9679ed55eb9debecb6b54afb7d0
2022-03-09 00:26:22 +00:00
Lais Andrade
25c80c8cca Update notification PWLE patterns to a higher frequency range
Make pattern vibrate on a higher frequency range to increase the overall
vibration intensity and make the notification vibration more noisy when
the phone is on a solid surface, to address user feedback.

Bug: 210535717
Test: manual
Change-Id: Ic7d97d35e271b23e34dde8afb92dfcee29e7563a
2022-03-08 16:16:28 +00:00
Lais Andrade
9c95418b7e [automerge] Revert notification patterns to default pre-S ones [DO NOT MERGE] 2p: ba9024c780
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17104488

Bug: 210535717
Change-Id: I93419b8a92910c3b0ec01c8f6087c5616877f166
2022-03-08 16:07:49 +00:00
Lais Andrade
ba9024c780 Revert notification patterns to default pre-S ones [DO NOT MERGE]
Bug: 210535717
Test: manual
Change-Id: I6ead011f1cc28ea0c061941ab1665ed8250c3784
2022-03-08 16:07:40 +00:00
Xin Li
8e12fc6834 [automerger skipped] Merge Android 12L am: be6cc41c00 -s ours am: 958a73f96b -s ours
am skip reason: Merged-In I6a91458601c8797faf916180688a0b3ddbcd2317 with SHA-1 6ccf6f5590 is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2013245

Change-Id: Ic8236febde0e7f70703d252c51332aa05df3af67
2022-03-08 11:03:58 +00:00
Xin Li
958a73f96b [automerger skipped] Merge Android 12L am: be6cc41c00 -s ours
am skip reason: Merged-In I6a91458601c8797faf916180688a0b3ddbcd2317 with SHA-1 6ccf6f5590 is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2013245

Change-Id: I16ef9df00edf0cc13865692f6655f7df69cfcb85
2022-03-08 10:19:07 +00:00
Presubmit Automerger Backend
ec869320a2 [automerge] Update oriole SVN to 25 2p: 380c525541
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17110451

Bug: 223313197
Change-Id: I8833fd156f58c45d87cb1f8af7f51b74eea2bec1
2022-03-08 06:13:15 +00:00
Steve Berbary
380c525541 Update oriole SVN to 25
Bug:  223313197

Change-Id: Iff092322df7a366281dcf89d8c9987064b6347f8
2022-03-08 06:13:09 +00:00
Xin Li
be6cc41c00 Merge Android 12L
Bug: 222710654
Merged-In: I6a91458601c8797faf916180688a0b3ddbcd2317
Change-Id: Ib7f74487454ac2e14f55769d5063028d1a94b2da
2022-03-08 00:15:29 +00:00
Presubmit Automerger Backend
7de1b142a1 [automerger skipped] [automerge] [ DO NOT MERGE ] Enable user_vote_bypass for UDFPS and face unlock 2p: 9156a09217 am: 16df52854b -s ours am: 3063576cb3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17054687

Change-Id: I493bfa91ddc6dd32c7d2be9c3100f5a7de372ba5
2022-03-07 19:52:24 +00:00
Alice Kuo
c5b1503cbe Add the audio policy for le audio offload am: 86c6fb37be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17076237

Change-Id: Ib9792d4897dbc68305b6bc8a8f8746223c823ef3
2022-03-07 19:52:02 +00:00
Yung Ti Su
b49266d97f Seperate audio_policy_configuration for a2dp and le am: 4a8903fb24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17070005

Change-Id: I0bfe9d1e86d97d986f4094b29b21f3e98b7ba469
2022-03-07 19:51:58 +00:00
Alice Kuo
b1820b6831 Add LE audio hardware offload property am: 8ee4619b23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17085324

Change-Id: I56f629c284fab2b0fc5a216d94b96fc05d62ebf3
2022-03-07 19:51:57 +00:00
Presubmit Automerger Backend
3063576cb3 [automerger skipped] [automerge] [ DO NOT MERGE ] Enable user_vote_bypass for UDFPS and face unlock 2p: 9156a09217 am: 16df52854b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17054687

Change-Id: I5700fe179c57decd434e135e54694a903b710b78
2022-03-07 19:40:20 +00:00
Alice Kuo
86c6fb37be Add the audio policy for le audio offload
Bug: 197296692
Test: verify media with HW and SW path pass
Change-Id: If32d85e67822777e040aa6542849a7889e538e18
2022-03-07 16:34:17 +00:00
Yung Ti Su
4a8903fb24 Seperate audio_policy_configuration for a2dp and le
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == true
use audio_policy_configuration_a2dp_offload_disabled.xml (a2dp X LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
(ro.bluetooth.leaudio_offload.supported == false OR persist.bluetooth.leaudio_offload.disabled == true)
use audio_policy_configuration_le_offload_disabled.xml (a2dp O LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
ro.bluetooth.leaudio_offload.supported == true AND persist.bluetooth.leaudio_offload.disabled == false
use default audio_policy_configuration.xml (a2dp O LE O)

Note:
The above settings are based on ro.bluetooth.a2dp_offload.supported == true condition
If ro.bluetooth.a2dp_offload.supported == false, the content of the default audio_policy_configuration.xml file must be replaced by audio_policy_configuration_a2dp_offload_disabled.xml on the target

Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ibea329bb5b7d24b18ed3e915c9e7306729b17dfd
2022-03-07 16:34:09 +00:00
Presubmit Automerger Backend
16df52854b [automerge] [ DO NOT MERGE ] Enable user_vote_bypass for UDFPS and face unlock 2p: 9156a09217
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17054687

Bug: 221173040
Change-Id: I074d187df907a12898d27a0b649026cc796f47f5
2022-03-07 16:11:58 +00:00
TeYuan Wang
9156a09217 [ DO NOT MERGE ] Enable user_vote_bypass for UDFPS and face unlock
Bug: 221173040
Test: Do FP unlock and confirm the user_vote can be bypassed
Change-Id: Ic8a727659c88a6a2abac2cc01865a07b23d16d29
2022-03-07 16:11:43 +00:00
Alice Kuo
8ee4619b23 Add LE audio hardware offload property
Add these property for the development on userdebug and eng only on P21.

Bug: 197296692
Test: verify media with HW and SW path pass
Change-Id: Id967269a555056e958c3f0b7b6d26c4b7ec81efc
2022-03-07 10:39:47 +00:00
Aaron Ding
709efd7dec [automerge] add oriole and raven to COMMON_LUNCH_CHOICES 2p: 25d0ee4273 am: c7ba83f5ea am: 27acfdc025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17070128

Change-Id: Ie85af7b35fcd143f292eb147cda3826af40bfdf1
2022-03-04 08:18:07 +00:00
Aaron Ding
27acfdc025 [automerge] add oriole and raven to COMMON_LUNCH_CHOICES 2p: 25d0ee4273 am: c7ba83f5ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17070128

Change-Id: I958ff3629e180e2f436fd12dfe13c3a5b8360d18
2022-03-04 07:57:22 +00:00
Aaron Ding
c7ba83f5ea [automerge] add oriole and raven to COMMON_LUNCH_CHOICES 2p: 25d0ee4273
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17070128

Bug: 222382030
Change-Id: I71224e03727bd1040fd9d3f03672b524e8676696
2022-03-04 03:22:27 +00:00
Aaron Ding
25d0ee4273 add oriole and raven to COMMON_LUNCH_CHOICES
Bug: 222382030
Change-Id: Ife8f6ff24d8f01401a7d8a2fc5fe05f8cd1c4be1
(cherry picked from commit 69b60dfbfe)
2022-03-04 03:22:17 +00:00
Aaron Ding
9fc3f47fa3 add oriole and raven to COMMON_LUNCH_CHOICES am: 69b60dfbfe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17067684

Change-Id: I1eb271b57d4ba700869381218d94610048e1d14a
2022-03-03 12:54:33 +00:00
Aaron Ding
69b60dfbfe add oriole and raven to COMMON_LUNCH_CHOICES
Bug: 222382030
Change-Id: Ife8f6ff24d8f01401a7d8a2fc5fe05f8cd1c4be1
2022-03-03 18:09:54 +08:00
George Lee
b331ee43c8 [automerge] thermal: Reduce DVFS throttling per BCL irq 2p: d3451ed575 am: 186d31190e am: fd200a8a5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16989015

Change-Id: Ia6f9eacf62a167d05cfad0ce0899060bab097235
2022-03-02 03:18:21 +00:00
George Lee
fd200a8a5b [automerge] thermal: Reduce DVFS throttling per BCL irq 2p: d3451ed575 am: 186d31190e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16989015

Change-Id: Ib0f0c55d3889a00d382747e017de1319457c628e
2022-03-02 02:57:26 +00:00
George Lee
186d31190e [automerge] thermal: Reduce DVFS throttling per BCL irq 2p: d3451ed575
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16989015

Bug: 221077697
Change-Id: Ie79d162c94c9ceb347040866a660736f3c067d13
2022-02-26 21:30:42 +00:00
George Lee
d3451ed575 thermal: Reduce DVFS throttling per BCL irq
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia5d8cdbb1a0bff5baff56a81732b4a396189a10b
2022-02-26 13:30:05 -08:00
Kyle Lin
6182715b6c powerhint: release BC max frequency when launching am: 1b50d53257 am: 0ed8874c8c am: c2c9278504
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Change-Id: Ida0802699f0d6510e7512ac2a6d94a6aeebd351c
2022-02-25 12:13:05 +00:00
Kyle Lin
c2c9278504 powerhint: release BC max frequency when launching am: 1b50d53257 am: 0ed8874c8c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Change-Id: I01dd52cd699e90caa81e20f82a2c63f9e662083d
2022-02-25 11:50:44 +00:00
Kyle Lin
0ed8874c8c powerhint: release BC max frequency when launching am: 1b50d53257
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Change-Id: I9de5c4293f1a66e8a5f2bbb78a9a9eabac139f0d
2022-02-25 11:26:54 +00:00
YiHo Cheng
bd59ef8de3 powerhint: Update LITTLE control temp value am: eb18287f78
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16937208

Change-Id: Iebbc935403b53f2f5044f3ae4e380a7701681ede
2022-02-18 17:02:09 +00:00
YiHo Cheng
eb18287f78 powerhint: Update LITTLE control temp value
Align LITTLE control temp default value 95C as gchip team recommendation

BUG: 220076055
Test: check LITTLE switch_on_temp/contrl_temp can be updated via
thermal_stress.sh correctly.

Change-Id: I7b5cd3efd9d968884cbdd954ccf921574368ee9e
2022-02-18 07:17:35 +00:00
TreeHugger Robot
c68ce0c2f7 Merge changes from topic "release_bc_max_freq_sc_v2" into sc-v2-dev-plus-aosp am: a588887a4f am: 316dd86eda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Change-Id: I531b6e0b9e9384a2a739a5a301e04b44c80d2bdb
2022-02-18 05:16:43 +00:00
TreeHugger Robot
316dd86eda Merge changes from topic "release_bc_max_freq_sc_v2" into sc-v2-dev-plus-aosp am: a588887a4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Change-Id: I37186acae631f0161d31fddab8c18bba2edc7d34
2022-02-18 04:37:49 +00:00
Kyle Lin
1b50d53257 powerhint: release BC max frequency when launching
Bug: 218459805
Test: Build and Trace
Change-Id: If95011f396d40726dbb58f68df00c4f13627ceaa
Signed-off-by: Kyle Lin <kylelin@google.com>
2022-02-17 05:39:03 +00:00
TreeHugger Robot
a588887a4f Merge changes from topic "release_bc_max_freq_sc_v2" into sc-v2-dev-plus-aosp
* changes:
  [automerge] powerhint: release BC max frequency when launching 2p: ac252d338b
  powerhint: release BC max frequency when launching
2022-02-17 05:39:03 +00:00
SianyiHuang
b1ab14ebb1 Config: fine tune the ambient threshold to improve the brightness am: 5d41f2aaa9 am: f4ac530add
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16660935

Change-Id: Ieca1e0d100b53fc0a87f1f780933f6299f511602
2022-02-16 16:56:34 +00:00
SianyiHuang
f4ac530add Config: fine tune the ambient threshold to improve the brightness am: 5d41f2aaa9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16660935

Change-Id: I9ae6c18259613c3d682f9e9ba5005f76736c8c13
2022-02-16 16:51:48 +00:00
Chris Kuiper
2a08ff2983 Merge changes from topic "better-autobrightness-in-qpr3" into sc-v2-dev-plus-aosp am: ad141762cc
Original change: undetermined

Change-Id: I97940c2e4409e30fca67dc2cde3e47baaa273ca7
2022-02-16 16:51:39 +00:00
SianyiHuang
5d41f2aaa9 Config: fine tune the ambient threshold to improve the brightness
stability

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a
2022-02-16 16:32:05 +00:00
Chris Kuiper
ad141762cc Merge changes from topic "better-autobrightness-in-qpr3" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Config: fine tune the ambient threshold to improve the brightness 2p: 14150a77b9
  Config: fine tune the ambient threshold to improve the brightness stability
2022-02-16 16:32:05 +00:00
Kyle Lin
10fad0b035 [automerge] powerhint: release BC max frequency when launching 2p: ac252d338b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16844521

Bug: 218459805
Change-Id: I108a1df8cc6d6594f22fa2ab9bd9dad604701ed6
2022-02-16 09:26:40 +00:00
Wei Wang
cd290ec329 Do not initialize restricted cpuset during boot.
Bug: 219518509
Bug: 217481359
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I4f62c118fe9280cadb85f6fde75016c109b1b3f9
2022-02-16 02:57:39 +00:00
shawnlin
6c363973fc Add no cutout overlay packages for raven & oriole
Bug: 217772613
Test: make
Change-Id: I097081fa87a87f034725f44599f9e575b8e00a80
2022-02-16 02:24:49 +00:00
Victor Liu
f844946328 uwb: remove calibration script
The calibration script will be copied higher level device uwb.mk

Bug: 219611318
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9f799d9a9655b172e1ace8fa0272644f0034b8b5
2022-02-15 19:52:43 +00:00