Merge "Revert^2 "Allow devices that use HIDL to find AIDL radio_ext_service"" into main
This commit is contained in:
commit
dc8c2ed6b3
9 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
|||
PRODUCT_PACKAGES += vendor.google.radioext@1.0-service
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/gril/aidl/2.0/compatibility_matrix.xml
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/aidl/2.0/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# allow grilservice_app to find hal_aidl_radio_ext_service
|
||||
allow grilservice_app hal_aidl_radio_ext_service:service_manager find;
|
||||
# allow grilservice_app to find hal_radio_ext_service
|
||||
allow grilservice_app hal_radio_ext_service:service_manager find;
|
||||
binder_call(grilservice_app, hal_aidl_radio_ext)
|
||||
binder_call(grilservice_app, twoshay)
|
||||
|
|
|
@ -12,7 +12,7 @@ binder_call(hal_aidl_radio_ext, servicemanager)
|
|||
binder_call(hal_aidl_radio_ext, grilservice_app)
|
||||
binder_call(hal_aidl_radio_ext, hal_bluetooth_btlinux)
|
||||
|
||||
add_service(hal_aidl_radio_ext, hal_aidl_radio_ext_service)
|
||||
add_service(hal_aidl_radio_ext, hal_radio_ext_service)
|
||||
|
||||
# RW /dev/oem_ipc0
|
||||
allow hal_aidl_radio_ext radio_device:chr_file rw_file_perms;
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# Radio Ext AIDL service
|
||||
type hal_aidl_radio_ext_service, hal_service_type, protected_service, service_manager_type;
|
|
@ -1,2 +1,3 @@
|
|||
# Radio Ext AIDL service
|
||||
# Shared definition so a single type is referenced
|
||||
type hal_radio_ext_service, hal_service_type, protected_service, service_manager_type;
|
|
@ -1 +1 @@
|
|||
vendor.google.radio_ext.IRadioExt/default u:object_r:hal_aidl_radio_ext_service:s0
|
||||
vendor.google.radio_ext.IRadioExt/default u:object_r:hal_radio_ext_service:s0
|
|
@ -1,3 +1,4 @@
|
|||
PRODUCT_PACKAGES += vendor.google.radioext@1.0-service
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/gril/hidl/1.7/compatibility_matrix.xml
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/hidl/1.7/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# allow grilservice_app to find hal_radio_ext_service
|
||||
allow grilservice_app hal_radio_ext_service:service_manager find;
|
||||
# allow grilservice_app to binder call hal_radioext_default
|
||||
binder_call(grilservice_app, hal_radioext_default)
|
||||
|
|
|
@ -3,3 +3,4 @@ PRODUCT_PACKAGES += vendor.google.radio_ext-service
|
|||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/modem/radio_ext/compatibility_matrix.xml
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/modem/radio_ext/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue