Searched refs:granteeUid (Results 1 - 8 of 8) sorted by relevance

/system/security/keystore/
H A Dgrant_store.h62 bool removeByFileAlias(const uid_t granteeUid, const uid_t granterUid, const std::string& alias);
64 void removeAllGrantsToUid(const uid_t granteeUid);
H A Dgrant_store.cpp78 bool GrantStore::removeByFileAlias(const uid_t granteeUid, const uid_t granterUid, argument
80 auto& uid_grant_list = grants_[granteeUid];
101 void GrantStore::removeAllGrantsToUid(const uid_t granteeUid) { argument
102 grants_.erase(granteeUid);
H A Dkeystore.h92 std::string addGrant(const char* alias, uid_t granterUid, uid_t granteeUid);
93 bool removeGrant(const char* alias, const uid_t granterUid, const uid_t granteeUid);
94 void removeAllGrantsToUid(const uid_t granteeUid);
H A Dkey_store_service.h87 android::String16 grant(const android::String16& name, int32_t granteeUid) override;
88 KeyStoreServiceReturnCode ungrant(const android::String16& name, int32_t granteeUid) override;
H A Dkeystore.cpp486 std::string KeyStore::addGrant(const char* alias, uid_t granterUid, uid_t granteeUid) { argument
487 return mGrants.put(granteeUid, alias, getUserStateByUid(granterUid)->getUserDirName(),
491 bool KeyStore::removeGrant(const char* alias, const uid_t granterUid, const uid_t granteeUid) { argument
492 return mGrants.removeByFileAlias(granteeUid, granterUid, alias);
494 void KeyStore::removeAllGrantsToUid(const uid_t granteeUid) { argument
495 mGrants.removeAllGrantsToUid(granteeUid);
H A DIKeystoreService.cpp445 String16 grant(const String16& name, int32_t granteeUid) override {
449 data.writeInt32(granteeUid);
463 KeyStoreServiceReturnCode ungrant(const String16& name, int32_t granteeUid) override {
467 data.writeInt32(granteeUid);
1114 int32_t granteeUid = data.readInt32(); local
1115 String16 ret = grant(name, granteeUid);
1123 int32_t granteeUid = data.readInt32(); local
1124 int32_t ret = ungrant(name, granteeUid);
H A Dkey_store_service.cpp515 String16 KeyStoreService::grant(const String16& name, int32_t granteeUid) { argument
529 return String16(mKeyStore->addGrant(String8(name).string(), callingUid, granteeUid).c_str());
532 KeyStoreServiceReturnCode KeyStoreService::ungrant(const String16& name, int32_t granteeUid) { argument
546 return mKeyStore->removeGrant(name8, callingUid, granteeUid) ? ResponseCode::NO_ERROR
/system/security/keystore/include/keystore/
H A DIKeystoreService.h169 virtual String16 grant(const String16& name, int32_t granteeUid) = 0;
172 int32_t granteeUid) = 0;

Completed in 413 milliseconds