Martin Liu
f7a71debb7
gs201: tweak memory management
...
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60
This tweak also aligns the policy with P23.
Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Bethany Barrientos
c7b6ab33ef
Grant default permissions to PCS for camera connectivity
...
- android.permission.POST_NOTIFICATIONS
- android.permission.BLUETOOTH_CONNECT
- android.permission.BLUETOOTH_SCAN
Test: Same as others in topc
Bug: 287069860
Change-Id: I96d5bcc4847138db92f89933ba084af7a2648456
2023-09-12 15:18:54 +00:00
Jorim Jaggi
679cf27ac4
Revert "Enable small dirty detection for variable refresh rate"
...
Revert submission 24149209-enable-vrr-extension
Reason for revert: Bug: 299131033
Reverted changes: /q/submissionid:24149209-enable-vrr-extension
Change-Id: I1d21a42726ba36f7f21a56bbc28c40befa7a5270
2023-09-07 17:48:31 +00:00
Arthur Hung
7b31924b74
Enable small dirty detection for variable refresh rate
...
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:22:06 +00:00
Wilson Wu
4369c3083d
Support variable refresh rate when typing on gs201
...
Enable config_variableRefreshRateTypingSupported
for gs201 devices.
Bug: 283055450
Test: build
Change-Id: I88757928225224f492365dc8cb85cc7fce01036b
2023-09-01 07:34:44 +00:00
Krzysztof Kosiński
9f82f3b251
Set USF SoC from board makefile.
...
Bug: 296943650
Test: presubmit
Change-Id: I020eec4f355b4977ff1194a7f146f814874aeb55
2023-08-25 02:52:20 +00:00
Alec Mouri
11e675bb97
Enable dimming in gamma space in screenshots for adaptive mode
...
This fixes a flicker during screen rotation
Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33171da4fbae416c9243dc6d036988418dd4f4fd )
Merged-In: I30cc2373acc089bac066c731bdd48632a7a79da3
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
2023-08-18 20:48:23 +00:00
Kelly Rossmoyer
6ea9de413c
suspend: enable adaptive suspend
...
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s. This is the same configuration that
was deployed on the previous generation of devices.
The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.
Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior
Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
2023-08-16 23:17:16 +00:00
Mark Chang
6ba21169aa
Remove IScreenProtectorDetectorService.
...
Service not enabled on gs201 devices.
Test: Failed tests no longer reported.
Bug: 293555121
Change-Id: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Merged-In: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Signed-off-by: Mark Chang <changmark@google.com>
(cherry picked from commit 94e5bab69e
)
2023-08-10 23:46:02 +00:00
Ziyi Cui
f3dfb2dad7
gs201: Add path reading for StormIRQ
...
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Merged-In: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Change-Id: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit e9dab393fc
)
2023-08-09 00:50:07 +00:00
Renato Grottesi
e711587192
Disable armnn nnapi backend am: e33182147a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24342934
Change-Id: I2eee7a6407a2720f4c113b77d93ae53b488b17fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 14:56:15 +00:00
Renato Grottesi
e33182147a
Disable armnn nnapi backend
...
Discontinue maintenance and active support of ArmNN on Pixel phones.
Bug: 294459623
Test: Local nnapi_info
Merged-In: Ic0db64d2eec0cb955ae710fa0ac89de3d7136db6
Change-Id: Idfa020dc46070764ccfff148b1fdfc72ccd16442
2023-08-08 06:15:55 +00:00
Leo Chen
52301273fb
Update IDisplay to V9
...
Bug: 255986866
Bug: 227384721
Change-Id: I85d56f6a3a20f512f42923af95d77e25375c8fde
2023-08-01 03:35:12 +00:00
Ian Elliott
db1a72ccdb
gs201: Enable SkiaVk as RenderEngine backend
...
This changes RenderEngine from using the SkiaGL backend to using the
SkiaVk backend.
Bug: 290248072
Test: Manual testing
Change-Id: I2e9c9fe01c84ad06116435567bb1b02b54677cef
2023-07-28 18:34:30 +00:00
Robin Peng
5f0318b21f
do not mount the debugfs on userdebug builds
...
Bug: 278988913
Change-Id: I5c703310a4f82acf52fad87854682ca6e668d99b
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-07-26 00:25:54 +00:00
Akilesh Kailash
06b17a25e1
Use lz4 compression instead of gz.
...
Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4
Test: OTA
Bug: 291594891
Signed-off-by: Akilesh Kailash <akailash@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:62afad0252b57c00847d4942504c6435105b8ccb )
Merged-In: I0a6b164432e16f531c0cc1157814411960915539
Change-Id: I0a6b164432e16f531c0cc1157814411960915539
2023-07-25 03:52:08 +00:00
Ilya Matyukhin
c011b953ff
Bump IDebugManager version to 4
...
Bug: 278914238
Test: build
Change-Id: I82bc2459776961a8a4d921aaecfa081dcbda6a00
2023-07-20 18:58:38 +00:00
Renato Grottesi
0d5fddfe8d
Remove settings for old ArmNN HIDL backend am: c0baa17abe
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24059470
Change-Id: If0ea12a125a6cc44dc157fb66c35884105ca34d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 07:28:19 +00:00
Renato Grottesi
c0baa17abe
Remove settings for old ArmNN HIDL backend
...
Compile ArmNN shim over the support library.
Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.
Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Merged-In: I3652eceb14d06a3e909444edc21ad86d9378bc6c
Change-Id: If26928b13cdd9f3342026af95b9446f2918784fa
2023-07-20 06:37:06 +00:00
Cody Northrop
49f3b66b3a
EGL: Reduce multifile blobcache limit to 32MB am: 5c4cbe4023
am: 66f9fff138
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24044691
Change-Id: I4044651f9399423d294548773e40b3fa9f181cfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 23:02:52 +00:00
Cody Northrop
66f9fff138
EGL: Reduce multifile blobcache limit to 32MB am: 5c4cbe4023
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24044691
Change-Id: I8f8b2b82e2c79ecb541d3a46cb21ec62cbc9e146
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 22:14:03 +00:00
Cody Northrop
5c4cbe4023
EGL: Reduce multifile blobcache limit to 32MB
...
Loading the larger limit is taking too long in the field for
apps that are filling the cache.
Test: Ran app until it exceeded cache, watched it reset to 50%
Bug: 290249239
Change-Id: I1b80b8ad427d8a0d2a6d967b98b89d808c549527
2023-07-14 20:52:43 +00:00
samou
8990012f1d
bcl: mask out clock divider for CPUCL1
...
Bug: 288238917
Change-Id: I330d966ee13539fcb46d54883d04b42152f6a58f
Signed-off-by: samou <samou@google.com>
2023-07-14 02:37:43 +00:00
qinyiyan
fdf5f05984
[automerger skipped] Use version 1 of the DBA service, since version 1 is the only frozen am: 66a548d416
-s ours am: 0845f0ca7a
-s ours
...
am skip reason: Merged-In Ieec5b8b48c3567c940717df55a2e4582ef47d16c with SHA-1 0964781a6c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23924862
Change-Id: I23a6d1bd4c8475eb9e7e6eb7892032c077dfa900
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 23:47:59 +00:00
qinyiyan
0845f0ca7a
[automerger skipped] Use version 1 of the DBA service, since version 1 is the only frozen am: 66a548d416
-s ours
...
am skip reason: Merged-In Ieec5b8b48c3567c940717df55a2e4582ef47d16c with SHA-1 0964781a6c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23924862
Change-Id: I17ff986e63973db166c23f4150c18141a1682a0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 23:03:02 +00:00
qinyiyan
66a548d416
Use version 1 of the DBA service, since version 1 is the only frozen
...
version.
bug:289317242
Change-Id: Ieec5b8b48c3567c940717df55a2e4582ef47d16c
Merged-In: Ieec5b8b48c3567c940717df55a2e4582ef47d16c
2023-07-12 22:16:59 +00:00
qinyiyan
fd428b4b0a
Use version 1 of the DBA service, since version 1 is the only frozen am: 0964781a6c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23925984
Change-Id: I97e65c330c69770ae5197142a7471c5fb7df1238
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 23:22:23 +00:00
qinyiyan
0964781a6c
Use version 1 of the DBA service, since version 1 is the only frozen
...
version.
bug:290377605
Change-Id: Ieec5b8b48c3567c940717df55a2e4582ef47d16c
2023-07-11 17:55:15 +00:00
TeYuan Wang
34bb36163d
Cancel boost on off-mode charger
...
Test: Build
Bug: 289120007
Change-Id: I753f9233600c1374f35de3eda0513451b602795a
2023-07-11 02:02:50 +00:00
Hsiu-Chang Chen
36494e4c4d
wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable
...
Bug: 287607876
Test: SAR scenario is set properly with motion sensor status
Change-Id: I4d0169f08a8aca4f516b775c63d36457c4ab96e2
2023-07-10 09:09:29 +00:00
Avichal Rakesh
78f6f8b59d
usb.rc: Remove write permissions from uvc specific files
...
Files created by the uvc driver gives write permissions to 'other' by
default. This permission is not needed at runtime. To minimize write
privileges, this CL removes other-write permission from all uvc config
files that had it.
Bug: 242344229
Test: Manually verified that no files have other-write permissions
Change-Id: I27611d0ba4ecf2851aef6ea8bd613284744142fb
2023-07-07 21:53:53 +00:00
Randall Huang
0e178ea210
fstab: add the noatime for read-only ext4 partitions
...
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I44f9632cc7b848d6fe673232be014cef71355018
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-06 14:59:39 +00:00
Sebastian Pickl
ac5dd11596
Revert "bt: make bluetooth own the data vendor bluetooth folder ..."
...
Revert submission 23844270-P22-vendor-log-udc-qpr
Reason for revert: causes selinux tests to fail b/289989584
go/abtd: https://android-build.googleplex.com/builds/abtd/run/L37600000961782595
Bug:289989584
Reverted changes: /q/submissionid:23844270-P22-vendor-log-udc-qpr
Change-Id: Ife1c71257572101c32b9e6f60c275b9366c654b2
2023-07-05 11:28:39 +00:00
Nicole Lee
05ec1a52e6
Update pixel stability logging mask
...
- Update format to align p23 radio codebase
- Enable UHAL_COMMON, UHAL_MISC, UHAL_SLEEP
Bug: 289694702
Change-Id: Ida0eae486d0de3f14f85aec1edb209d56129a4c5
2023-07-05 08:41:34 +00:00
Patty Huang
f77e84ac98
bt: make bluetooth own the data vendor bluetooth folder permission
...
Bug:289055382
Test: enable vendor debug log and check the vendor snoop log contain the
vendor log
Change-Id: If3e247093deae5b9d5c237dc585973e77a0629b1
2023-07-05 06:16:08 +00:00
ChengYou Ho
99f7374ba0
device.mk: add misc_writer am: 1d66ee690b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23844835
Change-Id: I7c71a5303fb8d5c2c00b51593518627e05cd7b46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-05 02:13:47 +00:00
ChengYou Ho
1d66ee690b
device.mk: add misc_writer
...
Bug: 285803498
Bug: 271950369
Change-Id: I4974f32fe49d218f7954568db4c585896b29f4f4
2023-07-05 01:32:06 +00:00
Luis Delgado de Mendoza Garcia
03df275b45
Add chre dedicated channel and start using them in chre_daemon.
...
Adding the necessary entries to ueventd for gs201 and newer and
enable the flag for chre_daemon to start using the channel.
Bug: 241960170
Test: in-device verification.
Change-Id: Ie53e3c21e6c83f9e184d31fd189cff3e5602bb2b
2023-07-03 02:57:05 +00:00
guibing
ae51b7425b
init: reduce the boot boost uclamp min.
...
Use a moderate boost instead of fmax out of thermal constraints.
Bug: 284039815
Test: boot ab tests
Change-Id: Ie8d321e20d64e97d2896f6e5cf6f437dede84928
2023-06-30 08:38:04 +00:00
Habib Moukalled
aee7da9f88
Updating VINTF manifest for IDebugManager. am: 2a4d72f894
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23816646
Change-Id: Ie3e453bd7c0874777fded69a0d55be39b8cd7bd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 18:39:50 +00:00
Habib Moukalled
2a4d72f894
Updating VINTF manifest for IDebugManager.
...
Notes:
- Updating AIDL HAL for IDebugManager.
Bug: 284165549
Test: build test
Change-Id: I07aad9ee651d299d294b6c6627baa33ae65f6099
2023-06-26 20:17:14 +00:00
qinyiyan
0565d4f9d1
[automerger skipped] [RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the am: 01ab29cf96
-s ours am: 0fa62e677e
-s ours
...
am skip reason: Merged-In Ied0a9cd3fa37b86071f7961380fc5457f9cdcbd6 with SHA-1 2c59ef36b1
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23604452
Change-Id: I412a9f3f58ab98e226102ad23301a49db29f9838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 21:37:23 +00:00
qinyiyan
0fa62e677e
[automerger skipped] [RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the am: 01ab29cf96
-s ours
...
am skip reason: Merged-In Ied0a9cd3fa37b86071f7961380fc5457f9cdcbd6 with SHA-1 2c59ef36b1
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23604452
Change-Id: I0c3b012d4df41e6c624c7dfd7e18ca8c49a373c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 21:03:43 +00:00
qinyiyan
01ab29cf96
[RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the
...
framework matrix xml.
Bug: 279092299
Change-Id: Ied0a9cd3fa37b86071f7961380fc5457f9cdcbd6
Merged-In: Ied0a9cd3fa37b86071f7961380fc5457f9cdcbd6
2023-06-21 19:45:29 +00:00
joeshih
c32d600189
[SEPolicy]Change to gs-common. am: 7c1bd9d937
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23737414
Change-Id: I76f684cdf7828ed753e91bbfaef13656cf156297
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 07:05:11 +00:00
joeshih
7c1bd9d937
[SEPolicy]Change to gs-common.
...
Bug: 28716739
Test: Forrest build to verify pass.
Change-Id: I9f0de576e5ab9ec800dfff132fc9ab1ba3b6f7e2
2023-06-19 06:21:18 +00:00
Rick Yiu
0df3e93296
Make bg group throttle value experimental am: 7e4ac7e54e
am: a6499b7e3e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23728183
Change-Id: I65bb70b2e073fc3d686acaf0279f5fb7fb213b27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 18:02:19 +00:00
Rick Yiu
a6499b7e3e
Make bg group throttle value experimental am: 7e4ac7e54e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23728183
Change-Id: I6a4efe4b7342bc9c597359f73d8c8e837dbabef2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:15:58 +00:00
Rick Yiu
7e4ac7e54e
Make bg group throttle value experimental
...
Bug: 287562715
Test: build pass
Change-Id: I6482881c454687fe7ccae5d7d1da39d88b27a476
2023-06-16 11:19:18 +00:00
qinyiyan
30e4883753
Increase the com.google.edgetpu.dba service version to 2 in the am: 2c59ef36b1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23604455
Change-Id: I9b7556401609b1a9cbb02434e13ced7a19eaa886
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-12 17:21:32 +00:00