xref: /aosp_15_r20/system/sepolicy/private/hal_nfc.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker# HwBinder IPC from client to server, and callbacks
2*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_nfc_client, hal_nfc_server)
3*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_nfc_server, hal_nfc_client)
4*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_nfc_server, servicemanager)
5*e4a36f41SAndroid Build Coastguard Worker
6*e4a36f41SAndroid Build Coastguard Workerhal_attribute_hwservice(hal_nfc, hal_nfc_hwservice)
7*e4a36f41SAndroid Build Coastguard Workerhal_attribute_service(hal_nfc, hal_nfc_service)
8*e4a36f41SAndroid Build Coastguard Worker
9*e4a36f41SAndroid Build Coastguard Worker# Set NFC properties (used by bcm2079x HAL).
10*e4a36f41SAndroid Build Coastguard Workerset_prop(hal_nfc, nfc_prop)
11*e4a36f41SAndroid Build Coastguard Worker
12*e4a36f41SAndroid Build Coastguard Worker# NFC device access.
13*e4a36f41SAndroid Build Coastguard Workerallow hal_nfc nfc_device:chr_file rw_file_perms;
14