Commit graph

56 commits

Author SHA1 Message Date
Ling Ma
00042332bb Apply new IA requirement on P22 devices
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.

Bug: 278702856
Test: voice call + internet browsing + reporter verified
Test: daily test verified on both P22 and P23 by b/283239810 and confirmed by log
Test: daily test related to hot swapping SIM and phone call on Barbet
Change-Id: Ia1cfb6eddc8f25f75d51412c1006ed203efc50eb
2023-06-05 17:03:25 +00:00
Suprabh Shukla
b8aebb4f05 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: If9bdc26b78a45a4a88ce1b515d898232def6fd17
2023-05-26 21:20:47 +00:00
Richard Chang
89035cc0e1 pantah: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I42bafaf0512ba0bb50e9e4027b3ef4b0632e749e
2023-05-15 02:24:48 +00:00
Suprabh Shukla
900d70ae6f Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I0a79073ae875104495caf87b35ed8fc8bcc6c805
2023-05-11 19:52:45 +00:00
Suprabh Shukla
d786ac91ca Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I185b0be3b12a70bee7d40d4bfafc36b344989260
2023-05-03 23:56:14 +00:00
Beverly
22b6dc88e3 Remove unused dimen auth_ripple_alpha_in_duration
Bug: 274785453
Test: device builds
Change-Id: I16995427297c5d11ee5448fb8be53682ab36e5d7
2023-03-22 18:15:32 +00:00
George Chang
64b64c1980 [NFC] Add antenna position coordinates
Bug: 272406680
Test: manual
Change-Id: Ide00cc7d3e220c50c75e855d70305e7779e37e88
2023-03-13 07:05:55 +00:00
Suprabh Shukla
96d8f09cf7 Add device irq map for Pixel 7 devices
This xml maps the devices that can wake the main CPU up to subsystems
that use them.

