Commit graph

121 commits

Author SHA1 Message Date
Jing Ji
ba78c78d87 Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.

Bug: 203105544
Test: dumpsys activity -a
Change-Id: I086b202c99d65472d143ee695b6c81d1c1897f70
2022-05-13 18:01:56 +00:00
Jason Chang
3b29f815ee Phase out config_roundedCornerMultipleRadius from overlay package
[O6/R4]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit tes
Change-Id: Ie0b0c7b9e3591f11e4a481440943cf0a8b328340
2022-04-21 06:17:44 +00:00
Jason(HeWei) Sung
7e6b11e758 Revert "Enable load kernel modules in parallel"
Revert submission 17690765-r4o6b3_parallel_load_enable

Reason for revert: b/229115072
Reverted Changes:
I387f425b1:Enable load kernel modules in parallel
I374a25b3c:Enable load kernel modules in parallel
Ia13bcadd9:Revert "Revert "fix path for i2c peripheral device...

Change-Id: Ie2550a1265b95e986305497faf56a47bf57a5d9b
2022-04-19 05:32:10 +00:00
shawnlin
8142ccbe43 [automerge] Update status bar height res to correct size 2p: fb9b9c83c4 am: b079c10eb3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17686747

Change-Id: Id2331d2e592e977747e7c7e74992415f8f511748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 02:35:46 +00:00
chungkai
36e728a381 Enable load kernel modules in parallel
only enable for launched project.

Test: boot to home screen without error and avc denials on R4/O6
Bug: 180676019
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I374a25b3c7debcf8a268e62f939a7909b31fe1e8
2022-04-11 09:21:28 +00:00
shawnlin
fb9b9c83c4 Update status bar height res to correct size
Test: make
Bug: 216782082
Change-Id: Ibc23f990e4fda040a86b52f78effce6da0235931
2022-04-11 11:52:09 +08:00
shawnlin
a8eb458e82 Fixed status bar glitch for apps that access internal resource dimen am: ab0dbdbc86 am: b355d1cd2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17529726

Change-Id: I65f3b15310129858d8a1d526ed748f5c7b744f9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:21:39 +00:00
shawnlin
ab0dbdbc86 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I05142c120f05bdb5fa0543e61a6f50f46f6b0d82
2022-04-07 13:33:27 +00:00
Lais Andrade
2cd7779f90 Revert notification patterns to default pre-S ones
Fix: 210535717
Test: manual
Change-Id: I6ead011f1cc28ea0c061941ab1665ed8250c3784
(cherry picked from commit ba9024c780)
2022-03-23 14:31:50 +00:00
Gary Jian
8e1b6a6f1c Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: Iad7af99ce56714001e0a35bd092b491af52ffdf2
2022-03-16 14:25:55 +00:00
Lais Andrade
e7fc69f520 Revert "Update notification PWLE patterns to a higher frequency range"
This reverts commit 25c80c8cca.

Reason for revert: This frequency range is still unstable, needs to be validated before it can be used.

Bug: 223739586
Change-Id: Id3853b1041d441f80b19965f5875040f2aabb8ab
2022-03-14 08:01:55 +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
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
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
samou
cbc19f8cb5 power_profile: Correct CPU topology and power number for P21
Bug: 214127772
Signed-off-by: samou <samou@google.com>
Change-Id: I97273304126fd395ec2feafc002d91bdbac37dd7
2022-02-08 01:45:26 +00:00
Yohei Yukawa
504fe7e8ca Migrate "rounded_corner_content_padding" for raven/oriole
This CL updates resource overlay of

  rounded_corner_content_padding

for raven/oriole so that the same device-specific value can be seen
from both the Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: Id95b8c063ece7eb43d91f96afe21b4fb01e8b489
2022-01-28 12:03:33 -08:00
SianyiHuang
14150a77b9 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-01-21 07:35:07 +00:00
Lais Andrade
aa73129ab3 Add PWLE notification vibration patterns for P21 devices
Add the PWLE vibration pattern to the config.xml overlays for Pixel 2021
devices that support frequency control.

The patterns use the amplitude and frequency hand-designed for both
raven and oriole devices. The amplitude is using the maximum supported
value of 0.4, to allow scaling based on user settings.

