Commit graph

151 commits

Author SHA1 Message Date
Richard Chang
590c50e1bd felix: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I939854c369da8bcf10bc2a3daf80119cfc75fad5
2023-05-15 02:42:06 +00:00
Suprabh Shukla
6ea4b5de0d Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I4b8c3f024bf86d7fbbe7d618fd3905820ce51e54
2023-05-10 16:06:51 -07:00
Suprabh Shukla
22572e15bd Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I8a1fa820f9f4208880e5ac13180f9d347581182b
2023-05-03 22:12:23 +00:00
Chungkai Mei
497242f2d4 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: reboot more than 500 times without failure
Bug: 229794277
Change-Id: I6a2f373403db18fa9dd80a1289860d6b66395472
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-04-24 13:50:12 +00:00
Kelly Zhang
ca6815f10c Merge "Add regulation e-labels for F10." into tm-qpr-dev am: 7214e6edf7 am: 6ada70f8d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/22346322

Change-Id: I8484f3efc6740d898a6eac285f2a162d2a4ccf0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:21:37 +00:00
Kelly
b5a21ef707 Add regulation e-labels for F10.
Bug: 263742720
Test: visual
Change-Id: Ib328754d12d81f1eb26e64cfe9849cd74b067bbc
2023-03-30 10:13:07 +08:00
Nicolò Mazzucato
89cdd74ec4 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev am: 3029b6ee68 am: 483c128b6e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21938815

Change-Id: Ic224224311fde3f7e5f0b3e3cbbf8d17942c440a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 20:21:43 +00:00
Nicolò Mazzucato
3029b6ee68 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev 2023-03-13 19:39:51 +00:00
Nicolo' Mazzucato
628167f508 Increase keyguardDrawnTimeout to reduce fold->AOD flickers
This is a temporary measure to decrease the chances of flickers when folding to aod, while we work in parallel to decrease latency.

According to ww metrics, Fold to AoD takes:

p50: 714ms
p89: 1020ms
p95: 1147ms
p99: 1577ms

Once we hit the keyguard drawn timeout, the screen is turned on . However, in some cases sysui and launcher are not ready, and this results with the screen on while showing the unfolded layout, with a rapid transition to the folded one (according to pitot data[1], this happens in 11% of the fold->aod).

This cl sets the timeout to 1700ms (slightly higher than p99). In this way, the chances to have flicker are greatly reduced, but the underlying latency problem remains.
In parallel, we're looking to decrease this latency (see bug).

[1] https://screenshot.googleplex.com/9gV9nEfpstkJmCt

Bug: 243015678
Test: fold->aod many times, no flicker.
Change-Id: I0738901279136dd7577016a3ba46dc4c5b9a86f1
2023-03-10 08:26:16 +00:00
TreeHugger Robot
4346d16968 Merge "Persist the nit brightness for the default display" into tm-qpr-dev 2023-03-09 15:11:33 +00:00
George Chang
98975398c6 [NFC] Add antenna position coordinates
Bug: 272406680
Test: manual
Change-Id: I5a58dd5cfb603f977dc4ded8617c6ca7f67b1663
2023-03-09 13:31:28 +00:00
Piotr Wilczyński
0af89589cf Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-09 11:36:06 +00:00
Weizhung Ding
ab4ddf458e Merge "extend lux/brightness mapping table" into tm-qpr-dev am: 54d838fdb8 am: ff35776872
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21695292

Change-Id: Ibc7069db1a0393f30c4eb2e2bd0b502a0cf0aee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 11:12:39 +00:00
TreeHugger Robot
0471d19f34 Merge "Persist the nit brightness for the default display" into udc-dev 2023-03-09 11:05:57 +00:00
Piotr Wilczyński
e00b9fb531 Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-08 18:03:44 +00:00
Suprabh Shukla
4267c03e58 Add device map for wakeup attribution to felix
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: I3988cde6d8c5258c1f952ccd8c0a08143998473a
2023-03-06 16:52:50 -08:00
Weizhung Ding
2e9591f5b3 extend lux/brightness mapping table
extend lux/brightness mapping table to support 1200nits

Bug: 270673324
Test: brightness level can be 100%
Change-Id: Ie77e797fa5f4a860f8fdd6c84379819dd870192d
2023-03-06 12:43:04 +00:00
Amy Hsu
d1f7d6e198 Merge "display: remove the blocking zone for HBM HDR in config" into tm-qpr-dev am: 9371b94685 am: a8cfb736d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21398184

Change-Id: Id85403e4d1c0fb9cef888cb1870c77e1014f586e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 11:31:43 +00:00
Amy Hsu
aaa5680897 display: remove the blocking zone for HBM HDR in config
We have different settings for inner and outer. So we will use display
config to set them separately.