Test: Builds, boots. Manualy verify the loaded map in the output of
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: Idd14c6a71c697fb649b42fe4886454fa3345aeba
2023-03-07 23:30:06 +00:00
George
df622bda13 [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: I7e3828d90efedfe9f32bf0c174f5a4279ea8bcb9
2023-02-01 18:04:39 +08:00
Shawn Lin
f1424b2c03 Add display shape config for C10, P10
Bug: 236935288
Test: make
Change-Id: I170bae8b12ee77ef2014ca373707595289b7daca
2022-12-01 07:34:25 +00:00
Shawn Lin
9fdf1f9145 Update status bar height to center the hole punch cutout am: a9187a3fae am: 2a600e256d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/20193742

Change-Id: I5d0b5459965a32d61629a6cee567c6ed3058177c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 07:42:50 +00:00
Shawn Lin
a9187a3fae Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I6baa011224ea366821d4c665bb19da0842106ace
2022-10-27 06:37:23 +00:00
Evan Laird
083b5211b8 Update device corners and holepunch am: 9f9a33218c am: 89cdd8898f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19999575

Change-Id: I9d27aa31bc700594b6f0dfbfcbcf91d9579b95a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 21:18:34 +00:00
Evan Laird
9f9a33218c Update device corners and holepunch
This CL updates the paths for the corners as
well as small adjustments to the front-facing holepunch camera.

Test: adb shell setprop debug.screenshot_rounded_corners 1 // then restart sysui
Bug: 238416581
Change-Id: Idfe83b9732b30a8fff92ed1eb5bc8959ab1526eb
2022-09-23 20:24:07 +00:00
Ilya Matyukhin
6262c7c945 c10: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I1ef0a67006d57cafa2e7a74c70b0cd176a094c2d
Merged-In: I1ef0a67006d57cafa2e7a74c70b0cd176a094c2d
2022-09-19 23:50:26 +00:00
Ilya Matyukhin
0b07828ad5 c10: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I1ef0a67006d57cafa2e7a74c70b0cd176a094c2d
2022-09-19 19:20:57 +00:00
Vincent Wang
41969d9eab Move fingerprint and face haptic form server to sysui(2/3)
BUG: 237621645
Test: Check the vibrator work normally when using biometric unlock
Change-Id: Ib64abdff6a6e3eec2ead03849cf37b8fdcf0750e
2022-09-02 11:39:45 +00:00
Sam Ou
8d5dc506a7 power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ie685e86feeb0ed3719b5cdebccd0a2218e2a2a6d
2022-07-18 03:58:38 +00:00
Tai Kuo
661e6c8c17 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I23cf1e7dab264448dd0675bb1939135ae0cacd02
2022-07-04 01:34:01 +00:00
Vincent Wang
48101c1997 Move haptic from FaceAuthenticationClient to SysUI(2/2)
Disable haptic from biometric framework & enable haptic in
SysUI

BUG: 231756704
Test: Check if the haptic is abnormal on C10/P10
Change-Id: I40745b34fb6a75318f180c438bbfa7fa461e445a
2022-06-13 05:16:07 +00:00
Grace Cheng
be0d2baf7a Adjust lock icon padding for visual match on C10/P10
Adjust lock icon padding for visual match on C10/P10

Bug: 219895641
Test: Visual comparison of alignment using layout inspector
Change-Id: Iffb6fb6344a29c5cc217f1ff4897790a784e6829
2022-06-09 21:56:40 +00:00
Beverly
9d342cabbe Update longpress time on lock icon to 100ms
Test: manual
Bug: 231712181
Change-Id: I0a9faf86b690399d7bc901e0fc8f72f9f7435b63
2022-06-09 14:27:47 +00:00
edyblin
69136ea87e Update ./DevInfo/Mod model name am: a7e8dbb927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I91e5303db3cec0c875473f07ae0bf9a058ad1fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:48:17 +00:00
edyblin
a7e8dbb927 Update ./DevInfo/Mod model name
Need to set model name to GE2AE and GQML3
Bug: 232495475
Test: Pass at b/232495475#comment7

Change-Id: I21cc02b2a980f493a34bcfcd40117bb827504075
2022-05-25 17:21:09 +00:00
SianyiHuang
099addb63d Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2022-05-25 05:39:18 +00:00
linpeter
46546e2e2c display: update the indoor auto-brightness curve
Modified the indoor range mapping in
the indoor auto-brightness curve.

Bug: 200227638
Test: check the default curve
Change-Id: I7b9219023fabdefe05cb910666c0e0ff998ed06c
2022-05-24 07:21:14 +00:00
Bill Lin
fdf0d5d091 Add quickpickup sensor to config.xml am: 21240c5ca5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18401597

Change-Id: Id1a42287c84ddb275dcc259ce2d1214b349a0e8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:20:20 +00:00
Bill Lin
21240c5ca5 Add quickpickup sensor to config.xml
Test: manual enable AOD and verify quick pick up gesture
Bug: 232717890
Change-Id: I5ae6f871168368e351a64a9f4337c83d14f4ecca
2022-05-17 17:41:02 +08:00
Jing Ji
97125e45f9 Turn on auto restricted bucket on abusive bg battery usage am: 0496799caa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337180

Change-Id: I6f6b08e87745df739ded6a62b61802eb2cf0ffd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 18:21:08 +00:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
samou
53a6f56c31 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: samou <samou@google.com>
Change-Id: I45b40c4f2f1942d7246d5dbc5fdb237a6ecc571c
2022-05-05 08:02:06 +00:00
Jason Chang
07462d28c2 Phase out config_roundedCornerMultipleRadius from overlay package am: beb111be34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17782663

Change-Id: I941c63cc5aeda856fedf6980c3db6cc2ee63c7b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 06:34:47 +00:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
Avinash Malipatil
0ae8841b8e Enable ONS auto provisioning using device config
Bug: 229727068
Test: Manual. Flash the device with the binary including this change and check adb logs. ERR_AUTO_PROVISIONING_DISABLED should not be printed.
Change-Id: I826f86c9943573d25ffeb1ac9761a29c03bf4cc9
2022-04-19 14:03:57 +00:00
shawnlin
f94b464832 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: Iff388639497a7955e363c3372d79ead35831bea5
2022-04-12 02:15:55 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
joenchen
06d7d2a9f2 C10: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2022-04-05 17:57:46 +00:00
William Tai
8489809c43 P22: update display blocking zone for EVT1.0
C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
2022-03-23 07:46:02 +00:00
Joshua Mccloskey
181a35eb41 Devices will not skip lockscreen after face unlock
Test: Verified after face authentication is done, the lockscreen
is not skipped.
Fixes: 219634181

Change-Id: Ife19c5b6ac60c60d6cc6f68f32dc6755426043b0
2022-03-23 01:04:46 +00:00
Gary Jian
8358d48714 Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I16b665f72aae3b7e82c7f46a608eed36bbddae7f
2022-03-16 17:53:01 +08:00
ryanlwlin
28f176b9fc Add override for fingerprint sensor gesture support
Bug: 222019218
Test: atest AccessibilityFingerprintGestureTest
Change-Id: Ic36efe75a02cb707adc5c9aab10ec8916644c890
2022-03-16 09:14:39 +00:00
William Tai
c7e91120e4 Update SystemUI config.xml
- Add Doze settings

Test: manual
Bug: 199469793
Bug: 199468273
Change-Id: I05aa9305781539444e37a2e2ae0b05f0c8fbf79a
2022-03-11 05:22:05 +00:00
Kris Chen
cd8a034fd9 c10p10: Add config_udfps_illumination_transition_ms
Bug: 197780765
Test: Enroll and authenticate fingerprints.
Change-Id: I5101da79c856481d6509d0ef36af8eef7dbbbf05
2022-03-07 01:44:25 +00:00
Chris Kuiper
cdc1dc5379 Config: Fine-tune ambient thresholds for brightness stability.
Porting to C10/P10.

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: I68d2121bb8694aab0e23ab67b5cc2cc5d5b1fdb4
2022-02-17 16:53:48 +00:00
samou
d321e3f112 Create initial power_profile.xml
Bug: 219368899
Change-Id: I38c0c65e5be0b4ae3fb22637f3273d039b1fd685
2022-02-17 09:08:16 +00:00
Midas Chien
ba2ac351b5 display: enable smooth display by default
Turn on Smooth Display in Settings App by default. Users can disable it
in Settings App.

Bug: 219650450
Test: Smooth Display is enabled by default after factory reset
Change-Id: I3acc5d548bad8a5068a75140673512ba793890e8
2022-02-17 02:21:59 +00:00
Robin Hsu
9adc062bcc config.xml: max_cached_processes changed to 64
Bug: 190531672
Test: dumpsys activity -i | grep -i cached_process
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: I3cf8989a398ea594187b0e5a8cc8bad315b78ac3
2022-02-16 14:25:35 +00:00
Kris Chen
db6c57f396 c10p10: Add config_dozeUdfpsLongPressSensorType
Bug: 219382123
Test: sysui has registered the udfps gesture after entering AOD.
Change-Id: I872406401b4f849e866cb28e406552074a929f84
2022-02-15 12:54:22 +00:00
Bill Lin
5a664f4f15 Update C10/P10 SysUI overlay customization
1. [C10]Remove duplicate config_frontBuiltInDisplayCutoutProtection
2. [C10]Shift right config_frontBuiltInDisplayCutoutProtection position
3. [P10]Shift down config_frontBuiltInDisplayCutoutProtection position

Test: make and flash + enable rounded corner debug + launch front camera
Bug: 199469413
Bug: 203593020
Bug: 199468172
Change-Id: Iec8aaefe9ac649940d2364a95c12c75b69e34871
2022-02-14 09:03:07 +00:00
Tim Lin
59ca0ca6bf Add MMS UA, UAProf for C10/P10
Bug: 216398771
Test: make
Change-Id: I2f36baa3a28c1a4be3f07bafc5c9646180045baa
2022-02-10 12:01:30 +00:00