Commit graph

130 commits

Author SHA1 Message Date
Roshan Pius
f7dae2aa9d felix(nfc): Modify NFC overlays for NFC apex am: 422f737c4b am: 0d481cf369 am: 445c61a269
Original change: https://android-review.googlesource.com/c/device/google/felix/+/2804475

Change-Id: I84a650d23e538b51152760d4d920f604b399208e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 15:29:06 +00:00
Roshan Pius
0d481cf369 felix(nfc): Modify NFC overlays for NFC apex am: 422f737c4b
Original change: https://android-review.googlesource.com/c/device/google/felix/+/2804475

Change-Id: Ifc7551059829f274a7dd34e8a97e5975aeae61b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 14:33:56 +00:00
Roshan Pius
422f737c4b felix(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: I4c02990bf44fb5f8de360572f1b15ae6f70520ff
2023-10-26 04:06:11 +00:00
ClintChen
ec6d75e7c3 F10: Enable build flag versioning for radio and bootloader
Bug: 301142125

Change-Id: I999d9a7c8c8278808ab29415fe903a5127d67941
2023-10-03 09:37:12 +00:00
Shivangi Dubey
d315dcb7c8 Enable Fold Lock Behavior in config.xml
Enable Fold Lock Behavior in config.xml and let it be controlled by sysprop flag 'persist.fold_lock_setting_enabled'.

Bug: 298200843
Test: Flash the device with this build.
* Manually check if the setting accessible.

Change-Id: Ide72528bfd40a6c7460a8ecb0565f1c791d4c8cf
2023-09-27 11:42:06 +00:00
Sherry Zhou
e13d6452dd Change the translationY for smartspace in Felix on lockscreen am: db7dfb48cc am: b9e7af3e6a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24762778

Change-Id: I2c838fbf39189fa973dc8d5d5d7204b4205396b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 20:34:15 +00:00
dshivangi
a48e609ce2 Disable Fold lock behavior setting in UQPR1 am: 84b043b65b am: a3d2732af4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24657714

Change-Id: I32b50bfe2391223863dc7569ab6a7c6b052ac766
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 10:37:58 +00:00
Sherry Zhou
db7dfb48cc Change the translationY for smartspace in Felix on lockscreen
Bug: 299034855
Test: manual test on Felix
Change-Id: Ieee20f807ab8727dbbcb374a1e77e774ea1a05c0
2023-09-20 17:01:22 +00:00
dshivangi
84b043b65b Disable Fold lock behavior setting in UQPR1
Disable Fold lock behavior setting in UQPR1 as it is supposed to be released in UQPR2.

Bug: 298200843
Test: Flash the device with this build.
* Manually check if the setting accessible.

Change-Id: Iefb62dd1f5249aadd43e308ca3f853cf457193ce
2023-09-19 11:09:28 +00:00
Treehugger Robot
592c2f9908 Merge "Apply new IA requirement on M23 device" into udc-qpr-dev am: 76da775460 am: de7c519653
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24754227

Change-Id: I9de7bd20ff8f1c856624e56415d1dd2d0e06d6a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 09:46:06 +00:00
Kimi Hsu
40b614245c Merge "Update cutout rect" into udc-qpr-dev am: d993df8f1b am: 5030f8378e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24720473

Change-Id: Ieb8e8b0188fb28e5ee6e6d6c4b6c6e3766119a21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 09:45:17 +00:00
Treehugger Robot
76da775460 Merge "Apply new IA requirement on M23 device" into udc-qpr-dev 2023-09-19 08:20:07 +00:00
Willy Hu
30f245f7d0 Apply new IA requirement on M23 device
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.

Bug: 300203182
Change-Id: I608c7a6a5c6b28874ac69a8989f5c0f23320e5cd
Test: Build pass.
2023-09-14 15:34:38 +00:00
Kimi Hsu
628ddab6ab Update cutout rect
Bug: 298117208
Test: make
Change-Id: I82e9549ed91d2ef212775492f6e82e9789210fef
2023-09-13 09:25:37 +00:00
Shivangi Dubey
9e5f0664e4 Merge "Refine fold setting" into udc-qpr-dev 2023-09-06 14:28:45 +00:00
dshivangi
eb1b08f16b Refine fold setting
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting.
Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v)
 *Always - Front display turns on when you fold your device [Currently available setting]
 *Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default]
 *Never - Front display locks when you fold your device [New option for user]

Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest
*Manual
  Flash the build with these changes
  Manually select options one by one
  Observe the behavior

