• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type uwb_vendor_app, domain;
2
3app_domain(uwb_vendor_app)
4
5not_recovery(`
6hal_client_domain(uwb_vendor_app, hal_uwb_vendor)
7
8allow uwb_vendor_app app_api_service:service_manager find;
9allow uwb_vendor_app hal_uwb_vendor_service:service_manager find;
10allow uwb_vendor_app nfc_service:service_manager find;
11allow uwb_vendor_app radio_service:service_manager find;
12
13allow uwb_vendor_app uwb_vendor_data_file:file create_file_perms;
14allow uwb_vendor_app uwb_vendor_data_file:dir create_dir_perms;
15
16allow hal_uwb_vendor_default self:global_capability_class_set sys_nice;
17allow hal_uwb_vendor_default kernel:process setsched;
18
19# UwbVendorService must be able to read USRA version from vendor_secure_element_prop
20get_prop(uwb_vendor_app, vendor_secure_element_prop)
21# UwbVendorService must be able to write country code prop
22set_prop(uwb_vendor_app, vendor_uwb_calibration_country_code)
23
24binder_call(uwb_vendor_app, hal_uwb_vendor_default)
25')
26