Create radio_ext aidl service declaration am: 79e230a05b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/25027513 Change-Id: Ib9db4022e1e64dc25bc0ad96bcc90062290e1cc3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
20117e34b6
10
modem/radio_ext/compatibility_matrix.xml
Normal file
10
modem/radio_ext/compatibility_matrix.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<compatibility-matrix version="1.0" type="framework">
|
||||
<hal format="aidl" optional="true">
|
||||
<name>vendor.google.radio_ext</name>
|
||||
<version>1</version>
|
||||
<interface>
|
||||
<name>IRadioExt</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</compatibility-matrix>
|
5
modem/radio_ext/radio_ext.mk
Normal file
5
modem/radio_ext/radio_ext.mk
Normal file
@ -0,0 +1,5 @@
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google/interfaces
|
||||
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
|
1
modem/radio_ext/sepolicy/file_contexts
Normal file
1
modem/radio_ext/sepolicy/file_contexts
Normal file
@ -0,0 +1 @@
|
||||
/vendor/bin/hw/vendor\.google\.radio_ext-service u:object_r:hal_radio_ext_exec:s0
|
11
modem/radio_ext/sepolicy/hal_radio_ext.te
Normal file
11
modem/radio_ext/sepolicy/hal_radio_ext.te
Normal file
@ -0,0 +1,11 @@
|
||||
type hal_radio_ext, domain;
|
||||
type hal_radio_ext_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(hal_radio_ext)
|
||||
|
||||
binder_call(hal_radio_ext, servicemanager)
|
||||
add_service(hal_radio_ext, hal_radio_ext_service)
|
||||
|
||||
# Allow access to the backlight driver to set ssc_mode
|
||||
allow hal_radio_ext sysfs_leds:dir search;
|
||||
allow hal_radio_ext sysfs_leds:file rw_file_perms;
|
2
modem/radio_ext/sepolicy/service.te
Normal file
2
modem/radio_ext/sepolicy/service.te
Normal file
@ -0,0 +1,2 @@
|
||||
# Radio Ext AIDL service
|
||||
type hal_radio_ext_service, hal_service_type, protected_service, service_manager_type;
|
1
modem/radio_ext/sepolicy/service_contexts
Normal file
1
modem/radio_ext/sepolicy/service_contexts
Normal file
@ -0,0 +1 @@
|
||||
vendor.google.radio_ext.IRadioExt/default u:object_r:hal_radio_ext_service:s0
|
Loading…
x
Reference in New Issue
Block a user