Commit graph

218 commits

Author SHA1 Message Date
Steven Moreland
bcf3c206b6 Merge "aidl_lazy_test: additional service context" am: d8b05e70bf am: b5a4c528f7 am: 7537e74b96 am: dc10d40add am: f9cba81ea1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564270

Change-Id: Idf7edc880c5b56ad76d168d41355210d3315f243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 23:09:26 +00:00
Steven Moreland
dc10d40add Merge "aidl_lazy_test: additional service context" am: d8b05e70bf am: b5a4c528f7 am: 7537e74b96
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564270

Change-Id: I049e98038884725e7c31150f12ebe4520be1080e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 21:46:23 +00:00
Steven Moreland
d8b05e70bf Merge "aidl_lazy_test: additional service context" 2023-04-26 18:45:50 +00:00
Pawan Wagh
1448dfafdc Merge "Adding storaged fuzzers" am: ef3bc95afc am: 562a20b95f am: 2517fd240d am: 7550c6b385 am: 29a2b93896
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2559890

Change-Id: If346805aca62f85afb9ec802eb799b7d2ea21904
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 02:25:45 +00:00
Steven Moreland
295e68f238 aidl_lazy_test: additional service context
A lazy service shouldn't quit when it has clients, but
sometimes it needs to, such as when the device is
shutting down, so we test that it works.

In Android U, I broke this behavior, and it was caught
by other tests. However, now we have test support
for this directly in aidl_lazy_test.

No fuzzer, because this is a test service only, so it's
low-value.

Bug: 279301793
Bug: 278337172
Bug: 277886514
Bug: 276536663
Bug: 278117892
Test: aidl_lazy_test
Change-Id: I36b2602bb87b56ba1eb72420c7fdd60ff1fa14e2
2023-04-26 00:41:05 +00:00
Pawan Wagh
7550c6b385 Merge "Adding storaged fuzzers" am: ef3bc95afc am: 562a20b95f am: 2517fd240d
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2559890

Change-Id: I2d1709fa73ad0755477059901099793beb0e2e43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 00:37:44 +00:00
Pawan Wagh
2d184d2885 Adding storaged fuzzers
Test: m
Bug: 232439428
Change-Id: I0be9260ecdbdf8e48905869cc4da2efade651ba8
2023-04-24 23:18:34 +00:00
Yu Shan
a664e29f3f Merge "Define sepolicy for ivn HAL." am: 9861e84085 am: 506e69012d am: 78ca38f285 am: 36370a80be am: f45aa9f7b1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2530161

Change-Id: I35c83ef50ed99ff3210fdfae1bf5be28aaecac94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:00:49 +00:00
Yu Shan
36370a80be Merge "Define sepolicy for ivn HAL." am: 9861e84085 am: 506e69012d am: 78ca38f285
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2530161

Change-Id: I5802fb2e124cfab86869d0c123f5b6d670e5c8d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:44:59 +00:00
Yu Shan
9eb72464b5 Define sepolicy for ivn HAL.
Test: manually verify ivn HAL on gcar_emu.
Bug: 274139217
Change-Id: Ie12dccb723078d83b561c152cc4458e52c0f8090
2023-04-10 17:42:51 -07:00
Pawan Wagh
afff53fe00 Merge "Adding ResourceManagerService fuzzers" 2023-04-09 01:53:59 +00:00
Pawan Wagh
80cd20677d Adding ResourceManagerService fuzzers
Test: m
Bug: 232439428
Ignore-AOSP-First: resourcemanager_service_fuzzer is being added
in internal due to differences in source directory. This rule needs
fuzzer to present in current source tree to avoid build failure.

Change-Id: I44a5a9a980b142841b79354d103adab1aaa7afc3
2023-04-06 20:26:01 +00:00
Treehugger Robot
1b51c1f8e1 Merge "Add sepolicy rules for CpuMonitorService." am: 1ab1f7cd01 am: dac8bace6d am: c202f26753
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2497975

Change-Id: I5dbbd3d496afc934e1f3c4fb3253f857b3df1aac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:13:51 +00:00
Lakshman Annadorai
124be07e24 Add sepolicy rules for CpuMonitorService.
Change-Id: Icda952c148150e4d7824e303d163996679a0f36b
Test: m
Bug: 242722241
2023-03-27 16:29:09 +00:00
Tri Vo
26c4ed9d40 Merge "Remove RemoteProvisioner and remoteprovisioning services" am: 0099ba37f3 am: 45734ff4a7 am: ddc3df3035
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2488295