Fixes: 294194379
Change-Id: I59e8ba653bdac397eec0be60b931dc1c6649843c
Merged-In: I59e8ba653bdac397eec0be60b931dc1c6649843c
2023-09-06 10:50:23 +00:00
dshivangi
61519d18a6 Refine fold setting
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting.
Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v)
 *Always - Front display turns on when you fold your device [Currently available setting]
 *Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default]
 *Never - Front display locks when you fold your device [New option for user]

Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest
*Manual
  Flash the build with these changes
  Manually select options one by one
  Observe the behavior

Fixes: 294194379
Change-Id: I59e8ba653bdac397eec0be60b931dc1c6649843c
2023-09-04 15:08:45 +00:00
Treehugger Robot
1a513f2b30 Merge "Fix overlap between smartspace and weather clock" into udc-qpr-dev am: 5ba793c2ff am: a1de289fc6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24458576

Change-Id: I574eb1401e0a8661a45665b95164891ad5949f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 21:51:11 +00:00
Sherry Zhou
2850f8598b Fix overlap between smartspace and weather clock
Test: manually test on Felix
Bug: 286888430
Change-Id: I92286b1ef610b13b76c0f24ffe1fc3592e26fe9e
2023-08-24 21:59:22 +00:00
Jason Chang
cd7773b1cd Merge "Adjust Power button light reveal position in line with the power button for F10" into udc-qpr-dev am: 4dc0462849 am: 9077cf541a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24439411

Change-Id: If29fb15ce15fe2c96400d5c924459381baddd3af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 07:44:11 +00:00
Jason Chang
b6466f4384 Adjust Power button light reveal position in line with the power
button for F10

To configure the power button light reveal’s y-axis offset.

Bug: 291954717

Test: manually test and check the Power button light reveal visually.
Change-Id: I97e6f3c5e30bf421b0cd82c065332765619a38b5
2023-08-16 07:50:05 +00:00
Shawn Lin
227e1a2bf7 Fix layout issue of pattern set up page in F10
Set the pattern view size to 290dp for F10

Bug: 285290323
Bug: 290721507
Test: manual
Test: Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER=\
      SetupChooseLockPatternTest
(cherry picked from commit f3e62f0321)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:84485a4bded56ebfa94fd95120820cec40048854)
Merged-In: I0bd45ad6f793afdec96ffd4a538539d040ad4993
Change-Id: I0bd45ad6f793afdec96ffd4a538539d040ad4993
2023-08-01 01:09:20 +00:00
Shawn Lin
64f23b99b6 Merge "Fix layout issue of pattern set up page in F10" into udc-qpr-dev am: 2f01441a4e am: 212f33700d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/24101124

Change-Id: I9a12cd9c7b9897f440f7d3849ff74b70a65b2c0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-18 04:50:42 +00:00
Shawn Lin
f3e62f0321 Fix layout issue of pattern set up page in F10
Set the pattern view size to 290dp for F10

Bug: 285290323
Bug: 290721507
Test: manual
Test: Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER=\
      SetupChooseLockPatternTest
Change-Id: I0bd45ad6f793afdec96ffd4a538539d040ad4993
2023-07-18 03:14:09 +00:00
matthuang
b6fb6e7ef2 F10: load s2mpg12-regulator in sequence.
Bug: 287238845
Test: sensor_test -ausf sample -s6
Change-Id: I743f58e75d333c7b21411109c27d5458bb4bfeac
2023-06-30 10:46:07 +00:00
Evan Laird
15ac3c0b7e Update Felix inner corner assets from design
New corner spec imported from design that properly becomes flush with
the vertical and horizontal sides.

Bounding box set based on a 79px size, via a 5.28mm corner and a
conversion of 1px = 66.9um

Test: adb shell setprop debug.screenshot_rounded_corners 1 && <restart sysui>
Fixes: 283827918
Change-Id: I41b976243ac1497e45f74d4172c75093e8334268
2023-06-16 16:17:16 +00:00
Hawkwood Glazier
168dab2357 Felix overrides for smartspace positioning
Bug: 283308908
Test: Manually checked a bunch of configurations
Change-Id: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1
Merged-In: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1
2023-06-07 18:49:45 +00:00
Hawkwood Glazier
faf33fae44 Felix overrides for smartspace positioning
Bug: 283308908
Test: Manually checked a bunch of configurations
Change-Id: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1
2023-06-01 18:48:18 +00:00
Suprabh Shukla
a452a3e6f6 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: If89df80027baff8734d31fd64bbdae5ab3d78251
2023-05-26 13:11:01 -07:00
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