Commit graph

54 commits

Author SHA1 Message Date
Yanting Yang
4bf8d0c9d2 Update regulation e-label for Oriole am: 05fc0b2ca9 am: 70fd5a9759
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743482

Change-Id: If14085a54f1410eeb27fd0ed8095587b53477014
2021-09-02 02:51:37 +00:00
Yanting Yang
528d915a9e Update regulation e-label for Oriole
Update the e-label of GR1YH and GB7N6 for SAR number.

Fixes: 187845531
Test: visual
Change-Id: Iaa8bb2e754181e8f3682a633b5e4f289920ab275
2021-09-02 01:47:23 +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
4841131ead Update regulation e-label for Oriole am: b7ec16d6ae am: db0428bfd5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15640410

Change-Id: Ib49c6a09a3ffc558f9ed3354defdae3fbcb9cf85
2021-08-23 12:00:36 +00:00
Yanting Yang
7a754f9f30 Update regulation e-label for Oriole
Update the e-label of GR1YH and add the e-labels for GB7N6 and G9S9B.

Fixes: 187845531
Test: visual
Change-Id: I82bc0468167f9734442e90790ffe1b78d5e5979e
2021-08-23 11:29:54 +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
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
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
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
c2e47893cb power_profile: add bluetooth power data
Bug: 195157251
Test: manual
Change-Id: I2de092b8a244d2b6e4debe4ab5590c4a6f7bf930
2021-08-07 01:58:57 +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
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
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
Yanting Yang
b043fc0a41 Update MIC e-label for JP SKU of Oriole
Bug: 194450210
Test: visual
Change-Id: I7e732dad9028629bb3a22b1f2f5749449ac41266
2021-07-27 16:52:01 +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
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
55e6b8e239 display: update golden profiles
Bug: 186056830
Bug: 186057140
Change-Id: Id550d4fac629300414693443facb8771af5301e8
2021-07-21 02:02:23 +00:00
Long Ling
3d09e38a82 display: update O6 display color data
Bug: 187763532
Change-Id: If2dbb6c4ffb55d7408212280839e89af8d9996f4
2021-07-12 15:14:59 +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
3dbd9530be Set vibrator ramp down duration
Bug: 188431691
Test: manual
Change-Id: Id029afe5c0d6fa59425c4407da56fed69f083bc1
2021-07-02 13:08:39 +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
0baeebd8f5 Update ./DevInfo/Mod model name
Bug: 191961582
Test: Build pass
Change-Id: I60fb9d0d4487a3b7ccfc2152cb90cc9df808a4a9
2021-06-25 02:12:11 +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
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
Long Ling
aaf6f6360a display: add O6 golden calibration profile
Bug: 189988531
Change-Id: I9e502c3927cd3f686e3ca8e4b52f867cef900b2e
2021-06-23 02:18:35 +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
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
f3caaf71bf Update gps currents based on the measurement.
Bug: 186995059

Test: manual
Change-Id: I7d4788af5cddb7d020b5d2188395cadc72bff144
2021-06-11 09:19:08 +00:00
linpeter
c4a2ca604d oriole: update blocking zones
Set Zone 2: < 30 Lux and UI brightness 45%. Lock 90Hz
Set Zone 3: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 187929149
Bug: 190018500
Test: no refresh rate chagne in the blocking zone
Change-Id: Iffe10c76cfff1c8eac9361e68a10377d26b48d10
2021-06-11 04:19:03 +00:00
linpeter
428dbc7c07 oriole: update thresholds for 90hz
Add zone condition for 90Hz

Bug: 187929149
Test: no refresh rate chagne in the blocking zone
Change-Id: Ia7f5be2464da8ea4ed2c8d370bb6baa0f5be3cc9
2021-06-02 10:09:06 +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
99725eb3ea oriole: 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 oriole-userdebug
Test: build factory_oriole-userdebug
Test: adb logcat | grep AuthService
Change-Id: I2c10239b93f9c8025607643385304b16f24f5dc6
2021-05-19 17:11:58 +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
Yanting Yang
24333156a4 Add initial MIC e-label for JP SKU of Oriole
Bug: 182864706
Test: visual
Change-Id: I1878bd6aacfed834d618d88d325d530098d1ce27
2021-05-04 09:01:27 +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
Chris Lu
49181e2af2 oriole: enable peak refresh rate (90hz)
Enables default setting to 90hz mode, this can be disabled through
Settings app.

Bug: 179149537
Test: wipe user settings and check default peak refresh rate enabled
Change-Id: I5c5bd2f72c7a348f802a631b14cad45ca81462a9
2021-04-21 02:40:39 +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
Bill Lin
d84ad0d2a3 Update Oriole screen decorations
- Tweaked rounded corners to have different top and bottom assets
- Adjusted the holepunch based on the pixel mapping
- Adjusted status bar height and top padding
- Configured the estimated display cutout area for a 118px box
- Adjust landscape status bar padding

Test: visual, manual
Bug: 179171394
Change-Id: If37587f60245d71c795a55bb8adead5029d1d41a
2021-03-31 09:57:17 +08: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
4c4329ca5d Update wifi currents based on the measurement.
Test: manual
Bug: 183661133
Change-Id: I87b1178d84e44a9540ad4f91de27940ec1c94dec
2021-03-25 20:57:03 +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