Change-Id: I46b1309c166d253a0c132c4c70fea547f2fe2619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 19:05:42 +00:00
Tri Vo
4bb2d30701 Remove RemoteProvisioner and remoteprovisioning services
Bug: 273325840
Test: keystore2_test
Change-Id: I295ccdda5a3d87b568098fdf97b0ca5923e378bf
2023-03-14 15:45:35 -07:00
Pawan Wagh
d5e720b7f0 Merge "Adding netd and authorization fuzzers to bindings" am: 6ad15b7c74 am: 194ea6e259 am: 48d7cb584e
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2478135

Change-Id: Ib680e81344d6e89c73c4986f87056aac3e2863ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:31:01 +00:00
Pawan Wagh
6ad15b7c74 Merge "Adding netd and authorization fuzzers to bindings" 2023-03-10 20:11:33 +00:00
Pawan Wagh
9f5825c863 Adding netd and authorization fuzzers to bindings
Test: m
Bug: 232439428
Change-Id: Ic0d94e7e6a89992619fe87f58737efddffc91408
2023-03-08 18:37:58 +00:00
Cole Faust
e906aaec21 Replace SortedStringKeys with SortedKeys am: 22f253cdfc am: de73e80b8e am: 22b9246143
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2463524

Change-Id: I747491ba1293adfae5df6f358ee991cd7480ce3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 01:06:37 +00:00
Cole Faust
22f253cdfc Replace SortedStringKeys with SortedKeys
SortedStringKeys is deprecated.

Bug: 193460475
Test: presubmits
Change-Id: I8b0f62964c078ab1d29c27df8ccddf05bd171c23
2023-03-01 11:00:15 -08:00
Pawan Wagh
7928aa63ff Adding resolv_service_fuzzer to bindings am: 3e019dd623 am: 5f14440b76 am: 9d745aa5aa
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2444083

Change-Id: I7fb753983a53919be3252822e4926f499cf7c351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 00:00:53 +00:00
Pawan Wagh
3e019dd623 Adding resolv_service_fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: Idcef29b9a42ff701f38fc3bcc83fd92f6bd1a1c1
2023-02-17 23:20:42 +00:00
Pawan Wagh
3935f50a8d Merge "Adding fuzzer entries for drmmanager and vold" am: 9bc9a63b68 am: 20f7c87041 am: c2fbe131f6
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2438893

Change-Id: Ibc9387f9216ac61c47592b997caff08f1b3b3b26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:05:21 +00:00
Pawan Wagh
61e77a8759 Adding fuzzer entries for drmmanager and vold
Test: m
Bug: 232439428
Change-Id: I99879c0cfa71bfce44be3b080ca97934bdfa3100
2023-02-15 21:40:27 +00:00
Pedro Loureiro
efd12cc5bf Merge "Add SEPolicy for device config service" am: 43b0b8a65c am: 14060332c7 am: fe0ce26f53
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2430374

Change-Id: Ic9b09bf6e69fcec9e8f35de48be914f332bd45b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 14:03:59 +00:00
Pedro Loureiro
58847ab171 Add SEPolicy for device config service
A new mainline module that will have the device config logic requires a new service (device_config_updatable).

Bug: 252703257

Test: manual because logic that launches service is behind flag

Change-Id: I4ffba0c7d2afc44af8438b7d84d836e42388bd7d
2023-02-13 09:37:12 +00:00
Brian Julian
3e91bef971 Merge "Backports sepolicy for AltitudeService to T." am: f388934ffe am: e346f2fe80 am: 0966a7e8a3
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2406792

Change-Id: I942be729355e8a833f3fdca7023f2eba4d09ac6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 19:38:08 +00:00
Brian Julian
32b0a39d27 Backports sepolicy for AltitudeService to T.
Test: VtsHalAltitudeServiceTargetTest
Bug: 265013616
Change-Id: I8eb6af8b9350e0d021ef781eb9f3776b4adf3b7f
Merged-In: I8eb6af8b9350e0d021ef781eb9f3776b4adf3b7f
2023-02-07 19:38:17 +00:00
Karthik Mahesh
4ccdb766a4 Merge "Add sepolicy for ODP system server service." am: 4fd76147c4 am: 4fc055b5cd am: 5fe0aaca94
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2402876

Change-Id: I8af698adfffd3b336217f9ae4f9d3fa8b87f3e22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 21:47:26 +00:00
Karthik Mahesh
52e5914ca4 Add sepolicy for ODP system server service.
Bug: 236174677
Test: build
Change-Id: Ief208b795dd05ddaa406f50a5fa91f46fe52fd71
2023-02-01 22:27:36 -08:00
Lorenzo Colitti
0aa28bc420 Merge "Update SEPolicy for Tetheroffload AIDL" am: b8194ca7fb am: d842a85d44 am: 96c4f6591c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2355402

