Michael Eastwood
078d751e2b
Update SELinux policy to allow camera HAL to send Perfetto trace packets am: 07bf62c387
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17080874
Change-Id: If2b35a0f557847e3bebd2dd38b870e8f75b6253f
2022-03-09 01:51:08 +00:00
SalmaxChang
84bbdaa270
dumpstate: Grant to access media_rw_data_file am: db1196932e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17106207
Change-Id: If843f9e5abe481b4ad49e340381ecd38fe995810
2022-03-09 01:51:02 +00:00
Michael Eastwood
4724d39907
Update SELinux policy to allow camera HAL to send Perfetto trace packets am: 07bf62c387
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17080874
Change-Id: Ib655baa67317b7da8f9b8cea62d7e93c87461dc2
2022-03-09 01:49:54 +00:00
SalmaxChang
ea7d1c1e1a
dumpstate: Grant to access media_rw_data_file am: db1196932e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17106207
Change-Id: I8b415b700c0a3253776e934a1fa073c54fb16e38
2022-03-09 01:49:49 +00:00
Michael Eastwood
07bf62c387
Update SELinux policy to allow camera HAL to send Perfetto trace packets
...
Example denials:
03-04 04:25:37.524 823 823 I TracingMuxer: type=1400 audit(0.0:31): avc: denied { use } for path=2F6D656D66643A706572666574746F5F73686D656D202864656C6574656429 dev="tmpfs" ino=20229 scontext=u:r:hal_camera_default:s0 tcontext=u:r:tr
aced:s0 tclass=fd permissive=1
03-04 04:25:37.524 823 823 I TracingMuxer: type=1400 audit(0.0:32): avc: denied { read write } for path=2F6D656D66643A706572666574746F5F73686D656D202864656C6574656429 dev="tmpfs" ino=20229 scontext=u:r:hal_camera_default:s0 tcontext
=u:object_r:traced_tmpfs:s0 tclass=file permissive=1
03-04 04:25:37.524 823 823 I TracingMuxer: type=1400 audit(0.0:33): avc: denied { getattr } for path=2F6D656D66643A706572666574746F5F73686D656D202864656C6574656429 dev="tmpfs" ino=20229 scontext=u:r:hal_camera_default:s0 tcontext=u:
object_r:traced_tmpfs:s0 tclass=file permissive=1
03-04 04:25:37.524 823 823 I TracingMuxer: type=1400 audit(0.0:34): avc: denied { map } for path=2F6D656D66643A706572666574746F5F73686D656D202864656C6574656429 dev="tmpfs" ino=20229 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:traced_tmpfs:s0 tclass=file permissive=1
Bug: 222684359
Test: Build and push new SELinux policy. Verify that trace packets are received by Perfetto.
Change-Id: I443e84c5bcc701c1c983db19280719655ff02080
2022-03-09 01:29:20 +00:00
Jesse Hall
6581005c3c
gpu: use hwui vulkan backend
...
The Vulkan backend is the intended production configuration and what we
shipped gs101 with.
Also checked remaining gpu configuration and minimized textual
differences from the gs101 device.mk for easier comparison.
Bug: 223406172
Test: Launcher, YouTube video playback, Pixel Camera preview & shot
Change-Id: I85e3c34ef424f7cef97bcfb6f5a10746fc0b9804
2022-03-08 11:34:55 -08:00
Jimmy Shiu
2e2fcec5b1
powerhint: remove powerhint.json for separating configs am: 477bf34e81
am: 5dad01fd7f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106012
Change-Id: Id41babed6d2d420899ff9ff7b3621e4b92dd6025
2022-03-08 16:11:01 +00:00
Jimmy Shiu
5dad01fd7f
powerhint: remove powerhint.json for separating configs am: 477bf34e81
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106012
Change-Id: I2f71aa70ecb111f99c95cbee99545e558626280e
2022-03-08 15:47:06 +00:00
Jimmy Shiu
9504039e62
powerhint: remove powerhint.json for separating configs am: 477bf34e81
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106012
Change-Id: If0d219b66e7e41457f646f27426a0f199e63e46b
2022-03-08 15:46:16 +00:00
Jimmy Shiu
477bf34e81
powerhint: remove powerhint.json for separating configs
...
Remove the old common powerhint.json file.
Test: build and manually check
Bug: 207573241
Change-Id: Idcebb479cb52b536ffd8d1f79f00293d3c0c4131
2022-03-08 19:34:50 +08:00
GOOGLE\huangaustin
d0f99dfb88
[PixelLogger][P22] Update P22 default.cfg for L1 team am: 872fcc3e95
am: 8d730424cc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17115465
Change-Id: I433676f0cfdeb27d79aa00ef06e2b78539e091e1
2022-03-08 11:08:16 +00:00
GOOGLE\huangaustin
8d730424cc
[PixelLogger][P22] Update P22 default.cfg for L1 team am: 872fcc3e95
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17115465
Change-Id: Icc5836fe6c81a4ef8e2746d5254cb30ce821eaeb
2022-03-08 10:20:29 +00:00
GOOGLE\huangaustin
694927a40e
[PixelLogger][P22] Update P22 default.cfg for L1 team am: 872fcc3e95
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17115465
Change-Id: Iba7c51001ae696163e15e4f1e7fa6e644a861f68
2022-03-08 10:20:26 +00:00
GOOGLE\huangaustin
872fcc3e95
[PixelLogger][P22] Update P22 default.cfg for L1 team
...
bug: 222409590
Change-Id: I368088bc46f44ee40dd0759ed0d5b296948c81f2
2022-03-08 09:44:31 +00:00
Tommy Chiu
4c4fd4777a
KM: Add Device ID attestation support am: 548aa0c030
am: b61c78f006
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106863
Change-Id: I10852d769177c7f8029be484280e05444ebd23a5
2022-03-08 07:55:16 +00:00
Tommy Chiu
b61c78f006
KM: Add Device ID attestation support am: 548aa0c030
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106863
Change-Id: I745355fa6944704227a7cad92e3dbc1af0c2c89f
2022-03-08 07:30:51 +00:00
Tommy Chiu
17e07c7add
KM: Add Device ID attestation support am: 548aa0c030
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106863
Change-Id: Iacb6292f4a9e2ad1d07616140fcd970d02db7f44
2022-03-08 07:30:34 +00:00
Tommy Chiu
548aa0c030
KM: Add Device ID attestation support
...
Reference: ag/14623068
Bug: 222635310
Test:
android.keystore.cts.KeyAttestationTest#testMandatoryDeviceidAttestation
Change-Id: I4acfaf0d82e5805c84b36d0750d7e013de8a83ea
2022-03-08 07:07:49 +00:00
SalmaxChang
db1196932e
dumpstate: Grant to access media_rw_data_file
...
avc: denied { append } for comm="binder:1426_9" dev="dm-43" ino=15392 scontext=u:r:dumpstate:s0 tcontext=u:object_r:media_rw_data_file:s0:c232,c256,c512,c768 tclass=file permissive=0
Bug: 222209243
Change-Id: I38efe11117c15f99ad1bce54cafbd0f3b038eff2
2022-03-08 04:57:26 +00:00
Android Build Coastguard Worker
dcccdb7b39
Snap for 8267098 from c3c15e25b3
to udc-release
...
Change-Id: I66697e28be3c2ed9f630c10719f4f9cdf30673b3
2022-03-08 04:01:29 +00:00
Adam Shih
23312cd72d
init: change overlayfs_file rule to dontaudit am: 47b4ca882d
am: 1797d3c16a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17102583
Change-Id: Ibbfa21fcda34a142e6d15323672de2e97482e8f9
2022-03-07 22:32:10 +00:00
Adam Shih
2e18f20056
init: change overlayfs_file rule to dontaudit am: 47b4ca882d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17102583
Change-Id: I5d0bbc490eb3ef4f1fc3f8fd0ceaec8c361705b3
2022-03-07 22:10:44 +00:00
Adam Shih
1797d3c16a
init: change overlayfs_file rule to dontaudit am: 47b4ca882d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17102583
Change-Id: I57c63f5fdcd3f97e1fe8788031842b395ff63b6f
2022-03-07 22:09:48 +00:00
Adam Shih
47b4ca882d
init: change overlayfs_file rule to dontaudit
...
Workaround for modem_img being unlabeled after disable-verity.
Bug: 193113005
Bug: 221384981
Test: remount with no avc error
Change-Id: Ie2479470c095f4ee2a9508714565b1088a8d7dce
2022-03-07 21:39:11 +00:00
Ramji Jiyani
c3c15e25b3
system_dlkm: remove ext4 flag barrier=1 for erofs
...
barrier=1 is ext4 flag and should not be present
for erofs mount. This is wrong on the `master`
due to manual merge conflict resolution and correct
on the `tm-dev`.
Bug: 223071475
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: If220e4f2334ba71dd9134067bc05c3f7f130e688
2022-03-07 20:47:10 +00:00
Ruofei Ma
3b586d3fe6
[automerger skipped] Allow mediacodec_google to access secure dma heap am: 67e8f968b2
am: a9bdff3482
-s ours
...
am skip reason: Merged-In I03e8c9b4f1d2099e6d7cd6d56f8d7f0834fd0009 with SHA-1 67e8f968b2
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17084044
Change-Id: Iec8f108b5010a637b29f870a9e4811066d8570a6
2022-03-07 20:17:47 +00:00
Ruofei Ma
a9bdff3482
Allow mediacodec_google to access secure dma heap am: 67e8f968b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17084044
Change-Id: Ib949c42ff406ae58148154d6c7d8100293ab0050
2022-03-07 19:42:45 +00:00
Ruofei Ma
ac80df1872
[automerger skipped] Allow mediacodec_google to access secure dma heap am: 67e8f968b2
-s ours
...
am skip reason: Merged-In I03e8c9b4f1d2099e6d7cd6d56f8d7f0834fd0009 with SHA-1 e239561061
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17084044
Change-Id: I24a79b8815bd128f95b4fc0c17caac324d2c6555
2022-03-07 19:40:15 +00:00
Ruofei Ma
67e8f968b2
Allow mediacodec_google to access secure dma heap
...
The change is for following error:
HwBinder:867_1: type=1400 audit(0.0:9): avc: denied { read } for
name="vframe-secure" dev="tmpfs" ino=425 scontext=u:r:mediacodec_google:s0
tcontext=u:object_r:dmabuf_system_secure_heap_device:s0
tclass=chr_file permissive=0
Bug:221500257
Change-Id: I03e8c9b4f1d2099e6d7cd6d56f8d7f0834fd0009
(cherry picked from commit e239561061
)
Merged-In: I03e8c9b4f1d2099e6d7cd6d56f8d7f0834fd0009
2022-03-07 19:13:35 +00:00
Ray Chi
d8cd350756
tune usb irq (dwc3) in usb gadget hal am: f363704a92
am: e9f3ebd776
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17038887
Change-Id: Iefd077c6389b45c7a9b870bcb6e34b66fe8f73ff
2022-03-07 08:29:20 +00:00
Ray Chi
5f05099e62
Allow hal_usb_gadget_impl to access proc_irq am: 455c3c1653
am: 2fd433348f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17041067
Change-Id: If1b05627324722b6b97370beb6fd23817b9bf0f8
2022-03-07 08:29:19 +00:00
Ray Chi
dc3f67c6d1
usb: move the permission change to usb rc am: b30924e359
am: e72d138d8a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17054700
Change-Id: Iaa6371968e370df96e3f2f8fb43d6a937ca2420f
2022-03-07 08:29:19 +00:00
Ray Chi
7f88593d6b
tune usb irq (dwc3) in usb gadget hal am: f363704a92
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17038887
Change-Id: I47a8327415dca8fa5b4c6e06870735651c372112
2022-03-07 08:09:01 +00:00
Ray Chi
ee3ddad840
Allow hal_usb_gadget_impl to access proc_irq am: 455c3c1653
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17041067
Change-Id: I4b223ff4282fce938d27ee1c35e5130b387f4efb
2022-03-07 08:08:59 +00:00
Ray Chi
8ae14147af
usb: move the permission change to usb rc am: b30924e359
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17054700
Change-Id: I69402e08d06e823a2c4c5b709d7043257f0f95f1
2022-03-07 08:08:59 +00:00
Ray Chi
e9f3ebd776
tune usb irq (dwc3) in usb gadget hal am: f363704a92
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17038887
Change-Id: I84d3d018abf87b63e0f916a3360fccee25ca1f33
2022-03-07 08:07:45 +00:00
Ray Chi
2fd433348f
Allow hal_usb_gadget_impl to access proc_irq am: 455c3c1653
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17041067
Change-Id: I7391e7c65ce2bd2b79bb8fcbf3ffb2a4eb2041ed
2022-03-07 08:07:43 +00:00
Ray Chi
e72d138d8a
usb: move the permission change to usb rc am: b30924e359
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17054700
Change-Id: I05a77d8c87938cf3769391a75c794df4277bd9f4
2022-03-07 08:07:43 +00:00
Ray Chi
f363704a92
tune usb irq (dwc3) in usb gadget hal
...
Since affinity permission is changed from root to system, original
permission change by script can't be used. Therefore, this patch
will move the functionality to usb gadget hal.
Bug: 220996010
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
2022-03-07 07:45:50 +00:00
Ray Chi
b30924e359
usb: move the permission change to usb rc
...
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.
Bug: 206902205
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
2022-03-07 07:45:50 +00:00
Jinting Lin
35f6894eac
Increase the default log file size and number am: 06a6fc0401
am: 7baedc145c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17084859
Change-Id: I64a2ae74998d1075a8e88c83298f5b3cf84bdb72
2022-03-07 06:40:48 +00:00
Jinting Lin
e482b96bc9
Increase the default log file size and number am: 06a6fc0401
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17084859
Change-Id: Ie42dbc6a16ee9c3941e82fd51bd52cc8e9111ad7
2022-03-07 06:19:10 +00:00
Jinting Lin
7baedc145c
Increase the default log file size and number am: 06a6fc0401
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17084859
Change-Id: I1076d4babc1a2b7e596ccb47820e53a88124245c
2022-03-07 06:18:36 +00:00
Jinting Lin
06a6fc0401
Increase the default log file size and number
...
Bug: 223071809
Change-Id: I355648b8a83ebaea00d6144dfa29ef252b849ca4
2022-03-07 05:59:15 +00:00
Ray Chi
455c3c1653
Allow hal_usb_gadget_impl to access proc_irq
...
Bug: 220996010
Test: build pass
Change-Id: Id9a9adbdc921629b6e89d0850dd8acaf76b1a891
2022-03-07 11:18:28 +08:00
Kris Chen
1eb36112bb
Set owner for mfg_data partiton. am: 997787e3f7
am: 79c133e5c5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17071754
Change-Id: I612390a5d29a54c9d4c77ec8fc5a7113a0f5f7a3
2022-03-07 02:29:22 +00:00
Kris Chen
03da7b767d
Set owner for mfg_data partiton. am: 997787e3f7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17071754
Change-Id: I63ffdb346597bf0dc47d9117c7c69e4fbd4207e6
2022-03-07 02:08:09 +00:00
Kris Chen
79c133e5c5
Set owner for mfg_data partiton. am: 997787e3f7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17071754
Change-Id: I89cd4cb0f3f43ca0d3dd308b62404febef5ea416
2022-03-07 02:06:51 +00:00
Kris Chen
997787e3f7
Set owner for mfg_data partiton.
...
Bug: 197780765
Test: UDFPS HAL can access mfg_data
Change-Id: Ib68fd0ff2f7717000b918c580e459309e088cde2
2022-03-07 01:44:16 +00:00
Tommy Chiu
df872eb420
sepolicy: add permissions to let recovery wipe citadel am: 94995cd0d3
am: ba00764692
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17071752
Change-Id: I298bbfe10202de42fc540a100ea4bcd9f63dcb4d
2022-03-07 01:12:03 +00:00