1type hal_hwcrypto_default, domain; 2hal_server_domain(hal_hwcrypto_default, hal_hwcrypto) 3 4type hal_hwcrypto_default_exec, exec_type, vendor_file_type, file_type; 5init_daemon_domain(hal_hwcrypto_default) 6 7allow hal_hwcrypto_default tee_device:chr_file rw_file_perms; 8allow hal_hwcrypto_default ion_device:chr_file rw_file_perms; 9 10binder_call(hal_hwcrypto_client, hal_hwcrypto_server); 11hal_attribute_service(hal_hwcrypto, hal_hwcrypto_service); 12binder_use(hal_hwcrypto_server); 13