dataservice_app.te revision 25591f24ea7fcc2e3de8f5d9637557d47b759b73
1#TODO Move this to sepolicy/private/dataservice_app.te (b/62574674)
2type dataservice_app, domain, coredomain;
3app_domain(dataservice_app)
4net_domain(dataservice_app)
5
6get_prop(dataservice_app, cnd_prop)
7add_service(dataservice_app, cne_service)
8add_service(dataservice_app, uce_service)
9allow dataservice_app { app_api_service system_api_service audioserver_service radio_service } :service_manager find;
10
11r_dir_file(dataservice_app, sysfs_msm_subsys)
12#TODO Move this to sepolicy/private/dataservice_app.te (b/62574674)
13allow dataservice_app hal_imsrcsd_hwservice:hwservice_manager find;
14
15#TODO remove the following 2 if dataservice is moved out of system as part of b/38043081
16allow dataservice_app system_app_data_file:dir create_dir_perms;
17allow dataservice_app system_app_data_file:{ file lnk_file } create_file_perms;
18
19#TODO Move this to sepolicy/private/dataservice_app.te (b/62574674)
20allow dataservice_app hal_cne_hwservice:hwservice_manager find;
21binder_call(dataservice_app, cnd)
22hwbinder_use(dataservice_app)
23
24# imsrcsd to bind with UceShimService.apk
25binder_call(dataservice_app, hal_rcsservice)
26