Adam Shih
42f977a309
Merge "modularize dmd" into sc-dev am: 99bfde4f38
am: 425d7cb7d4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072291
Change-Id: I4076f376f1cea37e3ec092aec17695d8f83b83fa
2021-06-25 02:03:50 +00:00
Ilya Matyukhin
4c3bbb63d0
Merge "raviole: transition SystemUI to use HWC for LHBM" into sc-dev am: f9828a9944
am: 09792c098f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15085906
Change-Id: I02c6e429c32b8ba0ee4d652d083048ba49298712
2021-06-25 02:03:41 +00:00
Adam Shih
8463b00d4b
Merge "modularize dmd" into sc-dev am: 99bfde4f38
am: c418ff2db2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072291
Change-Id: I50b9c4c71d12a2ce60ddb392e76040df30c2f4b1
2021-06-25 02:03:30 +00:00
Ilya Matyukhin
09792c098f
Merge "raviole: transition SystemUI to use HWC for LHBM" into sc-dev am: f9828a9944
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15085906
Change-Id: If83496c47ac3e6450756a5dfc2342884a17e378d
2021-06-25 01:27:58 +00:00
Adam Shih
c418ff2db2
Merge "modularize dmd" into sc-dev am: 99bfde4f38
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072291
Change-Id: Idcd79ae7e96c304194279145cff7af20877cc30a
2021-06-25 01:27:41 +00:00
Adam Shih
425d7cb7d4
Merge "modularize dmd" into sc-dev am: 99bfde4f38
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072291
Change-Id: If964605afd24a9c716e562a8e0ae541451e7a6f4
2021-06-25 01:26:54 +00:00
Ilya Matyukhin
f9828a9944
Merge "raviole: transition SystemUI to use HWC for LHBM" into sc-dev
2021-06-25 01:12:52 +00:00
Adam Shih
99bfde4f38
Merge "modularize dmd" into sc-dev
2021-06-25 01:12:50 +00:00
TreeHugger Robot
10d8d5602e
Merge "vendor_init/dumpstate: Grant to access logger prop" into sc-dev am: 655f5cfd8f
am: c882714de8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072290
Change-Id: I0ef406436013bb9708482b5e0fbb06dcbaf2317b
2021-06-24 10:40:09 +00:00
TreeHugger Robot
738837c130
Merge "vendor_init/dumpstate: Grant to access logger prop" into sc-dev am: 655f5cfd8f
am: 1edfd8cfe6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072290
Change-Id: I52dc2da8ce1ccaa74368a2ac9580d190d547c80b
2021-06-24 10:39:45 +00:00
TreeHugger Robot
1edfd8cfe6
Merge "vendor_init/dumpstate: Grant to access logger prop" into sc-dev am: 655f5cfd8f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072290
Change-Id: Icea3ba9901b7a05239a34a64852e0196c31003b8
2021-06-24 10:20:51 +00:00
TreeHugger Robot
c882714de8
Merge "vendor_init/dumpstate: Grant to access logger prop" into sc-dev am: 655f5cfd8f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072290
Change-Id: Iebe2d27156e2dcb801cbf1a535fdd6e06826b814
2021-06-24 10:20:01 +00:00
TreeHugger Robot
655f5cfd8f
Merge "vendor_init/dumpstate: Grant to access logger prop" into sc-dev
2021-06-24 10:02:11 +00:00
Adam Shih
07902879ff
Merge "modularize pktrouter" into sc-dev am: 9b0b96b907
am: 7e1e8dfecf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15048206
Change-Id: I65655919e73f7982eae9db3bb3b9f37cddd6c740
2021-06-24 07:57:49 +00:00
Adam Shih
85bdce6ef7
Merge "modularize pktrouter" into sc-dev am: 9b0b96b907
am: 1f58e76864
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15048206
Change-Id: I1166426786f874a00bfb8a1d357677f4ab59964b
2021-06-24 07:57:35 +00:00
Adam Shih
1f58e76864
Merge "modularize pktrouter" into sc-dev am: 9b0b96b907
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15048206
Change-Id: Ibd259d8b20c59e5e950125fbbae3bb14853d4348
2021-06-24 07:41:01 +00:00
Adam Shih
7e1e8dfecf
Merge "modularize pktrouter" into sc-dev am: 9b0b96b907
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15048206
Change-Id: Ia5c07a79795fb692ac65185a8ffa311bdca8a4e6
2021-06-24 07:40:06 +00:00
Adam Shih
9b0b96b907
Merge "modularize pktrouter" into sc-dev
2021-06-24 07:24:45 +00:00
Ilya Matyukhin
2460cdcc9f
raviole: transition SystemUI to use HWC for LHBM
...
This change removes direct access to the LHBM sysfs node from SystemUI,
but allows SystemUI to make binder calls to the hardware composer (HWC),
which can be used to enable or disable LHBM.
Bug: 191132545
Bug: 190563896
Bug: 184768835
Test: no avc denials
Change-Id: I5417377ff096e869ad772e4fd2fb23f8c1fd4f1e
2021-06-23 23:38:27 -07:00
Adam Shih
8b326703e1
modularize dmd
...
Bug: 190331463
Test: build ROM and make sure dmd is launched
Change-Id: If1e51b6bc100e870a15a40f5e0d93a75fe68bac3
2021-06-24 14:17:29 +08:00
Alex Hong
5764ab05da
Merge "Move the type definition of properties from product to vendor" into sc-dev am: d912300853
am: b053769bd3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15080406
Change-Id: I36f80a5492fbc74b5d234d7d3164a5686a714fa0
2021-06-24 02:39:22 +00:00
Minchan Kim
92202e06b1
Merge "sepolicy: gs101: allow dump cma statistics" into sc-dev am: 650cf48406
am: 98d9d3971f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15081303
Change-Id: Id63d2be3535a1ecb94226504ab771ed8dcbc235e
2021-06-24 02:39:16 +00:00
Alex Hong
c9ffe52783
Merge "Move the type definition of properties from product to vendor" into sc-dev am: d912300853
am: 485004935f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15080406
Change-Id: I05d5eaf6ada23116b72c8172a3254e42f74eb877
2021-06-24 02:38:47 +00:00
Minchan Kim
ef8058e2e2
Merge "sepolicy: gs101: allow dump cma statistics" into sc-dev am: 650cf48406
am: d8c003c9e1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15081303
Change-Id: Ib796ac2361d29cab35c56efb6a2b872cd872637f
2021-06-24 02:38:41 +00:00
Alex Hong
485004935f
Merge "Move the type definition of properties from product to vendor" into sc-dev am: d912300853
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15080406
Change-Id: I08cf166cc9658f3bf72884ec1a492a9e7afdcd09
2021-06-24 02:19:02 +00:00
Minchan Kim
d8c003c9e1
Merge "sepolicy: gs101: allow dump cma statistics" into sc-dev am: 650cf48406
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15081303
Change-Id: I8dd50fa4c57b82b6e887d5bd4df8f9035bb68bd6
2021-06-24 02:18:49 +00:00
Alex Hong
b053769bd3
Merge "Move the type definition of properties from product to vendor" into sc-dev am: d912300853
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15080406
Change-Id: I0f9867b9d5a0159a78c972695fad80365d259279
2021-06-24 02:18:16 +00:00
Minchan Kim
98d9d3971f
Merge "sepolicy: gs101: allow dump cma statistics" into sc-dev am: 650cf48406
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15081303
Change-Id: I6381f743dc34009706f2581d613df88384dad3fe
2021-06-24 02:17:25 +00:00
Alex Hong
d912300853
Merge "Move the type definition of properties from product to vendor" into sc-dev
2021-06-24 02:15:36 +00:00
Alex Hong
e44e432672
Move the type definition of properties from product to vendor
...
These properties cannot be resolved after product sepolicy is replaced.
vendor_persist_config_default_prop
vendor_rild_prop
Test: The device can boot to home after replacing with GSI
Bug: 191236468
Change-Id: Ib797601a44306987e5a85897c7b6cd7827ad91b2
2021-06-24 02:01:20 +00:00
Minchan Kim
650cf48406
Merge "sepolicy: gs101: allow dump cma statistics" into sc-dev
2021-06-24 01:45:11 +00:00
Thierry Strudel
9608f4b83b
Merge "Add support for non-su hal_uwb" into sc-dev am: e99c749cbd
am: c45b4c7c51
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14928438
Change-Id: I0e3717a41c0b72e61dde822f1997ab80c61d776b
2021-06-24 01:13:03 +00:00
Thierry Strudel
6a940b5459
Merge "Add support for non-su hal_uwb" into sc-dev am: e99c749cbd
am: b491ce3a18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14928438
Change-Id: Id7f0e5a4b4ab5d083b021e8b91568acdd2d6eea7
2021-06-24 01:08:54 +00:00
Thierry Strudel
c45b4c7c51
Merge "Add support for non-su hal_uwb" into sc-dev am: e99c749cbd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14928438
Change-Id: Ia0ff6c0dceb663346fd48b6970e5a6035437eff0
2021-06-24 00:56:12 +00:00
Thierry Strudel
b491ce3a18
Merge "Add support for non-su hal_uwb" into sc-dev am: e99c749cbd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14928438
Change-Id: Ib43a3b2c888f48c70c6a71e117a8de04662f923a
2021-06-24 00:54:58 +00:00
Thierry Strudel
e99c749cbd
Merge "Add support for non-su hal_uwb" into sc-dev
2021-06-24 00:45:49 +00:00
Minchan Kim
7f9abeee45
sepolicy: gs101: allow dump cma statistics
...
Provide necessary sepolicy for bugreport dump to access cma metric
information under /sys/kernel/pixel_stat/*
Test: Run "adb bugreport <zip>" and verify it contains the output
from dumpstate_board.txt
Bug: 191904985
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iaa92006eeb5158a0962652427d1af061fe1cf03d
2021-06-23 14:15:46 -07:00
TreeHugger Robot
d1473d3ec6
Merge "Allow fingerprint hal to read sysfs_chosen" into sc-dev am: c431abb5bf
am: 99b2f78bde
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072299
Change-Id: I0ec95809d1b25539217739f18f22f42f4863ba05
2021-06-23 11:49:13 +00:00
TreeHugger Robot
101bb0fa5f
Merge "Allow fingerprint hal to read sysfs_chosen" into sc-dev am: c431abb5bf
am: b596f9dbd5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072299
Change-Id: I06174f5bf937c42263cfe807dad3edaae7b0b6fd
2021-06-23 11:48:54 +00:00
TreeHugger Robot
b596f9dbd5
Merge "Allow fingerprint hal to read sysfs_chosen" into sc-dev am: c431abb5bf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072299
Change-Id: Id800243025f0eb916789582f6c9925924e94e4ec
2021-06-23 11:33:09 +00:00
TreeHugger Robot
99b2f78bde
Merge "Allow fingerprint hal to read sysfs_chosen" into sc-dev am: c431abb5bf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15072299
Change-Id: I9ca9b992d8f0c428bd36e437d8fc018f395ff8a0
2021-06-23 11:32:03 +00:00
TreeHugger Robot
c431abb5bf
Merge "Allow fingerprint hal to read sysfs_chosen" into sc-dev
2021-06-23 11:20:51 +00:00
Denny cy Lee
1777ff558f
Pixelstat: battery history access premission am: 0b21a2d44a
am: 632e7b95ab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14688520
Change-Id: Ibb82df26953257cbf0575e81d67c22ec72cedd8f
2021-06-23 08:58:21 +00:00
Denny cy Lee
4ac1899651
Pixelstat: battery history access premission am: 0b21a2d44a
am: 7185538f79
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14688520
Change-Id: Id1ce31235e04afd6571cca48c3aa9a9cc1cc4a5e
2021-06-23 08:57:50 +00:00
Denny cy Lee
7185538f79
Pixelstat: battery history access premission am: 0b21a2d44a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14688520
Change-Id: Ida0cfc72b0bfcfc0943f012edc093f8d1d936679
2021-06-23 08:33:25 +00:00
Denny cy Lee
632e7b95ab
Pixelstat: battery history access premission am: 0b21a2d44a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14688520
Change-Id: I8c5f44af025177d9c6063ae3c8b174118a100e3d
2021-06-23 08:32:29 +00:00
Kris Chen
a23d1bb37b
Allow fingerprint hal to read sysfs_chosen
...
Fixes the following avc denial:
android.hardwar: type=1400 audit(0.0:49): avc: denied { search } for name="chosen" dev="sysfs" ino=9575 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_chosen:s0 tclass=dir permissive=1
android.hardwar: type=1400 audit(0.0:50): avc: denied { read } for name="platform" dev="sysfs" ino=9591 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_chosen:s0 tclass=file permissive=1
android.hardwar: type=1400 audit(0.0:51): avc: denied { open } for path="/sys/firmware/devicetree/base/chosen/plat/platform" dev="sysfs" ino=9591 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs_chosen:s0 tclass=file permissive=1
Bug: 191832617
Test: Enroll and authenticate fingerprints.
Change-Id: I5c576cc210d9e85b1999655bdc27736183db8aed
2021-06-23 16:20:57 +08:00
Denny cy Lee
0b21a2d44a
Pixelstat: battery history access premission
...
Test: manually, relate seploicy not show; battery history log printed
05-24 13:29:19.637 2829 2829 D pixelstats_BatteryEEPROM:
checkAndReport: 0940 0a80 0500 0200 0200 0000
Bug: 189050725
Change-Id: I20567e168db43fe2168a9a30ac7a4b0cec65a665
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 13:50:32 +08:00
Adam Shih
a70819d2f0
modularize pktrouter
...
Bug: 190331212
Test: make sure pktrouter gets initialized
06-23 13:21:19.372 1 1 I init : Parsing file /vendor/etc/init/pktrouter.rc...
06-23 13:21:23.510 1 1 I init : processing action (vendor.pktrouter=1) from (/vendor/etc/init/pktrouter.rc:7)
06-23 13:21:23.510 1 1 I init : starting service 'pktrouter'...
Change-Id: Icc7ab88505aea47cfed5ffc5182d0625b7a7609d
2021-06-23 05:24:01 +00:00
Adam Shih
9b7b36093f
modulize init.radio.sh am: d74e989739
am: af082207ce
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15048203
Change-Id: I0e41b10f40aeed53c2c4a15d27e4a04fb0c9478a
2021-06-23 03:36:08 +00:00