1# nfc subsystem 2typeattribute nfc coredomain; 3app_domain(nfc) 4net_domain(nfc) 5 6binder_service(nfc) 7add_service(nfc, nfc_service) 8 9hal_client_domain(nfc, hal_nfc) 10 11# Data file accesses. 12allow nfc nfc_data_file:dir create_dir_perms; 13allow nfc nfc_data_file:notdevfile_class_set create_file_perms; 14 15# SoundPool loading and playback 16allow nfc audioserver_service:service_manager find; 17allow nfc drmserver_service:service_manager find; 18allow nfc mediametrics_service:service_manager find; 19allow nfc mediaextractor_service:service_manager find; 20allow nfc mediaserver_service:service_manager find; 21 22allow nfc radio_service:service_manager find; 23allow nfc app_api_service:service_manager find; 24allow nfc system_api_service:service_manager find; 25allow nfc vr_manager_service:service_manager find; 26allow nfc secure_element_service:service_manager find; 27 28set_prop(nfc, nfc_prop); 29 30# already open bugreport file descriptors may be shared with 31# the nfc process, from a file in 32# /data/data/com.android.shell/files/bugreports/bugreport-*. 33allow nfc shell_data_file:file read; 34