gs201-sepolicy: Rename hal_uwb -> hal_uwb_vendor
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy rules. Bug: 195308730 Test: Compiles Change-Id: I0c06a9d191d6bf2f2e5c66f70be0c7f8e8aa96b4
This commit is contained in:
parent
e7538e644a
commit
6fc63f75c3
6 changed files with 9 additions and 9 deletions
|
@ -331,7 +331,7 @@
|
||||||
|
|
||||||
# Uwb
|
# Uwb
|
||||||
# R4
|
# R4
|
||||||
/vendor/bin/hw/hardware\.qorvo\.uwb-service u:object_r:hal_uwb_default_exec:s0
|
/vendor/bin/hw/hardware\.qorvo\.uwb-service u:object_r:hal_uwb_vendor_default_exec:s0
|
||||||
|
|
||||||
# RILD files
|
# RILD files
|
||||||
/data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0
|
/data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
type hal_uwb_default, domain;
|
|
||||||
type hal_uwb_default_exec, vendor_file_type, exec_type, file_type;
|
|
||||||
init_daemon_domain(hal_uwb_default)
|
|
||||||
|
|
||||||
add_service(hal_uwb_default, hal_uwb_service)
|
|
5
legacy/hal_uwb_vendor_default.te
Normal file
5
legacy/hal_uwb_vendor_default.te
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
type hal_uwb_vendor_default, domain;
|
||||||
|
type hal_uwb_vendor_default_exec, vendor_file_type, exec_type, file_type;
|
||||||
|
init_daemon_domain(hal_uwb_vendor_default)
|
||||||
|
|
||||||
|
add_service(hal_uwb_vendor_default, hal_uwb_vendor_service)
|
|
@ -1,4 +1,4 @@
|
||||||
type hal_pixel_display_service, service_manager_type, vendor_service;
|
type hal_pixel_display_service, service_manager_type, vendor_service;
|
||||||
type uwb_vendor_service, service_manager_type, vendor_service;
|
type uwb_vendor_service, service_manager_type, vendor_service;
|
||||||
type touch_context_service, service_manager_type, vendor_service;
|
type touch_context_service, service_manager_type, vendor_service;
|
||||||
type hal_uwb_service, service_manager_type, vendor_service;
|
type hal_uwb_vendor_service, service_manager_type, vendor_service;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0
|
com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0
|
||||||
com.google.input.ITouchContextService/default u:object_r:touch_context_service:s0
|
com.google.input.ITouchContextService/default u:object_r:touch_context_service:s0
|
||||||
uwb_vendor u:object_r:uwb_vendor_service:s0
|
uwb_vendor u:object_r:uwb_vendor_service:s0
|
||||||
hardware.qorvo.uwb.IUwb/default u:object_r:hal_uwb_service:s0
|
hardware.qorvo.uwb.IUwb/default u:object_r:hal_uwb_vendor_service:s0
|
||||||
|
|
|
@ -5,7 +5,7 @@ app_domain(uwb_vendor_app)
|
||||||
add_service(uwb_vendor_app, uwb_vendor_service)
|
add_service(uwb_vendor_app, uwb_vendor_service)
|
||||||
|
|
||||||
allow uwb_vendor_app app_api_service:service_manager find;
|
allow uwb_vendor_app app_api_service:service_manager find;
|
||||||
allow uwb_vendor_app hal_uwb_service:service_manager find;
|
allow uwb_vendor_app hal_uwb_vendor_service:service_manager find;
|
||||||
allow uwb_vendor_app nfc_service:service_manager find;
|
allow uwb_vendor_app nfc_service:service_manager find;
|
||||||
|
|
||||||
allow uwb_vendor_app uwb_vendor_data_file:file create_file_perms;
|
allow uwb_vendor_app uwb_vendor_data_file:file create_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue