1# wait_for_keymaster service 2type wait_for_keymaster, domain, coredomain; 3type wait_for_keymaster_exec, system_file_type, exec_type, file_type; 4 5init_daemon_domain(wait_for_keymaster) 6 7hal_client_domain(wait_for_keymaster, hal_keymaster) 8 9allow wait_for_keymaster kmsg_device:chr_file w_file_perms; 10 11# wait_for_keymaster needs to find keystore and call methods with the returned 12# binder reference. 13binder_use(wait_for_keymaster) 14allow wait_for_keymaster keystore_service:service_manager find; 15binder_call(wait_for_keymaster, keystore) 16