Amit Sunil Dhamne
b2232b52bb
usb: Modify sdp enumeration timeout value in charger mode
...
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.
ported from 6710e31a629f81cf308e1099f75a01c82db6d006
Test: Validate (in charger mode) that the sysfs attribute is 1
(meaning lower sdp timeout value is being used). Read dmesg to
see print showing timeout value is 5000ms.
Bug: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 14:01:34 -07:00
Qais Yousef
305dccf733
init.gs101.rc: Disable util-awareness
...
There are some regression reports. Disable them completely for now.
Bug: 297496375
Change-Id: I2a2b4d13366d3173c441e8ccad456a67ddd3a16b
Signed-off-by: Qais Yousef <qyousef@google.com>
2023-09-19 17:46:01 +00:00
Wilson Wu
b6c4eba975
Disable variable refresh rate when typing on gs101
...
Turn off config_variableRefreshRateTypingSupported on gs101.
Bug: 299966467
Test: presubmit
Change-Id: Ifcac7ffe451db1b5059fb8827be58c80be828178
2023-09-19 09:22:02 +00:00
Martin Liu
1540e87a66
gs101: 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: I0ed7088ddf2ff2fa0feca2197e5cc03c7f5c6778
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Bethany Barrientos
16f7cffd2d
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 topic
Bug: 287069860
Change-Id: I0f00e713f64f2e3676827eb2a0dc2dac873d3577
2023-09-12 15:19:03 +00:00
Jorim Jaggi
b2b8c18001
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: I9eb3fda4b994344b9125a6b6750cb38298a79db3
2023-09-07 17:47:34 +00:00
Arthur Hung
a18057de76
Enable small dirty detection for variable refresh rate
...
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:19:07 +00:00
Wilson Wu
c2823b1394
Support variable refresh rate when typing on gs101
...
Enable config_variableRefreshRateTypingSupported
for gs101 devices.
Bug: 283055450
Test: build
Change-Id: I3bd19cf75f84cbd5ef949d98a14ff2bd17391204
2023-09-01 07:34:44 +00:00
Krzysztof Kosiński
0c89ac66a3
Set USF SoC from board makefile.
...
Bug: 296943650
Test: presubmit
Change-Id: I11b488211c8bc140bc89c8ccad4a829b1db71d4c
2023-08-25 02:52:06 +00:00
Mark Chang
a7978e5c03
Remove IScreenProtectorDetectorService.
...
Service isn't enabled on gs101 devices.
Test: Failing tests no longer reported.
Bug: 293555121
Change-Id: Ie05b57baeb255fc171fb191dca0e7137fa35a4a2
Merged-In: Ie05b57baeb255fc171fb191dca0e7137fa35a4a2
Signed-off-by: Mark Chang <changmark@google.com>
(cherry picked from commit 5523c6a162
)
2023-08-10 23:46:43 +00:00
Ziyi Cui
5e1b03bf50
gs101: 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: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Change-Id: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit eb0c71135f
)
2023-08-09 00:50:07 +00:00
Renato Grottesi
b3a65b4770
Disable armnn nnapi backend am: fee0a1cbd1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24327405
Change-Id: I3739df45187b84c308350450af414410c3ef8da2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 14:56:15 +00:00
Renato Grottesi
fee0a1cbd1
Disable armnn nnapi backend
...
Discontinue maintenance and active support of ArmNN on Pixel phones.
Bug: 294459623
Test: Local nnapi_info
Merged-In: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Change-Id: I9b26de65620965a4b0a834f03fb9f34f966b5c5e
2023-08-08 05:23:41 +00:00
Leo Chen
117b84251b
Update IDisplay to V9
...
Bug: 255986866
Bug: 227384721
Change-Id: I60027d8eda35eddaee9093d3cd20b0b7d20a8f70
2023-07-21 03:02:40 +00:00
Ilya Matyukhin
88182691e5
Bump IDebugManager version to 4
...
Bug: 278914238
Test: build
Change-Id: Ic4e4039c2a31323eb6c620ffcfc6a15d67279a13
2023-07-20 18:58:38 +00:00
Renato Grottesi
8ce1587a5f
Remove settings for old ArmNN HIDL backend am: 185f372529
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24059469
Change-Id: Ib3084ef736be563eb2d2feb591ee390f9418a666
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 07:28:18 +00:00
Renato Grottesi
185f372529
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: I51b44b4e11444661cf965265113a22522568b9b1
Change-Id: I58316837c0ed87ce595be30657fd856969478809
2023-07-20 06:37:06 +00:00
Ian Elliott
b8a0da464b
gs101: 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: Iff67f9582cafdf99664ccc5771e8f9688ccb3209
2023-07-18 05:38:51 +00:00
Cody Northrop
05dca77dcf
EGL: Reduce multifile blobcache limit to 32MB am: 7b13bc6d5e
am: 96a18cc8c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24044711
Change-Id: I16f7a51145ea8d91829b9a6a1eeebc4b9148a08d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 23:02:51 +00:00
Cody Northrop
96a18cc8c0
EGL: Reduce multifile blobcache limit to 32MB am: 7b13bc6d5e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/24044711
Change-Id: Idc28f60080706ed9fc9b10daa033e0520f2877fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 22:14:03 +00:00
Cody Northrop
7b13bc6d5e
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: Ib4ec351fd5f2d59d161578440e8c0d36f8b68a6f
2023-07-14 20:52:43 +00:00
qinyiyan
c43d9d8074
[automerger skipped] Use version 1 of the DBA service, since version 1 is the only frozen am: e5e62a21a0
-s ours am: 5a3eb26050
-s ours
...
am skip reason: Merged-In I770b006b364eb371f4df95f48e2fe5be0c9a9bff with SHA-1 eca2cf5b90
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23924861
Change-Id: I34f7db7fcb2e7b65cb7074ee430568780275065f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 23:47:59 +00:00
qinyiyan
5a3eb26050
[automerger skipped] Use version 1 of the DBA service, since version 1 is the only frozen am: e5e62a21a0
-s ours
...
am skip reason: Merged-In I770b006b364eb371f4df95f48e2fe5be0c9a9bff with SHA-1 eca2cf5b90
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23924861
Change-Id: I99b352a33c5c6ee6194c0a2ba5bc70fd20035cab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 23:03:02 +00:00
qinyiyan
e5e62a21a0
Use version 1 of the DBA service, since version 1 is the only frozen
...
version.
bug:289317242
Change-Id: I770b006b364eb371f4df95f48e2fe5be0c9a9bff
Merged-In: I770b006b364eb371f4df95f48e2fe5be0c9a9bff
2023-07-12 22:16:59 +00:00
qinyiyan
10075c78f5
Use version 1 of the DBA service, since version 1 is the only frozen am: eca2cf5b90
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23925983
Change-Id: I8312c6b58378ff659b8f162ca88efc53f8140f65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 23:22:23 +00:00
qinyiyan
eca2cf5b90
Use version 1 of the DBA service, since version 1 is the only frozen
...
version.
bug:290377605
Change-Id: I770b006b364eb371f4df95f48e2fe5be0c9a9bff
2023-07-11 18:01:04 +00:00
TeYuan Wang
ca4d5b08d3
Cancel boost on off-mode charger
...
Test: Build
Bug: 289120007
Change-Id: Ie7bb050b98efa64eb63ad7a5c29fed7288448128
Signed-off-by: TeYuan Wang <kamewang@google.com>
2023-07-11 02:02:50 +00:00
Hsiu-Chang Chen
5b4a21f0bc
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: I65ab043eb950e08ed6401bba8a5dd3686ae7d358
2023-07-10 09:09:29 +00:00
Avichal Rakesh
98f9031aa8
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's write permission from all uvc config
files that had it.
Bug: 242344229
Test: Manually verified that no files have other-write permissions
Change-Id: I67d504fa924f90f3a54dab5264ab1609050f5dd5
2023-07-07 21:43:36 +00:00
Randall Huang
667c774ad4
fstab: add the noatime for read-only ext4 partitions
...
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I5efdb979e9c738964350b221b9f5fffea19c721d
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-06 14:17:54 +08:00
wenchangliu
ced663cf33
Update media_codecs_performance_c2.xml for meet device performance am: bd23691ee4
am: ff279f5ab5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23898224
Change-Id: Ie1630ef899f4f8b7e01ec70df92855c1b85ea676
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-06 01:17:56 +00:00
wenchangliu
ff279f5ab5
Update media_codecs_performance_c2.xml for meet device performance am: bd23691ee4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23898224
Change-Id: I8a7b7f3c90d545bcd68f291a2f0d76c8499065a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-06 00:26:12 +00:00
wenchangliu
bd23691ee4
Update media_codecs_performance_c2.xml for meet device performance
...
- align hevc/h264 encoder lower bound performance as P22's result
Bug: 288859756
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Change-Id: I303751fc45a8c58e7d6e501ffde2d29f6d3038ba
2023-07-05 23:31:54 +00:00
Patty Huang
0e265da01b
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: I0c490cfa30f289da098382cb7df24b04e2833921
2023-07-05 06:10:07 +00:00
ChengYou Ho
9530d79708
device.mk: add misc_writer am: 91b3ff19fb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23854005
Change-Id: Idefb8d777c889e240af2e40b3177c2e88ef51fe1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-05 02:13:47 +00:00
ChengYou Ho
91b3ff19fb
device.mk: add misc_writer
...
Bug: 285803498
Bug: 271950369
Change-Id: Ie16c800eac108ee27c53011cbffbb77c8854036d
2023-07-05 01:32:06 +00:00
guibing
f826dd437e
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: I5787a62ca26f9e128e73c7bf9d60c4d2216d5e0c
2023-06-30 08:38:21 +00:00
Habib Moukalled
28671a65d9
Updating VINTF manifest for IDebugManager. am: 7288396737
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23815092
Change-Id: I34e87263f495a95ecf6a3fb0a683c63e47df659d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 18:39:50 +00:00
Habib Moukalled
7288396737
Updating VINTF manifest for IDebugManager.
...
Notes:
- Updating AIDL HAL for IDebugManager.
Bug: 284165549
Test: build test
Change-Id: I3334a71e3680c991d91a67b3ff24c5bc4a57b0c1
2023-06-26 20:14:48 +00:00
qinyiyan
29659babf6
[automerger skipped] [RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the framework matrix xml am: bc400a2700
-s ours am: 891d518333
-s ours
...
am skip reason: Merged-In I2b89420ab8c2fac641af5e77baf71e74f9481bda with SHA-1 856066b7fc
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23604798
Change-Id: Ib89074b51d1149751848056d8fd46e383ffa2dfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 21:37:23 +00:00
qinyiyan
891d518333
[automerger skipped] [RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the framework matrix xml am: bc400a2700
-s ours
...
am skip reason: Merged-In I2b89420ab8c2fac641af5e77baf71e74f9481bda with SHA-1 856066b7fc
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23604798
Change-Id: I477173da7d4ff11cfbb1bdf8b42c9298a10e3046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 21:03:43 +00:00
qinyiyan
bc400a2700
[RESTRICT AUTOMERGE] Increase the com.google.edgetpu.dba service version to 2 in the framework matrix xml
...
Bug: 279092299
Change-Id: I2b89420ab8c2fac641af5e77baf71e74f9481bda
Merged-In: I2b89420ab8c2fac641af5e77baf71e74f9481bda
2023-06-21 19:45:29 +00:00
joeshih
6f60a42308
[SEPolicy]Change to gs-common. am: 2911c056d3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23737424
Change-Id: I3fecd0530a90c29bed19a9f5bbbbdbdc0ebbf177
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 07:05:11 +00:00
joeshih
2911c056d3
[SEPolicy]Change to gs-common.
...
Bug: 28716739
Test: Forrest build to verify pass.
Change-Id: I7a9d6fcf2680c9f55fd81df6f4d9845cc8456f83
2023-06-19 06:21:18 +00:00
Rick Yiu
be6209d3b4
Make bg group throttle value experimental am: 9bf9948f63
am: 372a4484b1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23728203
Change-Id: I0436f5143a28de7abd20c6ec816d8a32d8359115
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 18:03:10 +00:00
Rick Yiu
372a4484b1
Make bg group throttle value experimental am: 9bf9948f63
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23728203
Change-Id: Ie3b998e48d97d9d176821a36e713a91f8ceab333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:18:27 +00:00
Rick Yiu
9bf9948f63
Make bg group throttle value experimental
...
Bug: 287562715
Test: build pass
Change-Id: I8cfa6fef3491bcec38b5ab628fd44fb2a53f85de
2023-06-16 11:21:26 +00:00
qinyiyan
198fa3bd8c
Increase the com.google.edgetpu.dba service version to 2 in the framework matrix xml am: 856066b7fc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23604808
Change-Id: I8bff590a3f6f175b27277b25f935f247bbed9080
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-12 17:21:31 +00:00
qinyiyan
856066b7fc
Increase the com.google.edgetpu.dba service version to 2 in the framework matrix xml
...
Bug: 279092299
Change-Id: I2b89420ab8c2fac641af5e77baf71e74f9481bda
2023-06-07 20:33:44 +00:00
Angela Wu
8226fffb78
Allow access to video12 from applications. am: 740bb0e3ff
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/23517185
Change-Id: I9a2051bfc246ee962b52fdf71cd3dfbbc6b69d51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 16:14:27 +00:00