Commit graph

2864 commits

Author SHA1 Message Date
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
Bob Badour
e0e5aeb655 Declare license metadata for copied files. am: 31f01a6dbc am: 6ccf6f5590 am: 2a7ecd8377
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1984819

Change-Id: I8e18057aa7a5598d4ede5b9106b5a1189ae34e6a
2022-02-15 01:24:33 +00:00
Bob Badour
2a7ecd8377 Declare license metadata for copied files. am: 31f01a6dbc am: 6ccf6f5590
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1984819

Change-Id: Ib480d488e2a1c3236773c0b2087689e3f799b14b
2022-02-15 01:12:43 +00:00
Bob Badour
6ccf6f5590 Declare license metadata for copied files. am: 31f01a6dbc
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/1984819

Change-Id: I6a91458601c8797faf916180688a0b3ddbcd2317
2022-02-15 00:48:51 +00:00
Xin Li
369f8eea73 [automerger skipped] Merge SP2A.220305.012 am: 00c49c5e00 -s ours am: 7d5b3a111b -s ours
am skip reason: Merged-In I834fb190f857c5af462ed4a5e64576fee0010e3e with SHA-1 e905dce4e7 is already in history

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

Change-Id: Iccbed36a105261118994e08667a2e2c9e723e890
2022-02-15 00:35:22 +00:00
Xin Li
7d5b3a111b [automerger skipped] Merge SP2A.220305.012 am: 00c49c5e00 -s ours
am skip reason: Merged-In I834fb190f857c5af462ed4a5e64576fee0010e3e with SHA-1 e905dce4e7 is already in history

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

Change-Id: Ic9164328822d60c7acedd3bc11a7e6d60e72a7cc
2022-02-15 00:14:49 +00:00
Android Build Coastguard Worker
1d15dabd1f Merge cherrypicks of [16853284, 16850708] into sc-v2-release.
Change-Id: Iac8e7b1ad89349b2d3a78030a6cc5dfeb6317b35
2022-02-14 23:13:52 +00:00
Bassem Khalife
3db959003d Update Oriole SVN to 24
Bug:  216579780
Change-Id: Ia3cb387c957050ef6828e2d5a439965e8c060bcc
(cherry picked from commit d9503819a3)
Merged-In:Ia3cb387c957050ef6828e2d5a439965e8c060bcc
2022-02-14 23:12:15 +00:00
Bassem Khalife
25708fffba Update Raven SVN to 24
Bug:  216579780
Change-Id: I720927230b25d9a531bc884d280c461e3ada0b74
(cherry picked from commit 6cb30bddce)
Merged-In:I720927230b25d9a531bc884d280c461e3ada0b74
2022-02-14 23:12:13 +00:00
Bob Badour
31f01a6dbc Declare license metadata for copied files.
Bug: 151177513

Test: m all dist reportmissinglicenses
Change-Id: I0e039d0535f03a73e87de2bc8b6f110df195c34a
2022-02-14 12:39:19 -08:00
Xin Li
00c49c5e00 Merge SP2A.220305.012
Bug: 219523960
Merged-In: I834fb190f857c5af462ed4a5e64576fee0010e3e
Change-Id: Idcec676925a93936e6f8146d1c3e553d7337bf9f
2022-02-14 19:59:10 +00:00
Xin Li
d240f6347b [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: d97e64e30e -s ours am: d7d97f690f -s ours
am skip reason: Merged-In Icf9126f27d81486847d07224a49f92c19e4a49d5 with SHA-1 db13b85d51 is already in history

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

Change-Id: I13eef1c143cd02168db8ec6c1c9df671dc603351
2022-02-14 18:21:03 +00:00
Xin Li
d7d97f690f [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8084891 am: d97e64e30e -s ours
am skip reason: Merged-In Icf9126f27d81486847d07224a49f92c19e4a49d5 with SHA-1 db13b85d51 is already in history

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

Change-Id: Ie59bc27ae2dbf7b27dddca8749513f026ed0d1bb
2022-02-14 18:03:39 +00:00
Wei Wang
e14219d95d Change restricted cpuset dynamically
Currently framework put tasks into restricted cpuset group when display
is off. However, when unlocking screen, SystemUI still runs in
restricted cpuset group leading to jank and delayed UDFPS action. This
CL mitigates problem by dynamically changing restricted cpuset group to
all cpus when display is back on.

Bug: 217481359
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I2155a81e68745df6a86d405eccb4952a432b6906
2022-02-14 07:45:24 +00:00
Xin Li
90237b7f47 Fix typo in template. am: c5c5ee1965
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16859199

Change-Id: I791d6784541d2caa3b50642fd3c98add1efceb8b
2022-02-13 03:46:55 +00:00