Home
last modified time | relevance | path

Searched refs:perm_t (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore/
Dpermissions.cpp69 perm_t perms;
73 {AID_SYSTEM, static_cast<perm_t>((uint32_t)(~0))},
74 {AID_VPN, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)},
75 {AID_WIFI, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)},
76 {AID_BLUETOOTH, static_cast<perm_t>(P_GET | P_INSERT | P_DELETE | P_EXIST | P_SIGN | P_VERIFY)},
80 {AID_ROOT, static_cast<perm_t>((uint32_t)(~0))},
82 {AID_ROOT, static_cast<perm_t>(P_GET)},
86 static const perm_t DEFAULT_PERMS = static_cast<perm_t>(
96 const char* get_perm_label(perm_t perm) { in get_perm_label()
134 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access()
[all …]
Dpermissions.h23 enum perm_t { enum
45 const char* get_perm_label(perm_t perm);
59 bool has_permission(uid_t uid, perm_t perm, pid_t spid, const char* sid);
Dkey_store_service.h184 bool checkBinderPermission(perm_t permission, int32_t targetUid = UID_SELF);
190 bool checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid);
199 bool checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid);
209 KeyStoreServiceReturnCode checkBinderPermissionAndKeystoreState(perm_t permission,
Dkey_store_service.cpp1353 bool KeyStoreService::checkBinderPermission(perm_t permission, int32_t targetUid) { in checkBinderPermission()
1372 bool KeyStoreService::checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid) { in checkBinderPermissionSelfOrSystem()
1390 bool KeyStoreService::checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid) { in checkBinderPermissionOrSelfTarget()
1408 KeyStoreService::checkBinderPermissionAndKeystoreState(perm_t permission, int32_t targetUid, in checkBinderPermissionAndKeystoreState()