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, screen_protector_detector_service) 11add_service(twoshay, touch_context_service) 12add_service(twoshay, gril_antenna_tuning_service) 13binder_call(twoshay, platform_app) 14 15allow twoshay fwk_stats_service:service_manager find; 16binder_call(twoshay, stats_service_server) 17 18# Allow dumpsys output in bugreports. 19allow twoshay dumpstate:fd use; 20allow twoshay dumpstate:fifo_file write; 21 22# b/198755236 23dontaudit twoshay twoshay:capability dac_override; 24 25# b/226830650 26dontaudit twoshay boot_status_prop:file read; 27