modem_svc_sit: create oem test iodev
- Create radio_test_device for oem_test iodev. - Grant modem_svc_sit to access radio_test_device. Bug: 231380480 Signed-off-by: Xiaofan Jiang <xiaofanj@google.com> Change-Id: Id06deedadf04c70b57e405a05533ed85764bdd1d Merged-In: Id06deedadf04c70b57e405a05533ed85764bdd1d
This commit is contained in:
parent
eee2b6fe84
commit
da328e0a0f
3 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,7 @@ type faceauth_heap_device, dmabuf_heap_device_type, dev_type;
|
|||
type vframe_heap_device, dmabuf_heap_device_type, dev_type;
|
||||
type vscaler_heap_device, dmabuf_heap_device_type, dev_type;
|
||||
type battery_history_device, dev_type;
|
||||
type radio_test_device, dev_type;
|
||||
|
||||
# SecureElement SPI device
|
||||
type st54spi_device, dev_type;
|
||||
|
|
|
@ -149,6 +149,7 @@
|
|||
/dev/st33spi u:object_r:st33spi_device:s0
|
||||
/dev/ttyGS[0-3] u:object_r:serial_device:s0
|
||||
/dev/oem_ipc[0-7] u:object_r:radio_device:s0
|
||||
/dev/oem_test u:object_r:radio_test_device:s0
|
||||
/dev/umts_boot0 u:object_r:radio_device:s0
|
||||
/dev/umts_ipc0 u:object_r:radio_device:s0
|
||||
/dev/umts_ipc1 u:object_r:radio_device:s0
|
||||
|
|
|
@ -24,3 +24,7 @@ get_prop(modem_svc_sit, vendor_rild_prop)
|
|||
# hwservice permission
|
||||
allow modem_svc_sit hal_exynos_rild_hwservice:hwservice_manager find;
|
||||
get_prop(modem_svc_sit, hwservicemanager_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow modem_svc_sit radio_test_device:chr_file rw_file_perms;
|
||||
')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue