Devika Krishnadas
64853c99f4
Merge "Revert^2 "Use graphics allocator 2"" into main
2023-11-08 23:21:09 +00:00
Mike Wang
d6f83eba29
Merge "Change the MDS to platform app in selinux ap context." into main
2023-11-08 07:05:09 +00:00
Angela Wu
2e724b4b7f
Merge "Allows GCA to access the hw_jpeg /dev/video12." into main
2023-11-08 05:20:21 +00:00
Treehugger Robot
ff513752a1
Merge "zuma: HWC access to panel refresh_ctrl node" into main
2023-11-08 04:20:23 +00:00
Treehugger Robot
0418f329cf
Merge "Allow HWC to access display refresh control" into main
2023-11-08 04:20:23 +00:00
Mike Wang
96bac14cb1
Change the MDS to platform app in selinux ap context.
...
The MDS will be signed with platform key and become a platform app. To
make the selinux rules for modem_diagnostic_app work, need to set it to
platform app in app context.
Bug: 287683516
Test: Tested with both dev key or platform key signed MDS apps and the selinux rules works.
Change-Id: I375f57537a81514d3a6230ca042a4407accd6c15
2023-11-08 04:01:26 +00:00
Angela Wu
73caf508ec
Allows GCA to access the hw_jpeg /dev/video12.
...
Bug: 309578078
Change-Id: Ic243a8dc0d6b2decd0ac70d076a456296936e9af
Test: https://android-build.corp.google.com/builds/abtd/run/L93200030000133974
2023-11-08 03:36:48 +00:00
Will McVicker
b832cc86c7
fstab: allow unlocked devices to boot with AVB test key
...
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: Ibf3cee491404b9efc18c49936edf64c2e3084adf
2023-11-07 10:02:31 -08:00
Treehugger Robot
d76fa68860
Merge "sensors: Move USF related sepolicy to gs-common." into main
2023-11-07 06:49:08 +00:00
Devika Krishnadas
4c7ea96e6b
Revert^2 "Use graphics allocator 2"
...
5c5e1b804f
Bug: 287353739
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I8ba05825ea3aba89b907adc11c01268ae425f6ed
2023-11-07 06:45:50 +00:00
Rick Chen
587903f7c4
sensors: Move USF related sepolicy to gs-common.
...
Bug: 305120274
Test: Compile pass. Flash the build to ZUMA devices and no sensor
related avc denied log.
Change-Id: I6911992b59802b62ffd206fd53e678da65ef1363
Signed-off-by: Rick Chen <rickctchen@google.com>
2023-11-06 23:20:16 +08:00
Jack Wu
5f6d9cc357
dump_power: fix the problem of not being able to dump properties
...
Bug: 309011602
Test: adb bugreport and check dumpstate_board.txt
Change-Id: I8a6251e03bcf16b2c1f4242a724f1949dab75759
Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06 20:42:03 +08:00
Sam Ou
c3d0ba2da2
Merge changes from topic "thismeal_enhancement" into main
...
* changes:
Allow dump_power to create thismeal.txt by executing battery_mitigation
Update odpm scale value sepolicy
2023-11-06 10:36:49 +00:00
Chris Lu
c13e6b0d82
Allow HWC to access display refresh control
...
Bug: 295603692
Test: write the node successfully
Change-Id: Ie900a9de4c23201ddefd61456bb2b8a80ba1945a
2023-11-06 09:28:09 +00:00
Chris Lu
c09eb8dc6b
zuma: HWC access to panel refresh_ctrl node
...
Bug: 295603692
Test: write the node successfully
Change-Id: I7a5e908ec6d253791954d1b2071f3d59871650eb
2023-11-06 08:02:29 +00:00
Mike Wang
7d43b5edb6
Merge "Add selinux policy change to allow MDS access Samsung OemRil hal." into main
2023-11-06 02:30:55 +00:00
samou
90ef181121
Allow dump_power to create thismeal.txt by executing battery_mitigation
...
Bug: 293899466
Change-Id: I88d4e3bcf18e818e9ee53ed69e522c9678c6edff
Signed-off-by: samou <samou@google.com>
2023-11-03 09:59:05 +00:00
mikeyuewang
b066861a22
Add selinux policy change to allow MDS access Samsung OemRil hal.
...
Bug: 301641283
selinux log:
11-03 15:32:38.850 2643 2643 I auditd : type=1400 audit(0.0:1616): avc: denied { call } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.850 2643 2643 I binder:2643_3: type=1400 audit(0.0:1616): avc: denied { call } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I auditd : type=1400 audit(0.0:1617): avc: denied { transfer } for comm="binder:2643_3" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 2643 2643 I binder:2643_3: type=1400 audit(0.0:1617): avc: denied { transfer } for scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:rild:s0 tclass=binder permissive=1 app=com.google.mds
11-03 15:32:38.854 1095 1095 I auditd : type=1400 audit(0.0:1618): avc: denied { call } for comm="HwBinder:1095_1" scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
11-03 15:32:38.854 1095 1095 I HwBinder:1095_1: type=1400 audit(0.0:1618): avc: denied { call } for scontext=u:r:rild:s0 tcontext=u:r:modem_diagnostic_app:s0:c512,c768 tclass=binder permissive=1
Change-Id: Ia71844db230302fd3120b28b3ade2e55443ec078
2023-11-03 07:42:38 +00:00
Jeff Chang
73d96fb40f
Merge "Update default allow list for VRR small dirty detection" into main
2023-11-02 10:48:23 +00:00
Huihong Luo
d1e6215c51
Add a sysprop for updating HDCP between HWC and SF
...
SurfaceFlinger checks this sysprop to determine if vsync workaround
is used for HWC to update hdcp levels.
Bug: 280818362
Test: adb shell getprop debug.sf.hwc_hdcp_via_neg_vsync
Change-Id: I5487995496566be8edddcabba128a9b9b0bac31f
2023-11-01 14:22:38 -07:00
Jeff Chang
da02d10181
Update default allow list for VRR small dirty detection
...
The feature will be enabled by the feature flag
Bug: 308742727
Test: Build
Change-Id: Ifb11472ca2c500923508cf175db130ab56ed9386
2023-11-01 10:30:38 +00:00
Jasmine Cha
4a0a7997b5
Merge "audio: remove prescale for BT absolute volume" into main
2023-11-01 06:02:07 +00:00
Chia-Chi Teng
244aed251d
Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL" am: eb2dcaedc8
am: 5c827dca3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25205134
Change-Id: Ief73384699e0dfba3d3b8a79545bb3a3ad27c4c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 19:03:04 +00:00
Chia-Chi Teng
5c827dca3a
Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL" am: eb2dcaedc8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25205134
Change-Id: I075a05a8ccf755700923c9de7106b57f7f876830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 17:56:21 +00:00
samou
3f67ca9478
Update odpm scale value sepolicy
...
Bug: 290149543
Change-Id: I66108d908ffa5cc6853b1e8280a5568c92a2e66f
Signed-off-by: samou <samou@google.com>
2023-10-31 12:13:45 +00:00
Treehugger Robot
d2c07f3b87
Merge "dump_power: adding defender logs for charger and active time" into main
2023-10-30 03:25:58 +00:00
Will Song
fa6626b128
Merge "PREUPLOAD: Enforce jsonlint in preupload" into main
2023-10-29 07:20:18 +00:00
Will Song
89c02823d2
PREUPLOAD: Enforce jsonlint in preupload
...
Checks syntax and simple brace balances for all JSON files.
Test: Edit any json file and try upload
Bug: 127794899
Change-Id: Ia302d5aa13328ca4e0c7c2c8b10bf54c2542a1ff
2023-10-29 05:47:46 +00:00
Chia-Chi Teng
eb2dcaedc8
Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL"
...
This reverts commit 0aa787efa8
.
Reason for revert: Debug BT HCI timeout on UD2A build and P23 on main
Bug: 306646797
Test: presubmit PTS
Change-Id: Ia72ea9d0ba0209cce483d220b420933b243e05b3
2023-10-27 22:53:17 +00:00
Jaegeuk Kim
44082e91da
Run fsck to resolve possible data corruption
...
Cherry-picked from 19eb98145d
.
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs
See b/305658663 for context
Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-27 20:52:33 +00:00
Daniel Okazaki
ee805f1dcc
dump_power: adding defender logs for charger and active time
...
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: I3f67e07853334457c74808869df78c323458f2df
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:46:12 +00:00
Daniel Okazaki
11ea7dd6d6
dump_power: adding dwell defend logs sepolicy
...
Bug: 306108267
Test: build/flash
Test: adb bugreport
Change-Id: Idb0571b6a974b98649f9cc071d506a8be94966f5
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-10-27 18:45:43 +00:00
Chris Lu
32d99c3e05
Set context for sysfs file panel_pwr_vreg
...
Bug: 296978805
Test: read panel_pwr_vreg by dumpstate
Change-Id: Idc4845cadb278ef6406003cb3e55bfbdba758b4b
2023-10-27 07:46:46 +00:00
Android Build Coastguard Worker
804eaebcae
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25189351'] into udc-qpr1-release.
...
Change-Id: I8dd9a61b805ffb437889e934cd95fbd2961b62ff
2023-10-27 03:36:20 +00:00
Jaegeuk Kim
e223cf13b8
[conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25175376
Bug: 305658663
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:707c8849e5e5511a8bf009b61a714cdd2fea811b )
Merged-In: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
Change-Id: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
2023-10-27 03:34:11 +00:00
Sam Ou
5d83d85ad2
Merge "Allow battery_motigation to access gpu cur_freq" into main
2023-10-27 02:33:00 +00:00
Jaegeuk Kim
f60b0e874f
[automerger skipped] [conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
am: 707c8849e5
am: 41e8062cf5
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25189351
Change-Id: I2f26d479b3606bdef521c73b2adc286a4e4b881f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 01:50:41 +00:00
Jaegeuk Kim
41e8062cf5
[conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
am: 707c8849e5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25189351
Change-Id: Ie31d9d93d3c0c9c0f712177eceeb801815b5b209
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 01:18:36 +00:00
Jaegeuk Kim
707c8849e5
[conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25175376
Bug: 305658663
Change-Id: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 20:27:50 +00:00
Jaegeuk Kim
203db0472f
[automerger skipped] DO NOT MERGE - Run fsck to resolve possible data corruption am: 9c0fdde694
-s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25180253
Change-Id: I6bc22f23a9b529b1339639b2d1296ed7d3d4098d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 02:02:35 +00:00
Jaegeuk Kim
19eb98145d
DO NOT MERGE - Run fsck to resolve possible data corruption
...
Cherry-picked from http://ag/25163335 .
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs
See b/305658663 for context
Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Merged-In: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-26 01:13:46 +00:00
Jaegeuk Kim
9c0fdde694
DO NOT MERGE - Run fsck to resolve possible data corruption
...
Cherry-picked from http://ag/25163335 .
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs
See b/305658663 for context
Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-25 18:12:43 -07:00
Edgar Arriaga
d9e91b754f
Add webview pinning for zuma devices
...
Bug: 307594624
Change-Id: Ia87d5a5ac22382342f56dd655a9e17639cdb54bc
2023-10-25 20:58:11 +00:00
Chris.CC Lee
151ef4d45d
Grant the post notification permission to SearchSelector am: 7061bc09aa
am: e397e410b5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25160287
Change-Id: I2d5c7aa6de6710e62e6212387ebafa35a6e495ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 02:03:54 +00:00
Chris.CC Lee
e397e410b5
Grant the post notification permission to SearchSelector am: 7061bc09aa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25160287
Change-Id: I712eb4d5a27b742c86579bfb016c1fe882ed0d01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:36:52 +00:00
Chris.CC Lee
7061bc09aa
Grant the post notification permission to SearchSelector
...
By the legal requirement, Pixel devices shipped in 2024 shall show the
default browser/search engine selector. The SearchSelector app provides
the selector flow and a non-dismissable notification to comply the
requirement.
This feature is approved for 24Q1 and is required to cherrypick to
selected Pixel devices.
Test: Flash a ROM build and validated the permission being granted by
default.
Bug: 298575926
Bug: 302280560
Change-Id: I895b9f0ed3980e31714ae0ee18071dab8b9039ec
2023-10-24 20:25:00 +08:00
Orhan Uysal
2129b7fe3f
Revert "Grant the post notification permission to SearchSelector" am: 7730eb106a
am: 22202523d9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25153483
Change-Id: I474c171e0c0b1a5ebbdbbd34a3e02894e0d93c79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 11:16:58 +00:00
Orhan Uysal
22202523d9
Revert "Grant the post notification permission to SearchSelector" am: 7730eb106a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25153483
Change-Id: Ifb0f448ddf960c4fcc7841832196700bddee6c79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 10:51:13 +00:00
Orhan Uysal
7730eb106a
Revert "Grant the post notification permission to SearchSelector"
...
Revert submission 25144243-Initial SearchSelector Drop
Reason for revert: DroidMonitor-triggered revert due to a breakage, bug b/307486020
Bug: 307486020
Reverted changes: /q/submissionid:25144243-Initial+SearchSelector+Drop
Change-Id: I141000a9bc18409652f8824f686793f1e4fdeb3d
2023-10-24 10:30:56 +00:00
Jenny Ho
6f0402322b
Merge "pixelstats: add gmsr path" into main
2023-10-24 09:17:20 +00:00