uwb: add permissions for factory uwb calib file
needed for copying the factory calib file from persist to /data/vendor/uwb, along with converting the file to a valid format for uwb HAL Equivalent CL: ag/22980180 Bug: 296108382 Bug: 296108391 Test: local build passed Change-Id: I576d21433e2d0b958ef876bd42c382dd2061796e Signed-off-by: Hasan Awais <hasanawais@google.com>
This commit is contained in:
parent
14b4ee2aad
commit
3ca2aca558
7 changed files with 24 additions and 7 deletions
2
legacy/zuma/vendor/file_contexts
vendored
2
legacy/zuma/vendor/file_contexts
vendored
|
@ -7,7 +7,6 @@
|
|||
/vendor/bin/hw/android\.hardware\.usb\.gadget-service u:object_r:hal_usb_gadget_impl_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.secure_element@1\.2-uicc-service u:object_r:hal_secure_element_uicc_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.secure_element-service.uicc u:object_r:hal_secure_element_uicc_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.qorvo\.uwb\.service u:object_r:hal_uwb_vendor_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.composer\.hwc3-service\.pixel u:object_r:hal_graphics_composer_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.contexthub-service\.generic u:object_r:hal_contexthub_default_exec:s0
|
||||
/vendor/bin/hw/google\.hardware\.media\.c2@2\.0-service u:object_r:mediacodec_google_exec:s0
|
||||
|
@ -20,7 +19,6 @@
|
|||
/vendor/bin/trusty_apploader u:object_r:trusty_apploader_exec:s0
|
||||
/vendor/bin/trusty_metricsd u:object_r:trusty_metricsd_exec:s0
|
||||
/vendor/bin/chre u:object_r:chre_exec:s0
|
||||
/vendor/bin/init\.uwb\.calib\.sh u:object_r:vendor_uwb_init_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.trusty u:object_r:hal_keymint_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty u:object_r:hal_keymint_default_exec:s0
|
||||
/vendor/bin/ufs_firmware_update\.sh u:object_r:ufs_firmware_update_exec:s0
|
||||
|
|
5
legacy/zuma/vendor/hal_uwb_vendor_default.te
vendored
5
legacy/zuma/vendor/hal_uwb_vendor_default.te
vendored
|
@ -1,5 +0,0 @@
|
|||
type hal_uwb_vendor_default, domain;
|
||||
type hal_uwb_vendor_default_exec, vendor_file_type, exec_type, file_type;
|
||||
allow hal_uwb_default uci_device:chr_file rw_file_perms;
|
||||
init_daemon_domain(hal_uwb_vendor_default)
|
||||
|
4
legacy/zuma/vendor/vendor_uwb_init.te
vendored
4
legacy/zuma/vendor/vendor_uwb_init.te
vendored
|
@ -1,4 +0,0 @@
|
|||
type vendor_uwb_init, domain;
|
||||
type vendor_uwb_init_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(vendor_uwb_init)
|
Loading…
Add table
Add a link
Reference in a new issue