Searched refs:perm_t (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore/ |
D | permissions.cpp | 47 perm_t perms; 51 {AID_SYSTEM, static_cast<perm_t>((uint32_t)(~0))}, 52 {AID_VPN, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)}, 53 {AID_WIFI, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)}, 54 {AID_ROOT, static_cast<perm_t>(P_GET)}, 57 static const perm_t DEFAULT_PERMS = static_cast<perm_t>(P_GET_STATE | P_GET | P_INSERT | P_DELETE | 65 const char* get_perm_label(perm_t perm) { in get_perm_label() 108 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid) { in keystore_selinux_check_access() 152 bool has_permission(uid_t uid, perm_t perm, pid_t spid) { in has_permission()
|
D | permissions.h | 23 enum perm_t { enum 44 const char* get_perm_label(perm_t perm); 53 bool has_permission(uid_t uid, perm_t perm, pid_t spid);
|
D | key_store_service.h | 140 bool checkBinderPermission(perm_t permission, int32_t targetUid = UID_SELF); 146 bool checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid); 155 bool checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid); 165 int32_t checkBinderPermissionAndKeystoreState(perm_t permission, int32_t targetUid = -1,
|
D | key_store_service.cpp | 1196 bool KeyStoreService::checkBinderPermission(perm_t permission, int32_t targetUid) { in checkBinderPermission() 1214 bool KeyStoreService::checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid) { in checkBinderPermissionSelfOrSystem() 1231 bool KeyStoreService::checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid) { in checkBinderPermissionOrSelfTarget() 1248 int32_t KeyStoreService::checkBinderPermissionAndKeystoreState(perm_t permission, int32_t targetUid, in checkBinderPermissionAndKeystoreState()
|
/system/core/sdcard/ |
D | sdcard.c | 137 } perm_t; typedef 158 perm_t perm;
|