Bug: 212366218
Test: manual
Change-Id: I73a2f3e50901b80aef299f4c8e9807a551170bbc
Merged-In: I73a2f3e50901b80aef299f4c8e9807a551170bbc
2022-01-13 13:52:54 +00:00
Lais Andrade
acf62bc171 Add PWLE notification vibration patterns for P21 devices
Add the PWLE vibration pattern to the config.xml overlays for Pixel 2021
devices that support frequency control.

The patterns use the amplitude and frequency hand-designed for both
raven and oriole devices. The amplitude is using the maximum supported
value of 0.4, to allow scaling based on user settings.

Bug: 212366218
Test: manual
Change-Id: I73a2f3e50901b80aef299f4c8e9807a551170bbc
2022-01-13 10:40:50 +00:00
Avinash Malipatil
4b540fc70f Control ONS Auto provisioning via device configuration
Bug: 211649038
Test: Manual. Modify the enable_ons_auto_provisioning flag to true in config.xml, build, flash and adb log should not have ERR_AUTO_PROVISIONING_DISABLED
Change-Id: Ia684e5b55fd69cbb15cfbcc0f511d01baa955c5a
2021-12-21 19:20:33 +00:00
Ilya Matyukhin
1ee32ca9ed DO NOT MERGE Remove unintended faceauth configs
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2021-12-16 20:22:17 +00:00
kensun
19f4c0e2ad wifi: Isolate wifi configurations for customization.
add gs101/wifi/BoardConfig-wifi.mk.

Bug: 208159314
Test: ifconfig after attempting STA+SAP concurrency.
Change-Id: I5f1d52c36da220361aff2840596c9fb95fc40719
2021-12-13 02:29:15 +00:00
Tomasz Wasilczyk
3d30571078 Support automotive builds.
Bug: 187195661
Bug: 205158078
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
Merged-In: I20decb81c3a7993ce75f807e26c2bc903d333340
2021-11-05 21:49:02 +00:00
shawnlin
6b2868c33e Remove resource overlays for system bar heights am: fd07328e5d am: 99167d2ec3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15853909

Change-Id: I5296175591d2acc8f9e60f62888b915c6efcbb57
2021-10-25 04:42:25 +00:00
shawnlin
b7cc9eee54 Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: Ib2ebacbc3250a1c2a2ad2b26f92eda6651fec37a
2021-10-25 04:07:08 +00:00
Gil
e48bdbf7ec [AOD] R4O6 Modify AOD brightness setting am: 8aaa9f71b7 am: 7032ca1228 am: f63ab0e616
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15957761

