| type hal_rcsservice, domain; |
| type hal_rcsservice_exec, exec_type, vendor_file_type, file_type; |
| |
| init_daemon_domain(hal_rcsservice) |
| net_domain(hal_rcsservice) |
| |
| # To register imsrcsd to hwBinder |
| hwbinder_use(hal_rcsservice) |
| |
| # add IUceSerive and IService to Hidl interface |
| add_hwservice(hal_rcsservice, hal_imsrcsd_hwservice) |
| add_hwservice(hal_rcsservice, hal_imscallinfo_hwservice) |
| # add imsfactory to HIDl interface |
| add_hwservice(hal_rcsservice, hal_imsfactory_hwservice) |
| |
| get_prop(hal_rcsservice, hwservicemanager_prop) |
| set_prop(hal_rcsservice, qcom_ims_prop) |
| |
| allow hal_rcsservice sysfs_timestamp_switch:file r_file_perms; |
| allow hal_rcsservice self:qipcrtr_socket create_socket_perms_no_ioctl; |
| |
| unix_socket_connect(hal_rcsservice, ims, ims) |
| |
| # imsrcsd to bind with UceShimService.apk |
| binder_call(hal_rcsservice, dataservice_app) |
| |
| binder_call(hal_rcsservice, radio) |
| |
| userdebug_or_eng(` |
| r_dir_file(hal_rcsservice, sysfs_diag) |
| allow hal_rcsservice diag_device:chr_file rw_file_perms; |
| ') |