Commit graph

86 commits

Author SHA1 Message Date
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
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
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
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
Bill Lin
e5402a7297 Fix KeyguardStatusBar height not align StatusBar
Update customization for O6/R4
1. Put status_bar_header_height_kegyuard in correct folder
2. Refine system_icons_super_container_avatarless_margin_end
3. Refine the config_mainBuiltInDisplayCutoutRectApproximation xPos
4. Remove unused system_icons_keyguard_padding_end
5. Adjust window rounded corner radius to match H/W corners

Test: manual build and check visual
Test: In keyguard, launch camera and exit, check provacy dot position
Test: In Keyguard, check keyguard status bar height algin home statusbar
Test: atest SystemUITests
Bug: 194324044
Change-Id: I8856b0ae9d5124b44a3aab89b0de8d8ddbe5a4c8
2021-08-03 07:07:29 +00:00
Beverly
e4b1a9077f Unregister for prox when display isn't OFF/DOZE am: 377acd6187 am: 8d7812a1db am: 8a7ad1745a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15432553

Change-Id: Ic5fc1e3581d2430a71d2efd19117820cacc9904b
2021-07-30 19:19:54 +00:00
Beverly
4ac85f0083 Unregister for prox when display isn't OFF/DOZE
Test: manual
Bug: 192699858
Change-Id: Ibd44e372e0171f2eb6129df448e6b66c5b923d02
2021-07-30 12:44:43 -04:00
linpeter
2a6cfd89c5 raven: add blocking zone for low light am: fe87676280 am: 51d2c99e00 am: 938a7eccdb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15369074

Change-Id: Icd88beff4590b8b11e7d75cebd956beb9c97d0ae
2021-07-30 06:52:11 +00:00
linpeter
ce87e291e8 raven: add blocking zone for low light
zone condition(15% brightness, 5 Lux) for 120Hz

Bug: 193087466
Test: no refresh rate change in the blocking zone
Change-Id: I4e5918ff5d829a6ad656db1c7f4993e1e8e9c23d
2021-07-30 06:14:41 +00:00
samou
3a75c787b7 power_profile: add battery capacity am: d9ab742bd7 am: c468133692 am: 16d9f05346
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15270344

Change-Id: I7e320288d61dd42b4a44af7f44e45f63f02329db
2021-07-27 03:17:19 +00:00
samou
2c99b67e63 power_profile: add battery capacity
Bug: 185956384
Test: Manually verified
Change-Id: Ida34a4415662bd4e24ef9d2ea64520d1070d436d
2021-07-27 02:37:03 +00:00
Chiawei Wang
042d26056e Add the customized max cached processes number for O6/R4 am: 177764ee93 am: 3f41194777 am: cbbfb432a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15001750

Change-Id: I5f2af581db05bdb456b01cd066e5cbdd75da8960
2021-07-22 17:26:09 +00:00
Chiawei Wang
843ed6b028 Add the customized max cached processes number for O6/R4
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: Ie1c17312a0eadb2c3f033c8a674ceb234abeadb3
2021-07-22 15:55:36 +00:00
Long Ling
f533605206 display: update golden profiles am: 965f7de376 am: 3b72555f36 am: 93338081ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15342673

Change-Id: I517797077f0268fd2df082699081686acfb11df6
2021-07-21 02:55:44 +00:00
Long Ling
55e6b8e239 display: update golden profiles
Bug: 186056830
Bug: 186057140
Change-Id: Id550d4fac629300414693443facb8771af5301e8
2021-07-21 02:02:23 +00:00
Beverly
ef4d10de02 By default, set raven face-auth to non-bypass am: 329cbef7e7 am: aa46f3510f am: 5b6bfe4d30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15178548

Change-Id: Icf27376a78ac65f09096887899109cc64bc01065
2021-07-09 00:05:02 +00:00
Beverly
ed682fcdcd By default, set raven face-auth to non-bypass
Test: manual
Fixes: 192406240
Change-Id: I49e918a0de60062b331ace502390541992492e7d
2021-07-08 21:33:49 +00:00
lbill
84fd199468 Adjust status bar rounded corner and display cutout region
- Customize status_bar_height_portrait/landscape/keyguard
- Adjust punch hole display cutout region
- Adjust rounded radius for window corner