Bug: 258107876
Test: manual testing
Change-Id: I12ea64b9874ee79eec94c4ede6fa2320b27d0c41
2023-02-13 08:24:10 +00:00
TreeHugger Robot
dd1ae5dd28 Merge "display: update golen profile" into tm-qpr-dev am: 6c639fa361 am: cab5500408
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21298538

Change-Id: Ic1aa49f75131b5632b3b33f22f688200aa2be999
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 09:16:17 +00:00
TreeHugger Robot
6c639fa361 Merge "display: update golen profile" into tm-qpr-dev 2023-02-10 07:46:15 +00:00
TreeHugger Robot
dc6d46bc50 Merge "Customize AuthCredentialPatternContainerStyle for F10" into tm-qpr-dev am: f72f2a3b51 am: b3e8fd2369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21346464

Change-Id: Ib107caa9fc07b04ebb750eb3dd97992ae5b72ce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 05:16:40 +00:00
lbill
09aafc6f77 Customize AuthCredentialPatternContainerStyle for F10
In unfold display, the pattern view UI showing in 2 panes
But the additional horizontal padding make the pattern view
truncate.

Test: build and flash, use demo BP to check the pattern view UI
Test: run CTSVerifier and check the test
Bug: 268276210
Change-Id: Idc040bf7f022c1a282c46d1652a0ce3ca75c1839
2023-02-09 11:49:20 +00:00
Weizhung Ding
2771a88955 display: update golen profile
Bug: 267418808
Test: check log and dumpsys
Change-Id: Ifb38c6e9d14932ffbb57393f828c1a77ac30eac2
2023-02-06 21:59:32 +08:00
George
13fcc02a70 [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: Ic1d4d97a50231b4ce1d8d0f5cc9d7ba2e134f983
2023-02-01 18:02:05 +08:00
Nick Chameyev
4e0ea7f986 Update StatusBar height for portrait unfolded screeen am: a976196f43 am: 3bc2ad2c3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21024527

Change-Id: Iaca68245961d8f91e65e880f417c614c0fd55de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 12:41:43 +00:00
Nick Chameyev
a976196f43 Update StatusBar height for portrait unfolded screeen
Currently, 3P apps could read the system resource
of status bar height for portrait orientation on the
unfolded screen. Updating this value to a correct one.

Bug: 264656380
Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624
Test: manual
2023-01-18 17:55:37 +00:00
Jason Chang
58c5fede9c Merge "Fix expanded Accessibility overlaps with Face Circle in Educational Screen" into tm-qpr-dev am: fae76d2817 am: 0137379e33
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20999814

Change-Id: Iab695af0d709c93520fca66a8dffce015dfd1ebb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 05:08:27 +00:00
Jason Chang
fae76d2817 Merge "Fix expanded Accessibility overlaps with Face Circle in Educational Screen" into tm-qpr-dev 2023-01-17 04:05:10 +00:00
Jason Chang
ca78ce4056 Fix expanded Accessibility overlaps with Face Circle in
Educational Screen

Fine-tuning Face enroll education page layout for expanding
Accessibility option.

Bug: 265474776

Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation with turned on expanded Accessibility option, and
they should not be truncated.
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"

Change-Id: I42e28a36fac9cd07dcacd4a16aab09de99211350
2023-01-16 14:44:39 +00:00
Ed Lin
2e3a28dad3 Merge "Update ./DevInfo/Mod model name" into tm-qpr-dev am: f4f56174bc am: c0e1335fc1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20903926

Change-Id: Ic5dc2afd36e5467f6eb0daa8a0114b140179de71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 04:39:04 +00:00
Ed Lin
f4f56174bc Merge "Update ./DevInfo/Mod model name" into tm-qpr-dev 2023-01-16 04:02:01 +00:00
Jason Chang
c6deef3f39 Merge "(1/2) Fix settings face enrollment UI layout problem" into tm-qpr-dev am: c2317d0875 am: b5b5767e6f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20903927

Change-Id: If36b68275cd5980a3918d9d6e3e4bc3fa99d189c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 22:21:10 +00:00
Jason Chang
c2317d0875 Merge "(1/2) Fix settings face enrollment UI layout problem" into tm-qpr-dev 2023-01-13 12:31:40 +00:00
Jason Chang
cf83f6dd52 (1/2) Fix settings face enrollment UI layout problem
Use overlay mechanism to adjust face_enroll_education.xml layout
dimensions for ToF.

1. Fix settings face enrollment UI truncate problem
2. Fix It's hard to tap "setup for limited vision or head motion"
button

Bug: 260653042
Bug: 263065347

Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation do not truncate.
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"

Change-Id: Ib42a2632bf501b20b4386ed656701ca8ec7b3924
2023-01-13 10:44:24 +00:00
Bill Lin
929765b6bd Merge "(1/2) To config new UI for ToF Success Screen (Face Enroll Confirmation) page" into tm-qpr-dev am: 0d28b35a6d am: 5f8a7caa67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20860064

Change-Id: Iba6d62333e0e4c24dbce484ac3e034e6393de741
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 04:55:50 +00:00
Bill Lin
0d28b35a6d Merge "(1/2) To config new UI for ToF Success Screen (Face Enroll Confirmation) page" into tm-qpr-dev 2023-01-13 01:45:00 +00:00
Bill Lin
c15c214b88 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev am: a439291b27 am: fafba3359f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20747854

Change-Id: I738bfa90df89532206835f11677e0df1691ced22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 08:45:13 +00:00
Bill Lin
0e6064843c Merge "4-2/ Config config_face_auth_supported_posture to listen for face on folded state" into tm-qpr-dev am: 7f9a7ed35a am: 2a24331bbf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20640912

Change-Id: I9ab16a9dee621dd3ece0e2760e14b1a37f8591c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 08:45:02 +00:00
Bill Lin
a439291b27 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev 2023-01-12 07:20:36 +00:00
Ed Lin
e27ae7476e Update ./DevInfo/Mod model name
Need to set model name to G9FPL

Bug: 264506118
Test: b/264506118#comment9 pass
Change-Id: I9f8eee3bf9a23d56055b28c8273115e75b464df9
2023-01-10 11:37:37 +00:00
Jason Chang
7e5ff341e3 (1/2) To config new UI for ToF Success Screen (Face Enroll Confirmation)
page

Set overlay configuration file for ToF new UI changes.

Bug: 263411275

Test: Manual launch security settings face enroll and make it success.
Test: make RunSettingsRoboTests ROBOTEST_FILTER= \
      "com.google.android.settings.biometrics.face.
      \FaceEnrollConfirmationTest"

Change-Id: I367822350febbe58724bfdbc40d1f5a2bc5f3b17
2023-01-06 15:20:15 +00:00
lbill
4e71fdbecd 4-2/ Config config_face_auth_supported_posture to listen for face on folded state
1. Set config_face_auth_supported_posture to 1(DEVICE_POSTURE_CLOSED)
2. Set the camera id to 1 for the front camera

Test: Check face auth do not active when device on unfolded state
Test: Check face auth active when device on folded state
Bug: 260636659

Change-Id: I6cbaa43bd7a60e3ac1aa1c14c8bb6559c7e3a8c6
2022-12-22 18:17:53 +08:00
Labib Rashid
75a3181d7a Update MIPI Coex table for foldable display am: be89e881ec am: 22e7296869
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20770034

Change-Id: I26494a7ae887d14d55ed8e995cf5b85389207050
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 05:28:53 +00:00
Labib Rashid
be89e881ec Update MIPI Coex table for foldable display
Source:
https://docs.google.com/spreadsheets/d/1wE755LyNtPcAtzDJhMs0WbwBllaYB8vsVmy9UsAswHM/preview#gid=0

Bug: 258743031
Test: go/dynamic-frequency-test
Change-Id: I2efa699b83ae667d8cd574ebc3905c8599de5aa5
2022-12-19 10:03:30 +00:00
lbill
a526c9aeaa 5/ Turn ON face auth dismisses keyguard by default on F10
Bug: 260636659
Test: manual build and check face auth default settings
Change-Id: I592b3b69cf3e078f4dad9466a044da9526c3400b
2022-12-16 07:25:05 +00:00
Long Ling
0ec20e5c1a Merge "preload default smooth display regamma data" into tm-qpr-dev am: 0ee986169b am: 6a217e12ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20723674

Change-Id: I741d3a01f23bd68a176cd8ffb24ef396f52604fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 18:44:25 +00:00
JimiChen
92b2c48283 upadte felix_camera_front_inner_mipi_coex_table am: dffb53df97 am: a3c32bb079
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20746666

Change-Id: Ibd314ae15917cc246d756a1fcaa7c39184d2170e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 18:44:05 +00:00
Long Ling
0ee986169b Merge "preload default smooth display regamma data" into tm-qpr-dev 2022-12-15 17:31:50 +00:00
JimiChen
dffb53df97 upadte felix_camera_front_inner_mipi_coex_table
Bug: 258743031
Test: scone_release.apk
Change-Id: I2c07f0f91f3638e35c16a3cb6f2e511c9393f5d5
2022-12-15 22:10:16 +08:00