Commit graph

152 commits

Author SHA1 Message Date
Roshan Pius
8c24309054 raviole(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: I9a6de12915c42f22cca35543e665ff0a003938dd
2023-10-25 14:56:26 -07:00
Richard Chang
0337a84b9f raviole: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I9672bc93d6212bee842c7a86a351d4e286eeda67
2023-05-15 02:29:10 +00:00
Kenzi Mudge
74fa556410 Enable UWB filter engine
Updated overlay file to configure and enable the UWB filter engine on
Raven.

Bug: b/237098661
Test: make, flash, manual test
Change-Id: I421b1b7335d9a403d0cfed5486457c2dfb5fa051
2023-05-10 16:51:31 +00:00
chengfeitao
9639724097 Replace slowJepg build time overlay with runtime overlay
Use runtime resource overlay instead of build time
config overlay so that P21 and later devices are covered
automatically

Bug: 274172776
Test: Manual testing with Messenger app video call
Change-Id: I56f1ab98c09120460af68a5c44c6a243d8d70690
2023-05-05 19:48:31 +00:00
Suprabh Shukla
166b0791d3 Add couple of mappings for wakeup reasons
Adding mappings for sensor and cellular data wakeup reasons.

Test: Manually inspect the output of
`adb shell dumpsys batterystats --wakeups`

Bug: 276498460
Bug: 275436924
Change-Id: Ide367e74e7d8eb48ca940feb3a8e7dc9c1665600
2023-04-20 12:55:40 +00:00
Suprabh Shukla
c64d94bb94 Adding irq mapping for sound_trigger wakeups
Test: Manually, on a raven or oriole, inspect the output of
`dumpsys batterystats --wakeups`

Bug: 267717665
Change-Id: I92fce56d81a5915184b2c83d3b9c93af54d10af4
2023-04-13 00:05:15 +00:00
chengfeitao
96b853c5f1 Force slowJpegMode on certain camera1 apps
Turn off the large JPEG stream on camera1 apps
that experience high power consumption during
video call

Bug: 254350466
Test: Manual testing with Messenger app video call
Change-Id: Ic695299a03fe442e36a35b0770b855ac989c0923
2023-03-29 21:19:15 +00:00
Beverly
7099d94793 Remove unused dimen auth_ripple_alpha_in_duration
Bug: 274785453
Test: device builds
Change-Id: Ic6686d9508b6082e704caf1e360ae6d4bb8d72e7
2023-03-22 18:20:49 +00:00
George Chang
3a5e088ed2 [NFC] Add antenna position coordinates
Bug: 272406680
Test: manual
Change-Id: I181bccd705a12c336b4d38d1c623cbcb8ea176fe
2023-03-13 07:05:10 +00:00
Suprabh Shukla
45a3d0666d Add wakeup reason mapping for the wifi subsystem
Test: Manually: Build and flash a raven/oriole target and run:
adb shell dumpsys batterystats --wakeups

Bug: 265742148
Change-Id: I918fb6e071b6dda9250a0bde242b8b132592a53d
2023-03-03 02:27:38 +00:00
George
b486996267 [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: Id0df7652660c6e4677d8997d10e2ca3360a9c9fc
2023-02-01 18:00:29 +08:00
Chungkai Mei
12f1eff915 Load vh_sched kernel module in parallel
Bug: 237232510
Change-Id: I75453a94a6de7639bc0c6ebbe609a6a1b89c19fd
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-01-17 14:22:05 +00:00
Roshan Pius
19b9158d3d uwb(r4): Add UWB framework overlays rro app
Bug: 261908320
Test: Compiles
Change-Id: Ia2df1c0f58538b8407f6c3802c17fd093b6450e7
2022-12-09 22:44:48 +00:00
Shawn Lin
73f3280279 Add display shape config for oriole/raven
Bug: 236935288
Test: make
Change-Id: I00b485477e0c13b778a3b509b78c8c3efb8d611a
2022-12-01 07:34:25 +00:00
Shawn Lin
f25453deae Update status bar height to center the hole punch cutout am: b0dabc8ab3 am: 97185c7b13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/20194790

Change-Id: Ife7224f1c015e7fa59b7961f9bbfac13e463f212
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 07:42:50 +00:00
Shawn Lin
b0dabc8ab3 Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I036eff89d66fd93a7dba13408d920b726bf644bd
2022-10-25 18:59:35 +08:00
chungkai
f5ed634ec7 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: reboot more than 5000 times without failure
Bug: 229794277
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc
2022-10-17 04:51:54 +00:00
Suprabh Shukla
aec7fae739 Adding irq device map for oriole and raven
This mapping is used by the framework for attributing wakeups. Each
hardware device that can cause wakeups can be mapped to a list of
subsystems that rely on that device for functioning properly.

Adding the mapping of rtc clock in these devices to the "Alarm"
subsystem, which is the only subsystem currently defined by the
framework for wakeup attribution. More mappings can be added as more
subsystems are defined.

Test: Manually: Build and flash a raven/oriole target and run:
adb shell dumpsys batterystats --wakeups

The map output should match the xml file.

Bug: 249370357
Bug: 195684213
Change-Id: I11b8297ac07dee2bba3715e6047271026093c5c8
2022-10-12 19:54:38 +00:00
Ilya Matyukhin
d8637b8ac4 raven: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I4d0be5127c251b0d414fd5defae77609673c03ed
Merged-In: I4d0be5127c251b0d414fd5defae77609673c03ed
2022-09-19 23:50:26 +00:00
Ilya Matyukhin
ce2cb4d0e5 raven: remove unused udfps_illumination_transition_ms
Bug: 243818429
Test: N/A
Change-Id: I4d0be5127c251b0d414fd5defae77609673c03ed
2022-09-19 19:20:57 +00:00
SianyiHuang
fc8e269e71 Config: Update Auto Brightness debounce and ambient threshold setting am: aa61be1b30 am: c29cc70a46
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18658968

Change-Id: I351050b4be2502a20ed57773924bacebdcc5860b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 06:36:18 +00:00
SianyiHuang
aa61be1b30 Config: Update Auto Brightness debounce and ambient threshold setting
for p21

Bug: 234143564
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I29c714eb3ff87cf1563f1132e8f6fa7ea1c46ea9
2022-07-22 05:28:08 +00:00
Sam Ou
0ac04cc1b2 power_profile: update modem power numbers am: 46c85eb745 am: 26e609d7f4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18803243

Change-Id: I3e17e6900508d6ef1e8503f730dd66a53a3322e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 04:17:31 +00:00
Sam Ou
46c85eb745 power_profile: update modem power numbers
Bug: 209525694
Change-Id: Idb89f5e49e809a5fb41687111a55f07168f3bda3
Signed-off-by: Sam Ou <samou@google.com>
2022-07-18 03:58:38 +00:00
Gaurav Sarode
e481a9e240 raviole: Change the BoardConfig layout am: 55f68cb55c am: 19306fe332
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/19271437

Change-Id: Ib6be5a5ca34f6cedabc65ed7c9293f599ee82a0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 19:35:27 +00:00
Gaurav Sarode
55f68cb55c raviole: Change the BoardConfig layout
New structure will make sure all future changes to BoardConfig
will be applicable to AAOS on phone builds.

bug: 227488008
Test: Local build and wifi works on raven and oriole car builds
Change-Id: I928a2fb5cfc876427c382d06d798e684e0691ce9
2022-07-15 19:11:18 +00:00
Martin Liu
de226daaba Disable zone dma32 am: 95ab2f8f9e am: 7e943b3d89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/19204110

Change-Id: I0ea09c3eac22f74e0127c38795c756d334249121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 02:28:39 +00:00
Martin Liu
95ab2f8f9e Disable zone dma32
As HW doesn't have 32 bit address limitation, we can disable
zone dma32 to simplify memory management and improve performance.

Bug: 236225957
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I3297a9a7440e0baf80666152ae9f54e93491f362
2022-07-08 02:05:18 +00:00
Tomasz Wasilczyk
2a6a0231dc Allow including car boards from outside google_car
Bug: 224902566
Test: Build raven_car and oriole_car
Change-Id: If8b3da8c545b89093436f5ed6c0b65caf67bb5c2
2022-06-17 01:39:18 +00:00
Zac Iqbal
aa95ad8897 Revert "DO NOT MERGE Remove unintended faceauth configs am: a020..."
Revert "DO NOT MERGE Remove unintended face config am: 875235afbf"

Revert submission 18799414-am-e98f52416a40436ba0044e72d6feed21

Reason for revert: The merge path was only meant for tm-dev.
Reverted Changes:
I6ace51cab:DO NOT MERGE Remove faceauth from raven am: 783e56...
I049a9c205:DO NOT MERGE Remove unintended face config am: 875...
I50ae185c6:DO NOT MERGE Remove unintended faceauth configs am...

Change-Id: I26f6409b50769dac5509313a32517cb270edc779
2022-06-09 21:30:24 +00:00
Ilya Matyukhin
a020527c7b DO NOT MERGE Remove unintended faceauth configs
Bug: 210921116
Test: N/A
Change-Id: Ie10aaca6892b1246b57941d00b283f202b08035d
2022-06-08 17:09:35 +00:00
Jing Ji
ba78c78d87 Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.

Bug: 203105544
Test: dumpsys activity -a
Change-Id: I086b202c99d65472d143ee695b6c81d1c1897f70
2022-05-13 18:01:56 +00:00
Jason Chang
3b29f815ee Phase out config_roundedCornerMultipleRadius from overlay package
[O6/R4]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit tes
Change-Id: Ie0b0c7b9e3591f11e4a481440943cf0a8b328340
2022-04-21 06:17:44 +00:00
Jason(HeWei) Sung
7e6b11e758 Revert "Enable load kernel modules in parallel"
Revert submission 17690765-r4o6b3_parallel_load_enable

Reason for revert: b/229115072
Reverted Changes:
I387f425b1:Enable load kernel modules in parallel
I374a25b3c:Enable load kernel modules in parallel
Ia13bcadd9:Revert "Revert "fix path for i2c peripheral device...

Change-Id: Ie2550a1265b95e986305497faf56a47bf57a5d9b
2022-04-19 05:32:10 +00:00
shawnlin
8142ccbe43 [automerge] Update status bar height res to correct size 2p: fb9b9c83c4 am: b079c10eb3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17686747

Change-Id: Id2331d2e592e977747e7c7e74992415f8f511748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 02:35:46 +00:00
chungkai
36e728a381 Enable load kernel modules in parallel
only enable for launched project.

Test: boot to home screen without error and avc denials on R4/O6
Bug: 180676019
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I374a25b3c7debcf8a268e62f939a7909b31fe1e8
2022-04-11 09:21:28 +00:00
shawnlin
fb9b9c83c4 Update status bar height res to correct size
Test: make
Bug: 216782082
Change-Id: Ibc23f990e4fda040a86b52f78effce6da0235931
2022-04-11 11:52:09 +08:00
shawnlin
a8eb458e82 Fixed status bar glitch for apps that access internal resource dimen am: ab0dbdbc86 am: b355d1cd2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/17529726

Change-Id: I65f3b15310129858d8a1d526ed748f5c7b744f9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:21:39 +00:00
shawnlin
ab0dbdbc86 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: I05142c120f05bdb5fa0543e61a6f50f46f6b0d82
2022-04-07 13:33:27 +00:00
Lais Andrade
2cd7779f90 Revert notification patterns to default pre-S ones
Fix: 210535717
Test: manual
Change-Id: I6ead011f1cc28ea0c061941ab1665ed8250c3784
(cherry picked from commit ba9024c780)
2022-03-23 14:31:50 +00:00
Gary Jian
8e1b6a6f1c Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: Iad7af99ce56714001e0a35bd092b491af52ffdf2
2022-03-16 14:25:55 +00:00
Lais Andrade
e7fc69f520 Revert "Update notification PWLE patterns to a higher frequency range"
This reverts commit 25c80c8cca.

Reason for revert: This frequency range is still unstable, needs to be validated before it can be used.

Bug: 223739586
Change-Id: Id3853b1041d441f80b19965f5875040f2aabb8ab
2022-03-14 08:01:55 +00:00
Lais Andrade
25c80c8cca Update notification PWLE patterns to a higher frequency range
Make pattern vibrate on a higher frequency range to increase the overall
vibration intensity and make the notification vibration more noisy when
the phone is on a solid surface, to address user feedback.

Bug: 210535717
Test: manual
Change-Id: Ic7d97d35e271b23e34dde8afb92dfcee29e7563a
2022-03-08 16:16:28 +00:00
Lais Andrade
ba9024c780 Revert notification patterns to default pre-S ones [DO NOT MERGE]
Bug: 210535717
Test: manual
Change-Id: I6ead011f1cc28ea0c061941ab1665ed8250c3784
2022-03-08 16:07:40 +00:00
Chris Kuiper
2a08ff2983 Merge changes from topic "better-autobrightness-in-qpr3" into sc-v2-dev-plus-aosp am: ad141762cc
Original change: undetermined

Change-Id: I97940c2e4409e30fca67dc2cde3e47baaa273ca7
2022-02-16 16:51:39 +00:00
SianyiHuang
5d41f2aaa9 Config: fine tune the ambient threshold to improve the brightness
stability

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a
2022-02-16 16:32:05 +00:00
samou
cbc19f8cb5 power_profile: Correct CPU topology and power number for P21
Bug: 214127772
Signed-off-by: samou <samou@google.com>
Change-Id: I97273304126fd395ec2feafc002d91bdbac37dd7
2022-02-08 01:45:26 +00:00
Yohei Yukawa
504fe7e8ca Migrate "rounded_corner_content_padding" for raven/oriole
This CL updates resource overlay of

  rounded_corner_content_padding

for raven/oriole so that the same device-specific value can be seen
from both the Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: Id95b8c063ece7eb43d91f96afe21b4fb01e8b489
2022-01-28 12:03:33 -08:00
SianyiHuang
14150a77b9 Config: fine tune the ambient threshold to improve the brightness
stability

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: If75b3ed85d4cc2dccb24cb6bfb71e7e0958d986a
2022-01-21 07:35:07 +00:00
Lais Andrade
aa73129ab3 Add PWLE notification vibration patterns for P21 devices
Add the PWLE vibration pattern to the config.xml overlays for Pixel 2021
devices that support frequency control.

The patterns use the amplitude and frequency hand-designed for both
raven and oriole devices. The amplitude is using the maximum supported
value of 0.4, to allow scaling based on user settings.

Bug: 212366218
Test: manual
Change-Id: I73a2f3e50901b80aef299f4c8e9807a551170bbc
Merged-In: I73a2f3e50901b80aef299f4c8e9807a551170bbc
2022-01-13 13:52:54 +00:00