• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type hal_rcsservice, domain;
2type hal_rcsservice_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(hal_rcsservice)
5net_domain(hal_rcsservice)
6
7# To register imsrcsd to hwBinder
8hwbinder_use(hal_rcsservice)
9
10allow hal_rcsservice hidl_manager_hwservice:hwservice_manager find;
11
12# add IUceSerive and IService to Hidl interface
13add_hwservice(hal_rcsservice, hal_imsrcsd_hwservice)
14add_hwservice(hal_rcsservice, hal_imscallinfo_hwservice)
15# add imsfactory to HIDl interface
16add_hwservice(hal_rcsservice, hal_imsfactory_hwservice)
17
18get_prop(hal_rcsservice, hwservicemanager_prop)
19set_prop(hal_rcsservice, vendor_qcom_ims_prop)
20
21allow hal_rcsservice sysfs_timestamp_switch:file r_file_perms;
22allow hal_rcsservice self:qipcrtr_socket create_socket_perms_no_ioctl;
23
24unix_socket_connect(hal_rcsservice, ims, ims)
25
26# imsrcsd to bind with UceShimService.apk
27binder_call(hal_rcsservice, dataservice_app)
28
29binder_call(hal_rcsservice, radio)
30
31userdebug_or_eng(`
32    r_dir_file(hal_rcsservice, sysfs_diag)
33    allow hal_rcsservice diag_device:chr_file rw_file_perms;
34')
35