Change-Id: Iee354556ed20f847f84672d0032cb45f2326f3b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 01:21:56 +00:00
Lorenzo Colitti
b8194ca7fb Merge "Update SEPolicy for Tetheroffload AIDL" 2023-01-18 00:04:51 +00:00
Thomas Nguyen
32e98f7b65 Add IRadioSatellite context am: 3445819d5a am: 8e04681736 am: 79a56bccb8
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2380860

Change-Id: Id173536288cc8c643154091b07798bc326867a74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 05:41:14 +00:00
Thomas Nguyen
3445819d5a Add IRadioSatellite context
Bug: 260644201
Test: atest VtsHalRadioTargetTes

Change-Id: I43555e1f076cdf96fb0b7805cd664d7ba6798aec
2023-01-10 18:27:41 +00:00
Nathalie Le Clair
6ab4000288 Merge "HDMI: Refactor HDMI packages" am: 98e20da831 am: b1b7c91270 am: 410ee2e7b1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2353483

Change-Id: Iebc38ccef625de72fdb585b27ffec979c5c6596f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:50:39 +00:00
Nathalie Le Clair
98e20da831 Merge "HDMI: Refactor HDMI packages" 2023-01-10 17:05:17 +00:00
Treehugger Robot
13d814b459 Merge "Add newline between contexts inputs" am: 17ac4a53f8 am: 95b80b7322 am: 1c650edd1a
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2375548

Change-Id: Ib87543854ff33b46bf5636f83ea86fdf6a94a2eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 04:20:48 +00:00
Inseob Kim
35e9d41af3 Add newline between contexts inputs
Bug: 263818248
Test: manual
Change-Id: I0ae98aac5044e42c8c6bf2bb1a3183510ec734de
2023-01-04 15:27:32 +09:00
Treehugger Robot
064b0e451b Merge "EARC: Add Policy for EArc Service" am: 6baccc1d8e am: 1791ca2220 am: 5efaa62b95
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2320410

Change-Id: Iba53b7a01332976ef1fdf36a0c736aaebba9348a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 05:02:45 +00:00
Treehugger Robot
6baccc1d8e Merge "EARC: Add Policy for EArc Service" 2023-01-04 03:30:47 +00:00
KH Shi
8ae99b5e5f Update SEPolicy for Tetheroffload AIDL
Bug: b/205762647
Test: m
Change-Id: Iaf87e8a64a4a1af20f54e3c09c31d051acf549a1
2023-01-04 11:28:47 +08:00
Venkatarama Avadhani
5a86d5f3f3 HDMI: Refactor HDMI packages
Organize the HDMI packages into CEC, EArc and connection under a common
hdmi package.

Bug: 261729059
Test: atest vts_treble_vintf_framework_test
      atest vts_treble_vintf_vendor_test
Change-Id: Ief5bff996028775ea355b392a4028a091fb83b99
2022-12-27 18:15:26 +05:30
Venkatarama Avadhani
0f0861af8f EARC: Add Policy for EArc Service
Test: atest vts_treble_vintf_framework_test
      atest vts_treble_vintf_vendor_test
Bug: 240388105
Change-Id: I561f647a68553fa0134f2e1bd65b0f18dd1785f1
2022-12-27 18:11:36 +05:30
Treehugger Robot
4ddb01576e Merge "Add SELinux policy for sound dose HAL" am: 62894399c3 am: f6872e0ea8 am: 9db7dccfe4
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2361860

Change-Id: I5e51556a15e00da894b8f7660954717d3fcaaeda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 21:19:24 +00:00
Vlad Popa
48dd5f7ac4 Add SELinux policy for sound dose HAL
Note that this HAL is meant only as a workaround until the OEMs will
switch to the AIDL audio HAL.

Test: bluejay-userdebug
Bug: 257937004
Change-Id: Id01da9606f73354a01a94aace8a8966a09038fda
2022-12-16 21:42:06 +01:00
Calvin Pan
8aae52f1bc Merge "Add grammatical_inflection service" am: f56dfeb2d4 am: ecdc4715bc am: 2a53d04c95
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2352743

Change-Id: I1bb81cf69f539049cee1e7afd2b61247f79af6a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 10:15:27 +00:00
Calvin Pan
f56dfeb2d4 Merge "Add grammatical_inflection service" 2022-12-15 07:38:01 +00:00
Avichal Rakesh
72ea9c9983 Merge "cameraservice: Add selinux policy for vndk cameraservice." am: 95ecfc2f33 am: 5e5c23595e am: 062567b1b3
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2346843

Change-Id: I706d6ce19cba7633e998b1287250b6927bf795ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 00:47:46 +00:00
Avichal Rakesh
95ecfc2f33 Merge "cameraservice: Add selinux policy for vndk cameraservice." 2022-12-14 22:49:47 +00:00