Change-Id: I9f2f1c057cb4522db383db5e7b4a21c60b5c6e6f
2021-10-04 18:51:33 +00:00
Gil
da5a0267be [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-04 03:16:58 +00:00
Daniel Solomon
8e4d02fbbd display: Update O6R4 refresh rate limitations am: 1db3592cca am: 8cb0889e0f am: eb02bb648f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938205

Change-Id: Id5f6a8bdaae20e85a8bf1736e7ecc9fd15f03f23
2021-09-29 14:05:28 +00:00
Daniel Solomon
2402decf7b display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 06:33:51 +00:00
Beverly
e73b348aac Remove doze_brightness_uses_prox config am: 303b6fbe2e am: 0d32212a30 am: 03c105f391
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15747468

Change-Id: Ia0bc41f4bc13df5d974778f3792d3eea619deb3d
2021-09-15 15:03:14 +00:00
Beverly
80e3da7342 Remove doze_brightness_uses_prox config
Moving forward, binned brightness will not
use prox. Let's get rid of this unnecessary config.

Test: manual
Bug: 194151347
Change-Id: I3352a3007138232c32aeb43ce4ec3ce97dad239d
2021-09-13 16:07:09 +00:00
George Chang
0e346ffd31 Allow NFC polling disable by system apps am: 40e1218f96 am: bf08494602 am: 47b94b7085 am: 0fc4eceb8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I6b7267f7d0fc4c3ec168f49ad8b028277fec7aea
2021-08-25 06:46:45 +00:00
George Chang
cfbd9d3c00 Allow NFC polling disable by system apps am: 40e1218f96 am: bf08494602
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I8ef96f7edfce0f0fbdc1559ba583cf04032ca323
2021-08-25 06:17:06 +00:00
George Chang
8cfdea1128 Allow NFC polling disable by system apps am: 40e1218f96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659822

Change-Id: I2136855a1aef6c177fba09def72575effe79e281
2021-08-25 06:02:18 +00:00
George Chang
675c8f7b6e Allow NFC polling disable by system apps
Bug: 195429557
Test: manual
Change-Id: Ib2a67580ffd5716e6b6b371c4502b8d377952568
2021-08-25 05:50:10 +00:00
Yanting Yang
6f10e9c9b8 Update regulation e-label for Raven am: f9ead5e36e am: 4c2a81957f am: 6f68f0f178 am: cb94a15add
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: Ib206df7d0a75e0ac44e9b1d9af4617844ac9ce45
2021-08-23 12:30:37 +00:00
Yanting Yang
0af6b88edf Update regulation e-label for Raven am: f9ead5e36e am: 4c2a81957f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: Ie8f61da7f587abc9bb9b10248ba00673e6abb194
2021-08-23 12:00:32 +00:00
Yanting Yang
20e3e82792 Update regulation e-label for Raven am: f9ead5e36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640412

Change-Id: If80d81769b6f6480debdb7c8b279090b1c39a65e
2021-08-23 11:47:30 +00:00
Yanting Yang
c1583a90f6 Update regulation e-label for Raven
Update the e-label of GF5KQ and add the e-labels for GLU0G and G8V0U.

Fixes: 187846268
Test: visual
Change-Id: I76bf53297abf4d00051beda670d847477444f7b6
2021-08-23 13:34:59 +08:00
Bill Lin
7ab10cc3f2 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032 am: d555006679 am: 1a784acab5 am: 536163198f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: I6368ca85af357b843a32fd4bac21b4040663b693
2021-08-23 01:34:46 +00:00
Bill Lin
ff2a217722 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032 am: d555006679
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: I065bd700cb3b7a8814c6dd9944a9c7b4c623507d
2021-08-23 01:04:01 +00:00
Bill Lin
72d9258aa8 Adjust 0.5dp padding for KeyguardStatusBarView am: 86fc105032
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15582267

Change-Id: Ifb7a11479bf225d63fec74f8fe2f2f49ebea009d
2021-08-23 00:50:32 +00:00
Bill Lin
9b61605560 Adjust 0.5dp padding for KeyguardStatusBarView
There's still 2px offset when transitioning from
KeyguardStatusBarView to PhoneStatusBarView.
To make the visual perfect, we can adjust more 0.5dp.

Test: Visual
Test: atest SystemUITests
Bug: 195670442
Change-Id: I84d10f2dad665fcbdb01665f5056d08b3c20e0d7
2021-08-23 00:37:20 +00:00
Beverly
cdf3790d04 Add config for brightness sensor using prox am: 6853130349 am: 64e43ef286 am: 65ebe33bec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15583232

Change-Id: I68ebce17d0be652775a33b7ef96d9698850f0a14
2021-08-17 14:34:05 +00:00
Beverly
b03fc73cf1 Add config for brightness sensor using prox
Binned brightness sensor on R4O6 don't use the
prox sensor.

Test: manual
Bug: 194151347
Change-Id: I339a4a4612c7eb5f90196835ef9121b114cdece3
2021-08-17 13:53:56 +00:00
Beverly
e6df66298d Don't have an alpha-in fade for the auth ripple am: 166e72e1e6 am: e35e8c2f29 am: 5bad4192e0 am: 7a981d16e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15546909

Change-Id: Ib463a0660bc1127fa80db8c39efdf7adc5342844
2021-08-15 02:14:08 +00:00
Beverly
a7db0950b2 Don't have an alpha-in fade for the auth ripple
Since R4O6 ripple comes from UDFPS, we don't need
to fade it in.

Test: manual
Bug: 196006323
Change-Id: If7e41bfe87823a763a8247a9125f8cc54ba769a6
2021-08-13 20:41:18 +00:00
Yanting Yang
7b75db2620 Update MIC e-label for JP SKU of Raven am: ee93d2b63f am: 06ae052b14 am: acdc0448f2 am: e13ce85c9e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15538955

Change-Id: I3d3dd868aff0ec1a8492a76d4f674cf6801e5a71
2021-08-12 14:23:42 +00:00
Yanting Yang
157a9cb111 Update MIC e-label for JP SKU of Raven
Bug: 195376206
Test: visual
Change-Id: I112fe850da9e4765c251866a98d69f3f6d8f60b9
2021-08-12 13:17:20 +00:00