Commit graph

86 commits

Author SHA1 Message Date
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
Ilya Matyukhin
1d5482518b raven: include factory/shipping UDFPS based on target
This CL transitions the regular build to the AIDL fingerprint HAL, while
keeping the factory build on HIDL.

AuthService reports "Registering HIDL ID: 0 Modality: 2 Strength: 15"
only for the factory build.

Bug: 188193467
Test: build raven-userdebug
Test: build factory_raven-userdebug
Test: adb logcat | grep AuthService
Change-Id: I3d02e560e5e624aa85f1c3d14d52d7bb5070ee4d
2021-05-19 17:11:58 +00:00
Evan Laird
42ed8c7050 Exclude as package from camera cutout protection am: 3aff17cd21
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14537985

Change-Id: Id41f2b4efba318882b4c2b3149d7ceed647d60b9
2021-05-14 02:39:24 +00:00
Evan Laird
106bc09824 Exclude as package from camera cutout protection
com.google.android.as is the attention detection package and does not
need the extra light leakage protection.

Test: manual
Fixes: 187917679
Change-Id: I9f8092c278c4799e9c1db52e64592bfa9494062d
2021-05-13 20:04:13 -04:00
Tomasz Wasilczyk
3a55c05b18 Support automotive builds.
Bug: 187195661
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
2021-05-12 16:22:28 +00:00
Bill Lin
ccd6d2ba9f Adjust R4 rounded corner & punch hole anti-aliasing
1) Adjust the position of punch hole to match the H/W display

2) Previously, there wasn't rounded corner drawable for raven,
   R4 adapted with gs101 customization by default.

Test: make and flash ROM
Test: Observe rounded corner and punch hole
Bug: 179171408
Change-Id: Ib68797c870fb5ee1208c844a9863090856ad8ee7
2021-05-11 20:06:22 +00:00
Long Ling
82756614b2 display: add device specific adaptive calibration file
Bug: 184096624
Change-Id: I813b9310291f33c81ace8e82ebf1a71284c7e795
2021-05-11 18:54:35 +00:00
Chris Fries
4791bdabe3 power_profile.xml: Fix typo "volatage"
Bug: 135906639
Change-Id: I7457ba49170d59cf88ffcb4ef8fedd980f391a05
2021-05-06 17:26:11 +00:00
Yichi Chen
9cf71a9b1d Raven: Enable smooth display with 120Hz
The patch turns on smooth display in Settings App by default to allow
more users experience 120Hz. Users can still disable the feature in
Settings App.

Bug: 185102566
Test: Basic panel flickering and performance tests by UTD
Change-Id: I67420f5625294873095c624d75ee7914bbe22035
2021-05-03 14:59:47 +00:00
Beverly
8e79346260 Don't use binned brightness for prox
Because binned brightness on R4/O6 isn't reporting prox anymore,
instead, use the default prox sensor

Test: manual
Bug: 183677790
Change-Id: I2e65846f41b4b313ddd288fa4cf989d06779e446
2021-04-27 20:58:49 +00:00
George Chang
bb7f00fb27 Enable require device unlock for NFC
Bug: 164002915
Test: manual
Change-Id: Ie0a6e0e9dc92210755e57200f0cef565a34b1619
2021-04-07 11:57:23 +00:00
Beverly
9420469be8 Add physical button locations for raviole
Bug: 181020504
Test: physically measured on device
Change-Id: Ia989754a7af92d4de64185f08a52ec83b0fc3618
2021-04-02 10:03:36 -04:00
Beverly
038dc0267a Add SystemUI config.xml
- Add doze parameters
- Add brightness values (currently copied from redfin)

Test: manual
Fixes: 183951335
Bug: 178066413
Change-Id: I229dbf7174fa0b91f22cf35b7183c98603fe3fec
2021-03-30 17:47:30 +00:00
allenwtsu
3f822142e6 Add MMS UA, UAProf for O6/R4
Bug: 179612596
Test: by manual
Change-Id: I7c3522c3a2be89b964cc56277b777ba91c9fef60
2021-03-26 17:51:38 +00:00
Kai Shi
3f8dc9ad6d Update wifi currents based on the measurement.
Test: manual
Bug: 183661133
Change-Id: Ib11d0998be6c0286548b8c559b19ad3ab20cc169
2021-03-25 22:10:24 +00:00
linpeter
04cf15d289 slider/whitefin/oriole/raven: remove redundant brightness config
This config_screenBrightnessNits/config_screenBrightnessBacklight are not used
when we have the displaydeviceconfig (ddc) exist in screenBrightnessMap.

Bug: 177140883
test: check brightness table
Change-Id: I7855602652a39288965e7510084d98d4d040312d
2021-03-19 00:26:36 +00:00
linpeter
b71cbeefa2 Update the adaptive brightness table for oriole/raven
Bug: 177143493
test: check brightness table
Change-Id: Ic5968a75b676b016024dd317388f83b80a046ed5
2021-03-18 12:05:16 +00:00
Bill Yi
688d9e787a Merge "Add AOSP support for Raven and Oriole." into sc-dev 2021-03-15 16:46:51 +00:00
Beverly Tai
9eb1cfadb2 Merge "Add quickpickup sensor to config.xml" into sc-dev 2021-03-11 13:35:57 +00:00
Bill Yi
e29895f790 Add AOSP support for Raven and Oriole.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/raven
platform/vendor/aosp/google_devices/oriole

and the paths are
vendor/google_devices/raven
vendor/google_devices/oriole

BUG: 182332166
Change-Id: I947934c7f2d38c6fe504cfe8a4368d9b426e4b48
2021-03-10 16:49:49 +00:00
George Chang
59938fcc53 Set nfcc_always_on_allowed
Bug: 182243379
Test: atest NfcNciInstrumentationTests
Change-Id: Ic748f374c1d846ece7888f58b4f04c7e60ea0d89
2021-03-10 11:34:13 +00:00
Beverly
d2ddf01233 Add quickpickup sensor to config.xml
Test: manual
Bug: 176550666
Change-Id: Ia7c7f9a07c6bd0992903fb338ab567db7507e1b9
2021-03-08 09:32:30 -05:00
Robin Peng
cd374d8ea9 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I08376762c559b3a7fd2cd2d743d090269ed52c94
2021-03-06 16:30:54 +08:00