Jenny Ho
393e0efb9b
Add permission for logbuffer_bd am: 632c5dba75
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20307975
Change-Id: I148592298e9f5a15406bd95418b228385e412ae7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 00:59:41 +00:00
Jenny Ho
632c5dba75
Add permission for logbuffer_bd
...
Bug: 242679204
Change-Id: I134bf8611441274e8438fa06b5ca6c186efb331a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-10-28 22:22:24 +08:00
Krzysztof Kosiński
f9f745da33
Use generic wildcard for vendor libprotobuf. am: 2118dfb684
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2255496
Change-Id: I3788ebba42c38f754c183eb518e2d3a9ad31bba7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 15:51:58 +00:00
Krzysztof Kosiński
2118dfb684
Use generic wildcard for vendor libprotobuf.
...
The suffix changes on each upgrade and the newest release uses
a two-part version number instead of a three-part one. Use a regex
that will match any suffix.
Bug: 203713560
Test: presubmit, log check
Change-Id: I27d7bd10e469b794226fe0c77b02c57d876729b1
2022-10-14 14:06:56 +00:00
Treehugger Robot
3cb1ea79c9
Merge "Add acd-com.google.usf.non_wake_up file to AoC file context."
2022-08-22 04:10:13 +00:00
matthuang
7e89415aaf
Add acd-com.google.usf.non_wake_up file to AoC file context.
...
Bug: 195077076
Test: ls -lZ dev/acd-com.google.usf.non_wake_up
Change-Id: If9add3528bde47a618bd884ce28121b6fa32754c
Merged-In: If9add3528bde47a618bd884ce28121b6fa32754c
2022-08-15 18:46:52 +08:00
Bruce Po
1673f21545
Allow aocd to access acd-offload nodes
...
For 3-ch hotword feature, aocd daemon will access two new file nodes
(b/235648212), which will be used for transmitting audio to/from AOC.
BUG: 240744178
Change-Id: Ie0a9403d0dca06befdb807067adb9babc4f28bfc
2022-08-02 06:29:42 +00:00
Roger Liao
5ea60d6348
Fix build break if BOARD_WITHOUT_RADIO
...
Fix ERROR 'unknown type radio_vendor_data_file'
Bug: 235907512
Change-Id: I55e88c9364b42db262c057a2aa85816944c1c761
2022-07-28 17:59:28 +08:00
TreeHugger Robot
59d6e09682
Merge "Add acd-com.google.usf.non_wake_up file to AoC file context." into tm-qpr-dev
2022-07-01 02:15:21 +00:00
SalmaxChang
a9157994c3
modem_svc: Fix avc error
...
avc: denied { write } for comm="modem_svc_sit" name="modem_stat" dev="dm-42" ino=331 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=dir permissive=0
Bug: 234844823
Change-Id: I51db41d73be317cc7fc84981ac5f04e254a360d0
Merged-In: I51db41d73be317cc7fc84981ac5f04e254a360d0
2022-06-22 04:21:37 +00:00
matthuang
bf1333f881
Add acd-com.google.usf.non_wake_up file to AoC file context.
...
Bug: 195077076
Test: ls -lZ dev/acd-com.google.usf.non_wake_up
Change-Id: If9add3528bde47a618bd884ce28121b6fa32754c
2022-06-14 10:00:35 +00:00
SalmaxChang
b518f1e783
modem_svc: Fix avc error am: 1be95c2e33
am: cc38423bee
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2116498
Change-Id: Ib768682c1848e24f7e78ecd20ce4041f368d8f2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 07:48:21 +00:00
SalmaxChang
1be95c2e33
modem_svc: Fix avc error
...
avc: denied { write } for comm="modem_svc_sit" name="modem_stat" dev="dm-42" ino=331 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=dir permissive=0
Bug: 234844823
Change-Id: I51db41d73be317cc7fc84981ac5f04e254a360d0
2022-06-06 20:36:44 +08:00
George Chang
16cc944791
Merge "Update nfc from hidl to aidl service" into tm-qpr-dev
2022-06-01 06:19:39 +00:00
Kyle Tso
7347d18b73
Add logbuffer_pogo_transfer file_contexts
...
Bug: 232556226
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I1037d39f4187807e6aa9753339fae29e3bc89359
Merged-In: I1037d39f4187807e6aa9753339fae29e3bc89359
2022-05-21 15:25:58 +00:00
George Chang
b75f28c76d
Merge "Revert "Update nfc from hidl to aidl service"" am: 610af798f5
am: bd74710d56
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2098183
Change-Id: I8a52af1a6344042571a4804c16c681d7981f38a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 16:34:07 +00:00
George Chang
610af798f5
Merge "Revert "Update nfc from hidl to aidl service""
2022-05-19 15:38:39 +00:00
George Chang
71db4c206b
Revert "Update nfc from hidl to aidl service"
...
Revert submission 2098739-nfc_aidl_switch_gs101
Reason for revert: broken tests
Reverted Changes:
Ifde6ab418:Switch NFC from HIDL to AIDL
I288474f69:Update nfc from hidl to aidl service
Bug: 233194621
Change-Id: I1dad9c64073c8baffdf5f491c38bf1e568c9af29
2022-05-19 13:45:18 +00:00
Kyle Tso
50797d0f2f
Merge "Add logbuffer_pogo_transfer file_contexts" am: 418d114796
am: 46b42ac02b
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2098016
Change-Id: I41ef4daefa6a78ca4e3f7fa9a6464d43feda07ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 08:35:59 +00:00
George Chang
4b9fecbe3a
Update nfc from hidl to aidl service am: d6a8c63837
am: 8985f2ae28
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2098014
Change-Id: I8e04549075ae47a89994e2eed9b5e7f8eac170e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 08:35:44 +00:00
Kyle Tso
418d114796
Merge "Add logbuffer_pogo_transfer file_contexts"
2022-05-19 02:22:56 +00:00
Kyle Tso
94e2cdeb6e
Add logbuffer_pogo_transfer file_contexts
...
Bug: 232556226
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I1037d39f4187807e6aa9753339fae29e3bc89359
2022-05-17 16:01:46 +08:00
George Chang
d6a8c63837
Update nfc from hidl to aidl service
...
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: I288474f691670655516728fe0e164a3e5689875c
Change-Id: I288474f691670655516728fe0e164a3e5689875c
2022-05-17 12:16:39 +08:00
George Chang
d479f730b0
Update nfc from hidl to aidl service
...
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: I288474f691670655516728fe0e164a3e5689875c
Change-Id: I288474f691670655516728fe0e164a3e5689875c
2022-05-17 04:14:57 +00:00
Ray Chi
503fa09010
Revert "add sepolicy for set_usb_irq.sh"
...
This reverts commit 714075eba7
.
Bug: 224699556
Test: build pass
Change-Id: Ie275e48ee87c4e9f5c83b7802c3f3baa12ad30af
Merged-In: Ie275e48ee87c4e9f5c83b7802c3f3baa12ad30af
(cherry picked from commit bf9ec40ab7
)
2022-05-04 11:45:26 +00:00
Ray Chi
0c04f75e49
Revert "add sepolicy for set_usb_irq.sh" am: bf9ec40ab7
am: 9a2c989fb7
...
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2086225
Change-Id: I3002e1842255353047726918a2f41553c1a43b1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 07:28:51 +00:00
Ray Chi
bf9ec40ab7
Revert "add sepolicy for set_usb_irq.sh"
...
This reverts commit 714075eba7
.
Bug: 194346886
Test: build pass
Change-Id: Ie275e48ee87c4e9f5c83b7802c3f3baa12ad30af
2022-05-04 09:49:17 +08:00
Badhri Jagan Sridharan
a4b9ad439b
android.hardware.usb.IUsb AIDL migration
...
android.hardware.usb.IUsb is migrated to AIDL and runs in
its own process. android.hardware.usb.gadget.IUsbGadget
is now published in its own exclusive process
(android.hardware.usb.gadget-service). Creating
file_context and moving the selinux linux rules
for IUsbGadget implementation.
Bug: 200993386
Change-Id: Ia8c24610244856490c8271433710afb57d3da157
Merged-In: Ia8c24610244856490c8271433710afb57d3da157
(cherry picked from commit 51735ba3ab
)
2022-03-28 17:01:45 +08:00
Roshan Pius
34c5b9b239
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
Test: Manual Tests
Change-Id: I2c7c2466f42317d643634e24b1efb1855e673d09
2022-03-06 18:15:16 -08:00
Robert Shih
cb04f5981f
whitechapel: sepolicy for Widevine AIDL HAL
...
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: I431554dcbef014f8235f048ee062a218a2131f9c
2022-02-20 12:35:22 -08:00
Xin Li
81caef24ad
Merge sc-v2-dev-plus-aosp-without-vendor@8084891
...
Bug: 214455710
Merged-In: Icecca9f69ee9b57d43aa2864864951bf66c4905f
Change-Id: Ibf8d551c16f8f941cfc8072a29ef5c57e8bef170
2022-02-11 07:12:06 +00:00
Ankit Goyal
ec2a9fb8fc
Rename vulkan library to be platform agnostic
...
Bug: 174232579
Test: Boots to home
Change-Id: I39d633e79896d7196ca7011dd7e017950248e2d8
2022-01-26 20:36:29 -08:00
Badhri Jagan Sridharan
51735ba3ab
android.hardware.usb.IUsb AIDL migration
...
android.hardware.usb.IUsb is migrated to AIDL and runs in
its own process. android.hardware.usb.gadget.IUsbGadget
is now published in its own exclusive process
(android.hardware.usb.gadget-service). Creating
file_context and moving the selinux linux rules
for IUsbGadget implementation.
Bug: 200993386
Change-Id: Ia8c24610244856490c8271433710afb57d3da157
2022-01-21 17:07:56 -08:00
David Anderson
2fe229352b
Fix sepolicy denial in update_engine.
...
pvmfw is an A/B partition but is not properly labeled and update_engine
gets a denial trying to write to it.
Bug: N/A
Test: m otapackage, apply OTA, check for denials
Change-Id: I55f41a8937384d3bcda5797b5df3f34257f7a114
2021-12-28 21:52:12 -08:00
Cyan_Hsieh
0b5b4a9692
Add pvmfw to custom_ab_block_device
...
Bug: 211070100
Change-Id: Icd8f6d1837b8124bd8cd7b3d59d43b755455bae6
2021-12-20 10:10:46 +08:00
Xin Li
856fe3d040
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I8f9932ad8885aaefde9548f87c6d2c6cc148cd4c
Change-Id: Ie31b278a639fd5a9e249ca934d543de770fb3217
2021-11-10 08:06:11 +00:00
Jiyong Park
d753a4e82d
Remove ndk_platform backend. Use the ndk backend. am: 90d1e82ae6
am: caf102afda
am: 02048701de
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/16119648
Change-Id: I7714a03deb27225af3ddaebdcb523fee20f27069
2021-10-27 07:02:59 +00:00
Jiyong Park
02048701de
Remove ndk_platform backend. Use the ndk backend. am: 90d1e82ae6
am: caf102afda
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/16119648
Change-Id: I9742f6b11c4b07698f597aeac36aa55686dd8b3f
2021-10-27 06:46:14 +00:00
Jiyong Park
90d1e82ae6
Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: Icc9af3798ac89742fa56b1cb37d8116d99b4a9c2
Change-Id: Icc9af3798ac89742fa56b1cb37d8116d99b4a9c2
(cherry picked from commit 5cc5d52bd7
)
2021-10-26 14:59:28 +09:00
Philip Quinn
b834b1d008
Move twoshay definitions to hardware/google/pixel-sepolicy/input.
...
Bug: 187654303
Test: twoshay works on R4, B3, P7
Change-Id: I2cada463fcbfd3b52230430b12b091a655e2abbb
Merged-In: I2cada463fcbfd3b52230430b12b091a655e2abbb
2021-10-26 02:06:20 +00:00
Adam Shih
5c28519e40
move bluetooth related types to bluetooth
...
Bug: 202790744
Test: boot with bluetooth hal started
Change-Id: I615d4b13262af2bc2c044914e595a7c2085999d2
2021-10-18 11:43:15 +08:00
Adam Shih
17881f3a38
reorganize pixelstats_vendor
...
Bug: 202462997
Test: boot with pixelstats_vendor started
Change-Id: I8582ac4e83720768ee7992d41bdac0798da892d9
2021-10-08 11:06:49 +08:00
Philip Quinn
ac931238bf
Merge "Move twoshay definitions to hardware/google/pixel-sepolicy/input."
2021-09-30 17:23:42 +00:00
George Chang
8f3fb5c47f
Update SecureElement Sepolicy
...
Add rules for sysfs_st33spi
Separate hal_secure_element_st54spi and st33spi form default
Bug: 193417907
Test: VtsHalSecureElementV1_2TargetTest,
VtsHalSecureElementV1_1TargetTest,
VtsHalSecureElementV1_0TargetTest,
CtsOmapiTestCases
Change-Id: I444af2e38fc120d173445bce48b7e4d381201a91
2021-09-30 17:41:32 +08:00
Philip Quinn
d5ac0ac3ce
Move twoshay definitions to hardware/google/pixel-sepolicy/input.
...
Bug: 187654303
Test: twoshay works on R4, B3, P7
Change-Id: I2cada463fcbfd3b52230430b12b091a655e2abbb
2021-09-28 20:11:33 +00:00
Erik Staats
c57b0bdb55
Allow the sensor HAL to access raw HID devices. am: d60ebc5327
am: 35b6d77e0c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15847652
Change-Id: I9bb49fa27647423d27a4d8cb5444412b5220930c
2021-09-27 19:06:50 +00:00
Erik Staats
35b6d77e0c
Allow the sensor HAL to access raw HID devices. am: d60ebc5327
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15847652
Change-Id: I31d13e1a04c7280706e52caea4f1c34a28b5d0e7
2021-09-27 18:45:23 +00:00
Erik Staats
d60ebc5327
Allow the sensor HAL to access raw HID devices.
...
Bug: 195964858
Test: Paired a Sony PS4 controller and verified that it's discovered by
the dynamic sensor HAL.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15847652 .
Change-Id: Ic0bdd711d066a9793eba305102e9a850e3973856
2021-09-27 18:34:30 +00:00
Jenny Ho
948eeb2de5
sepolicy: add rule for new debug file node am: c8651e514c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: I459d1f82f9680d87a2533568259cd54c11233d5f
2021-09-27 15:57:26 +00:00
Jenny Ho
c8651e514c
sepolicy: add rule for new debug file node
...
W dumpstate@1.1-s: type=1400 audit(0.0:7): avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=500 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Merged-In: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
Change-Id: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
2021-09-23 23:29:29 +00:00