Home
last modified time | relevance | path

Searched refs:granteeUid (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore/
Dgrant_store.cpp77 bool GrantStore::removeByFileAlias(const uid_t granteeUid, const LockedKeyBlobEntry& lockedEntry) { in removeByFileAlias() argument
79 auto& uid_grant_list = grants_[granteeUid]; in removeByFileAlias()
101 void GrantStore::removeAllGrantsToUid(const uid_t granteeUid) { in removeAllGrantsToUid() argument
103 grants_.erase(granteeUid); in removeAllGrantsToUid()
Dgrant_store.h69 bool removeByFileAlias(const uid_t granteeUid, const LockedKeyBlobEntry& lockedEntry);
71 void removeAllGrantsToUid(const uid_t granteeUid);
DKeyStore.cpp330 std::string KeyStore::addGrant(const LockedKeyBlobEntry& blobfile, uid_t granteeUid) { in addGrant() argument
331 return mGrants.put(granteeUid, blobfile); in addGrant()
334 bool KeyStore::removeGrant(const LockedKeyBlobEntry& blobfile, const uid_t granteeUid) { in removeGrant() argument
335 return mGrants.removeByFileAlias(granteeUid, blobfile); in removeGrant()
337 void KeyStore::removeAllGrantsToUid(const uid_t granteeUid) { in removeAllGrantsToUid() argument
338 mGrants.removeAllGrantsToUid(granteeUid); in removeAllGrantsToUid()
DKeyStore.h127 std::string addGrant(const LockedKeyBlobEntry& blobfile, uid_t granteeUid);
128 bool removeGrant(const LockedKeyBlobEntry& blobfile, const uid_t granteeUid);
129 void removeAllGrantsToUid(const uid_t granteeUid);
Dkey_store_service.h76 ::android::binder::Status grant(const ::android::String16& name, int32_t granteeUid,
78 ::android::binder::Status ungrant(const ::android::String16& name, int32_t granteeUid,
Dkey_store_service.cpp479 Status KeyStoreService::grant(const String16& name, int32_t granteeUid, in grant() argument
496 *aidl_return = String16(mKeyStore->addGrant(lockedEntry, granteeUid).c_str()); in grant()
500 Status KeyStoreService::ungrant(const String16& name, int32_t granteeUid, int32_t* aidl_return) { in ungrant() argument
516 *aidl_return = mKeyStore->removeGrant(lockedEntry, granteeUid); in ungrant()
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl49 String grant(String name, int granteeUid); in grant() argument
51 int ungrant(String name, int granteeUid); in ungrant() argument