# inputflinger type inputflinger, domain; type inputflinger_exec, exec_type, file_type; init_daemon_domain(inputflinger) binder_use(inputflinger) binder_service(inputflinger) binder_call(inputflinger, system_server) wakelock_use(inputflinger) allow inputflinger inputflinger_service:service_manager { add find }; allow inputflinger input_device:dir r_dir_perms; allow inputflinger input_device:chr_file rw_file_perms;