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:
Roshan Pius 2021-08-23 13:05:36 -07:00
parent e7538e644a
commit 6fc63f75c3
6 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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)

View 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)

View file

@ -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;

View file

@ -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

View file

@ -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;