Commit graph

163 commits

Author SHA1 Message Date
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
Sasha Smundak
6bbc22597e Replace PHONE_CAR_BOARD_CONFIG with more specific PHONE_CAR_BOARD_PRODUCT
The statement
```
include $(PHONE_CAR_BOARD_CONFIG)
```
is difficult to translate to the Starlark configuration file. Fortunately,
all the potential values of this variable have have similar structure, so
```
PHONE_CAR_BOARD_CONFIG := device/google_car/foo/BoardConfig.mk
....
include $(PHONE_CARD_BOARD_CONFIG)
```
can be changed to
```
PHONE_CAR_BOARD_PRODUCT := foo
....
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
```

Bug: 190051051
Test: treehugger
Change-Id: I3b6e8e1aabfb373ab84c756c109b04893d2e8481
2021-08-10 22:30:05 +00:00
Bill Lin
3a3e57be61 Fix system icons container x-axis shift between Keyguard/Home StatusBar am: 95721dbff1 am: f209abfba3 am: f4e9de8011 am: 83f00d2add
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15481536

Change-Id: Ib5c64fac805fd2f6a10d841609ec8441650d2aeb
2021-08-07 10:25:07 +00:00
Bill Lin
73e2784392 Fix system icons container x-axis shift between Keyguard/Home StatusBar
Adjust the system_icons_keyguard_padding_end for O6/R4

Consider below scenario:
1. Enable/Disable multi-user: This case must have x-asix shift due to
   home StatusBar did not designed to show avator icon
2. Keyguard/Home StatusBar alignment
3. w/ & w/o privacy dot
4. w/ & w/o plug-in USB cable
5. w/ & w/o show battery percentage

Test: build and check the visual
Bug: 195670442
Change-Id: I783c026e46d7cc01839a4e56fed9fdb89ca6b194
2021-08-07 09:26:58 +00:00
jonerlin
b8f5b81c67 power_profile: add bluetooth power data am: 01cc7a7a03 am: b0b8ac7165 am: 9184a7c59b am: 5b650f6369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15472708

Change-Id: I14431d00332b11e5516ee51b09e7ac62bcbcbe1d
2021-08-07 03:02:09 +00:00
jonerlin
c2e47893cb power_profile: add bluetooth power data
Bug: 195157251
Test: manual
Change-Id: I2de092b8a244d2b6e4debe4ab5590c4a6f7bf930
2021-08-07 01:58:57 +00:00
Beverly
0e45104d63 Update lock icon padding am: 4228ff72d3 am: d8a8f4eb9d am: f4091de711
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15445897

Change-Id: Iea2c9d3f7dbc18ab5d5e17a8e29ff4fb12cea50c
2021-08-06 15:45:06 +00:00
Beverly
faf942fb1d Update lock icon padding
This should not scale with density size increases b/c the
sensor size is fixed.

Test: manual
Change-Id: I84cd73992b657ee292873fd7ba4bf6e73fc6b349
Fixes: 195564809
2021-08-06 15:04:46 +00:00
Bill Lin
f4ab42644f Fix KeyguardStatusBar height not align StatusBar am: 3d20a7d96a am: d1b2e8f610 am: f504706fa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15421872

Change-Id: I0b1787d3e5c7fce8ae2f2d256dbf8ee35fed6690
2021-08-03 07:55:18 +00:00