Jaegeuk Kim
2697959375
Remove android.hardware.renderscript to fix vts am: 46d2ff83a6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17056300
Change-Id: I1914c3dc6f0246f4239bbe71bd4fe7c80cb670a9
2022-03-15 18:13:44 +00:00
Jaegeuk Kim
46d2ff83a6
Remove android.hardware.renderscript to fix vts
...
Bug: 221171447
Bug: 213121817
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia9426fc34fea6494a810515dc102bd610cc6447d
2022-03-15 17:47:48 +00:00
Denny cy Lee
5133ffe91f
Sepolicy: add pixelstats/HardwareInfo sepolicy am: 38c2803c54
am: cf97709e3e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17118585
Change-Id: I4b166d6ca643ecd09329c6f5ee193556bc998367
2022-03-15 03:40:06 +00:00
Denny cy Lee
30d4dc70ac
Pixelstats: porting from p21 am: f9c2f03287
am: 8073afbf9f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17120763
Change-Id: Icf62bb9e7cf6da6d89d40c0fd72dc33f8818cb98
2022-03-15 03:40:06 +00:00
Darren Hsu
3b308e0f73
sepolicy: reorder genfs labels for system suspend am: 6d25430600
am: ef2662e4b8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17149073
Change-Id: Id0bbcf19bf7bb4f99467e4cc708d48d0d435f30c
2022-03-15 03:39:57 +00:00
Denny cy Lee
cf97709e3e
Sepolicy: add pixelstats/HardwareInfo sepolicy am: 38c2803c54
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17118585
Change-Id: I4188f44a34d19106ddfa4664d38e0950a4d9dcfc
2022-03-15 03:16:24 +00:00
Denny cy Lee
8073afbf9f
Pixelstats: porting from p21 am: f9c2f03287
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17120763
Change-Id: Ic372c7a12d5885a8fa669c779e8de73a44a8161f
2022-03-15 03:16:24 +00:00
Denny cy Lee
8dd44ab485
Pixelstats: porting from p21 am: f9c2f03287
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17120763
Change-Id: I906aec56f68cfed8c297b4b3539bd5f67eea1f34
2022-03-15 03:16:12 +00:00
Denny cy Lee
1c087c848d
Sepolicy: add pixelstats/HardwareInfo sepolicy am: 38c2803c54
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17118585
Change-Id: Ida863d602f166dddecfd540eb354c38a8ebd0c09
2022-03-15 03:16:12 +00:00
Darren Hsu
ef2662e4b8
sepolicy: reorder genfs labels for system suspend am: 6d25430600
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17149073
Change-Id: I1d560b9316d343a6354704b1602643880fd20882
2022-03-15 03:15:39 +00:00
Darren Hsu
356fb92bb2
sepolicy: reorder genfs labels for system suspend am: 6d25430600
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17149073
Change-Id: Id01fb5bad47786a03ef5562f14d7df6dc6856448
2022-03-15 03:15:02 +00:00
Denny cy Lee
38c2803c54
Sepolicy: add pixelstats/HardwareInfo sepolicy
...
avc denials to fix (after apply ag/17120763)
[ 50.171564] type=1400 audit(1647222380.884:28): avc: denied { read } for comm="pixelstats-vend" name="battery_history" dev="tmpfs" ino=639 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
[ 54.519375] type=1400 audit(1647222385.228:29): avc: denied { read } for comm="id.hardwareinfo" name="battery_history" dev="tmpfs" ino=639 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0 app=com.google.android.hardwareinfo
Bug: 222019890
Test: manually check debug logcat
Change-Id: I0e4f3f3a66783383b0d1327cec4dcd145ae9a7af
2022-03-15 03:09:18 +00:00
Denny cy Lee
f9c2f03287
Pixelstats: porting from p21
...
Bug: 222019890
Bug: 222657999
Test: check debug logcat in pixelstat, HardwareInfo
Change-Id: I110a2b2713b6c27e23418569bb8d1b726af07b95
2022-03-15 03:09:18 +00:00
Android Build Coastguard Worker
f3986a5649
Snap for 8298132 from f3d14896c3
to udc-release
...
Change-Id: I06e8d1606f17c4ad0f4a8e53147e4e84f6992836
2022-03-15 03:01:10 +00:00
Darren Hsu
6d25430600
sepolicy: reorder genfs labels for system suspend
...
Bug: 223683748
Test: check bugreport without relevant avc denials
Change-Id: I295d3dfb96cc87e8faaf16f949918445cc3a0d44
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-15 02:52:48 +00:00
Martin Liu
50a12f4bdd
Disable memcg am: e00a9b2099
am: a9a5e2c16b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17184863
Change-Id: I79b21ef7de6485f88290cfda730691a620cb0e00
2022-03-15 02:07:13 +00:00
Martin Liu
a9a5e2c16b
Disable memcg am: e00a9b2099
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17184863
Change-Id: If7271f80132e3816bcf14ad936b4f74b8f674aea
2022-03-15 01:28:51 +00:00
Martin Liu
89c7ec9f5f
Disable memcg am: e00a9b2099
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17184863
Change-Id: I825573d4b53a036b0594c545407aa2b7ebab727f
2022-03-15 01:27:55 +00:00
Martin Liu
e00a9b2099
Disable memcg
...
Pixel kernel don't use MEMCG, let's disable it to
minimize the overhead.
Bug: 224521042
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I60681fb04e4f9a41814eda5988b6c1a0d4fb127c
2022-03-15 01:05:11 +00:00
Midas Chien
f3d14896c3
display: make early wakeup node is readable am: 93fdc4704e
am: e5197a08da
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17139604
Change-Id: Ie0c1a3f248adcaec7dfc60febbd179b8a1d284b2
2022-03-14 20:00:10 +00:00
Midas Chien
e5197a08da
display: make early wakeup node is readable am: 93fdc4704e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17139604
Change-Id: I294beab6fe56ee4e5d7758edc010513bc4162479
2022-03-14 18:57:42 +00:00
Midas Chien
152c8c5c0c
display: make early wakeup node is readable am: 93fdc4704e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17139604
Change-Id: Ibf7a8950010a23b3ee3dc712159176cd2d31d8a2
2022-03-14 18:57:06 +00:00
Midas Chien
93fdc4704e
display: make early wakeup node is readable
...
Bug: 221384860
Test: cat node
Change-Id: I69fe93f467c12e009e97d6f953ba404bec558834
2022-03-14 18:30:42 +00:00
Roshan Pius
e1e3f59a21
gs-sepolicy(uwb): Changes for new UCI stack am: c5710ad18e
am: 54840dce7d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17002833
Change-Id: I5da7f3dd9988bb379e2e4c96249ff45a3bda18ac
2022-03-14 17:04:08 +00:00
Roshan Pius
a0b4805671
gs(uwb): rename uwb HAL am: 5105ef7148
am: 4eda8091b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17002988
Change-Id: I10079643f803fdfa27463dc1217ad4324ea3547a
2022-03-14 17:03:53 +00:00
Roshan Pius
459f4ce3aa
gs-sepolicy(uwb): Allow uwb hal permission to net_admin am: 5ddc8be4f4
am: b27000aab9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17092573
Change-Id: I71ed20b827e1f8729f77795543fc7c964562b550
2022-03-14 17:03:53 +00:00
Roshan Pius
54840dce7d
gs-sepolicy(uwb): Changes for new UCI stack am: c5710ad18e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17002833
Change-Id: Ie20b0208354b16ebd1da8b5334836fad50adbe1a
2022-03-14 16:40:52 +00:00
Roshan Pius
a0c6282ebe
gs-sepolicy(uwb): Changes for new UCI stack am: c5710ad18e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17002833
Change-Id: I3c21d7203b751ca6a7bed8f231b9f19f2d7d6173
2022-03-14 16:40:48 +00:00
Roshan Pius
4eda8091b2
gs(uwb): rename uwb HAL am: 5105ef7148
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17002988
Change-Id: Ib9ca8980d73f3ad3734261b18763e6ae1402d500
2022-03-14 16:40:40 +00:00
Roshan Pius
b27000aab9
gs-sepolicy(uwb): Allow uwb hal permission to net_admin am: 5ddc8be4f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17092573
Change-Id: Ie187d9ecdea4c00c4f08bd2d1dea82ce3ffd9a5e
2022-03-14 16:40:40 +00:00
Roshan Pius
13c629dafd
gs(uwb): rename uwb HAL am: 5105ef7148
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17002988
Change-Id: I60114fb329eba91b5eae61776c6c66e7dac5ba34
2022-03-14 16:40:37 +00:00
Roshan Pius
72007fbc44
gs-sepolicy(uwb): Allow uwb hal permission to net_admin am: 5ddc8be4f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17092573
Change-Id: I283505cd2a3a50810b546fa3345aa63b7a0222da
2022-03-14 16:40:37 +00:00
Roshan Pius
c5710ad18e
gs-sepolicy(uwb): Changes for new UCI stack
...
1. Rename uwb vendor app.
2. Rename uwb vendor HAL binary name & service name.
3. Allow vendor HAL to host the AOSP UWB HAL service.
4. Allow NFC HAL to access uwb calibration files.
Bug: 186585880
Bug: 204718220
Bug: 206045367
Test: Manual Tests
Change-Id: Ib0456617d0f5cf116d11a9412f47f36e2b8df570
2022-03-14 16:09:02 +00:00
Roshan Pius
5105ef7148
gs(uwb): rename uwb HAL
...
Bug: 186585880
Test: Manual Tests
Change-Id: Ib534ee5dd27d41bdc0c386281044ed1a596d33d2
2022-03-14 16:09:02 +00:00
Roshan Pius
5ddc8be4f4
gs-sepolicy(uwb): Allow uwb hal permission to net_admin
...
This was alloed under gs101-sepolicy. There is an ongoing discussion on
how to resolve this for the long term in b/190461440. But, without this
uwb functionality is broken on new devices.
Bug: 206045367
Bug: 222194886
Change-Id: I6729352f2b7bb93b01990a790e62aa69f60342fe
2022-03-14 16:09:02 +00:00
Tim Lin
c325ec9aca
ril: dump radio hal from user build. am: e42c7120dd
am: a5cb956b5a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17155484
Change-Id: I64ff1017c167076c42f93be7475a21842a325953
2022-03-14 11:51:05 +00:00
Tim Lin
a5cb956b5a
ril: dump radio hal from user build. am: e42c7120dd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17155484
Change-Id: I4b32ed5c0e662d424eb562589a9cf5b38ca04a1a
2022-03-14 11:17:19 +00:00
Tim Lin
f4de3d67e9
ril: dump radio hal from user build. am: e42c7120dd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17155484
Change-Id: I65afb8a98149d2e782edd16bbbf2ccc4eb456a67
2022-03-14 11:17:12 +00:00
Tim Lin
e42c7120dd
ril: dump radio hal from user build.
...
To get radio hal debug info on user build as we do on previous Pixels.
Bug: 221391981
Test: Trigger bugreport on USERDEBUG with dumpstate.unroot set
to true and check IRadio log
Change-Id: I354d5770272b518761db4aab8da726de97e472bb
2022-03-14 10:49:07 +00:00
Chungjui Fan
82efa59fb5
sepolicy: allow fastbootd to access gsc device node am: e02f501377
am: a0f0f1e049
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17157683
Change-Id: I8e6d53c215fa9129db2030c011895924456d8a28
2022-03-14 05:39:42 +00:00
Chungjui Fan
b68cbdf4c8
sepolicy: allow fastbootd to access gsc device node am: e02f501377
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17157683
Change-Id: I7a81fba2eb15464614d294d7aaf5e5667b57e665
2022-03-14 05:18:51 +00:00
Chungjui Fan
a0f0f1e049
sepolicy: allow fastbootd to access gsc device node am: e02f501377
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17157683
Change-Id: I4234b878168d327657f3114bf96da9e6f056334e
2022-03-14 05:17:37 +00:00
Chungjui Fan
e02f501377
sepolicy: allow fastbootd to access gsc device node
...
audit: type=1400 audit(1646614793.912:8): avc: denied { getattr }
for pid=347 comm="fastbootd" path="/dev/gsc0" dev="tmpfs" ino=469
scontext=u:r:fastbootd:s0 tcontext=u:object_r:citadel_device:s0
tclass=chr_file permissive=0
Bug: 221410358
Test: fastboot -w in fastbootd mode
Change-Id: I5680515865c2656ffa91dfe593459aab1ade81cb
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-03-14 04:47:31 +00:00
Ramji Jiyani
30ce6f42f3
dumpstate: Remove do not audit for /system_dlkm am: cec1d2a769
am: 3b53f750cd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17180360
Change-Id: I5acc30ad207c7940758baba44150f7b3705e5f78
2022-03-14 04:25:37 +00:00
Ramji Jiyani
b3d20badcf
dumpstate: Remove do not audit for /system_dlkm am: cec1d2a769
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17180360
Change-Id: Ib7e5de5db8aee96742905df9ac46aacc6ed81770
2022-03-14 04:03:56 +00:00
Ramji Jiyani
3b53f750cd
dumpstate: Remove do not audit for /system_dlkm am: cec1d2a769
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17180360
Change-Id: I2e71cdc8d343e82a83cf40c5aa6d653458c16625
2022-03-14 04:02:45 +00:00
Ramji Jiyani
cec1d2a769
dumpstate: Remove do not audit for /system_dlkm
...
FixedBy: http://aosp/2022375
Bug: 223332748
Test: atest SELinuxHostTest#testNoBugreportDenials
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I46e427cccec27118fad4440dc6822196d26f4a1b
2022-03-13 18:32:07 -07:00
Android Build Coastguard Worker
3b334254b8
Snap for 8292407 from fea6ac5d7a
to udc-release
...
Change-Id: I6c82973f3bafbf4f485259f03c08ea0dc8ad314e
2022-03-12 06:06:24 +00:00
Jinting Lin
fea6ac5d7a
Revert "Increase the default log file size and number" am: d34bde9355
am: 03601829ac
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17167769
Change-Id: I31d544cd0705f4d00f4952bd1c1b8d89fe021290
2022-03-11 15:51:10 +00:00
Jinting Lin
5b747689bd
Revert "Increase the default log file size and number" am: d34bde9355
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17167769
Change-Id: Iee8c31e1ebe17e2f0b9d21030b65f505792b2cd5
2022-03-11 15:29:33 +00:00