1type twoshay, domain; 2type twoshay_exec, exec_type, vendor_file_type, file_type; 3 4init_daemon_domain(twoshay) 5 6allow twoshay touch_offload_device:chr_file rw_file_perms; 7allow twoshay twoshay:capability sys_nice; 8 9binder_use(twoshay) 10add_service(twoshay, gril_antenna_tuning_service) 11add_service(twoshay, screen_protector_detector_service) 12add_service(twoshay, touch_context_service) 13 14binder_call(twoshay, platform_app) 15 16allow twoshay fwk_stats_service:service_manager find; 17binder_call(twoshay, stats_service_server) 18 19# Allow dumpsys output in bugreports. 20allow twoshay dumpstate:fd use; 21allow twoshay dumpstate:fifo_file write; 22 23# b/198755236 24dontaudit twoshay twoshay:capability dac_override; 25 26# b/226830650 27dontaudit twoshay boot_status_prop:file read; 28