Commit graph

172 commits

Author SHA1 Message Date
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
Chris Kuiper
dab5283046 auto-brightness: Change light debounce for R4/O6
This reduces the brightening and darkening light debounce
configuration to match R3 and earlier Pixel devices.

Bug: 185770517
Test: Verified "dumpsys display" shows correct config values.
      Verified brightness transitions are similar to R3 now.

Change-Id: I6bd47cb52c28c63ece6b5247344a6cf062eb31ea
2021-06-23 22:52:45 -07:00
Gil
d7b471f260 [Display] Re-mapping the Default Brightness am: c1dae64908 am: 6c8e95f9ed am: 669a1a0442
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14516641

Change-Id: I924bf2231435d1366797ba2ee0d44316424f02b6
2021-06-23 08:32:42 +00:00
Gil
9dd59a9dda [Display] Re-mapping the Default Brightness
Update the Default brightenss to 0.17429718 for mapping to 140 nits

Bug: 187917731
Test: Dump the display log and check mScreenBrightness
Change-Id: I9836a2dd0127c881b0eceb4d2c908bb52ea709e7
2021-06-23 07:41:19 +00:00
Lais Andrade
800ade8230 Set audio haptic channel amplitude limit am: 3b45692265 am: e8431e6a54 am: 077750c01e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15063343

Change-Id: I1fe9321d66414cd3ea37b37f37c5b1fdf2aaa7cb
2021-06-22 17:58:31 +00:00
Lais Andrade
354c1e7fad Set audio haptic channel amplitude limit
Bug: 188025353
Test: manual
Change-Id: I9609d812c11f08990c68d73cff20bc1a738f4174
2021-06-22 17:02:18 +00:00
Ilya Matyukhin
62702722ab raven, oriole: overlay UDFPS illumination transition time am: 141922bebe am: d3fe0ce6b7 am: 4957c2bd80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15023487

Change-Id: I602d14c00ab8f8b931a357d80552a03165dc1645
2021-06-21 12:21:44 +00:00
Ilya Matyukhin
de356bd0af raven, oriole: overlay UDFPS illumination transition time
Bug: 189130534
Test: perfetto
Change-Id: Iec7fe726197a2b23547739a8e96824362aa76fc4
2021-06-18 19:52:48 +00:00
Edwin Tung
abe0b25bfb Update gps currents based on the measurement. am: 7914c92844 am: 41b871d585 am: 5ac0eace5f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14911647

Change-Id: I7be3f114e2a8bd822f0c4d1a339ac51326c12c97
2021-06-11 09:57:16 +00:00
Edwin Tung
f3caaf71bf Update gps currents based on the measurement.
Bug: 186995059

Test: manual
Change-Id: I7d4788af5cddb7d020b5d2188395cadc72bff144
2021-06-11 09:19:08 +00:00
Yanting Yang
b47ddf1f45 Add initial MIC e-label for JP SKU of Raven am: f9317d25e5 am: 8adcefbb59 am: aa052411a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14772210

Change-Id: I73421be2a5b00433515fd07d90f2aead58173886
2021-05-31 04:01:00 +00:00
Yanting Yang
3b1f8ef524 Add initial MIC e-label for JP SKU of Raven
Bug: 182865172
Test: visual
Change-Id: I4691936b2d0af6a82db84dad61c85b98e8913b8a
2021-05-31 02:57:39 +00:00
Gil
f419169780 [Display] Modify the AOD Brightness am: ff731b500e am: 06b1eef7a8 am: 29587ff56d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14515926

Change-Id: I580e4f00c3c701a399d3c30ed2570cc1fe331ecd
2021-05-25 07:25:08 +00:00
Gil
d9ff8cb3c5 [Display] Modify the AOD Brightness
Set night/low as 2 nits, sun/high as 50 nits

Bug: 184728677
Test: Boot test and check AOD brightness
Change-Id: I0e6f5fda297f3e57f21a1d45e2f70b0dcccf04d1
2021-05-25 06:16:20 +00:00
Ilya Matyukhin
707b72a557 raven: include factory/shipping UDFPS based on target am: 203d7c0b61 am: 853b449672 am: 09b86b2c9d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14618977

Change-Id: Iee299f779039a3b9ef1c0039bd995c1f0c45f913
2021-05-19 19:34:48 +00:00