Searched refs:callingUid (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore/ |
D | key_store_service.cpp | 94 KeyStoreServiceReturnCode updateParamsForAttestation(uid_t callingUid, AuthorizationSet* params) { in updateParamsForAttestation() argument 102 auto asn1_attestation_id_result = security::gather_attestation_application_id(callingUid); in updateParamsForAttestation() 241 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in reset() local 242 mKeyStore->resetUser(get_user_id(callingUid), false); in reset() 516 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in grant() local 523 String8 filename(mKeyStore->getKeyNameForUidWithDir(name8, callingUid, ::TYPE_ANY)); in grant() 534 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in ungrant() local 541 String8 filename(mKeyStore->getKeyNameForUidWithDir(name8, callingUid, ::TYPE_ANY)); in ungrant() 586 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in duplicate() local 588 if (!has_permission(callingUid, P_DUPLICATE, spid)) { in duplicate() [all …]
|
D | permissions.cpp | 180 bool is_granted_to(uid_t callingUid, uid_t targetUid) { in is_granted_to() argument 181 if (callingUid == targetUid) { in is_granted_to() 186 if (user.euid == callingUid && user.uid == targetUid) { in is_granted_to()
|
D | permissions.h | 60 bool is_granted_to(uid_t callingUid, uid_t targetUid);
|