Test: atest SystemUITests
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: manual check visual
Bug: 190381022
Change-Id: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
Merged-In: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
2021-07-02 17:30:42 +00:00
Frank Luo
42427d4d3f Set config_suspendWhenScreenOffDueToProximity true am: 9b66e0f8e3 am: b3f17a0e4d am: fada188e88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15152141

Change-Id: I62c0ab2e74d7ebe864442453c63520063ad8f12f
2021-07-02 16:07:35 +00:00
Lais Andrade
633835a19b resolve merge conflicts of 5e6c470008055c8415eaff5816a8c18bff207c3c to sc-v2-dev am: b830e35b98 am: 0c968ecd66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15175173

Change-Id: I4bfa47f905bfe7dd262af13d7e8c968be229076f
2021-07-02 16:07:23 +00:00
Frank Luo
b40bad2d3a Set config_suspendWhenScreenOffDueToProximity true am: 9b66e0f8e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15152141

Change-Id: I6059483978c393bac1f4f8197ccc98bf4208ffef
2021-07-02 15:43:44 +00:00
Frank Luo
b0c9a1ae1b Set config_suspendWhenScreenOffDueToProximity true
This config indicate whether to allow the device to suspend
when the screen is off due to the proximity sensor.  This
resource should only be set to true if the sensor HAL correctly
handles the proximity sensor as a wake-up source. Otherwise,
the device may fail to wake out of suspend reliably.

Bug: 192324731
Test: 1. Unplug USB. 2. make a phone call.
Test: 3. Cover p-sensor, the screen turns off for 10 seconds
Test: 4. Uncover p-sensor. 5. Plug USB.
Test: 6. 'adb shell dmesg | grep suspend' to check if AP ever suspend in calls.
Change-Id: I90c0ef56211908b5a211d9f887bbfc6693a3be40
2021-07-02 15:40:40 +00:00
Lais Andrade
ab00a09510 resolve merge conflicts of 5e6c470008055c8415eaff5816a8c18bff207c3c to sc-v2-dev
Fix: 192648440
Test: manual
Change-Id: Iae021732381c658f3ec9d8b3c9069810f7263f40
2021-07-02 13:43:22 +00:00
lbill
d11e543492 Adjust status bar rounded corner and display cutout region am: 19593b4b96 am: 8defa72704
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15172902

Change-Id: I09706410ee237ad61befa3468ba45d7e48b794fa
2021-07-02 13:20:35 +00:00
Lais Andrade
3dbd9530be Set vibrator ramp down duration
Bug: 188431691
Test: manual
Change-Id: Id029afe5c0d6fa59425c4407da56fed69f083bc1
2021-07-02 13:08:39 +00:00
lbill
a17c45af94 Adjust status bar rounded corner and display cutout region
- Customize status_bar_height_portrait/landscape/keyguard
- Adjust punch hole display cutout region
- Adjust rounded radius for window corner

Test: atest SystemUITests
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: manual check visual
Bug: 190381022
Change-Id: If98f721f3e20270c5edfdc3b2f34ff8b8af41de4
2021-07-02 12:53:53 +00:00
Long Ling
d9c3240c9d display: update device color data am: 6cfa17d4a7 am: 154f87d409 am: 75f5dc657c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15131727

Change-Id: I2e4f10ada5186a2c555265fa8759c20fe19c0bc3
2021-06-30 00:58:15 +00:00
Long Ling
5f50ac9ca0 display: update device color data
Bug: 191467644
Change-Id: I6d1aea14b458c4dfedade2949d765e0e79faf339
2021-06-30 00:18:55 +00:00
Calvin Pan
bf44b22bc8 Update ./DevInfo/Mod model name am: b91f772947 am: e2f3defd85 am: 82a713efa8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15093752

Change-Id: I85a9b0e33d2d476fb061371d1e0e8fb9abd699b1
2021-06-25 03:01:02 +00:00
Calvin Pan
0baeebd8f5 Update ./DevInfo/Mod model name
Bug: 191961582
Test: Build pass
Change-Id: I60fb9d0d4487a3b7ccfc2152cb90cc9df808a4a9
2021-06-25 02:12:11 +00:00
Chris Kuiper
6de5eac769 auto-brightness: Change light debounce for R4/O6 am: 1510fb15df am: 5fcc863c4c am: 1ea07dd064
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15089874

Change-Id: I3f7619664e9bb6d44c2b5c50925115686d448693
2021-06-24 16:40:00 +00:00