Lines Matching refs:granteeUid
1049 void addGrant(const char* filename, uid_t granteeUid) {
1050 const grant_t* existing = getGrant(filename, granteeUid);
1053 grant->uid = granteeUid;
1059 bool removeGrant(const char* filename, uid_t granteeUid) {
1063 if (grant->uid == granteeUid
2088 int32_t grant(const String16& name, int32_t granteeUid) {
2108 mKeyStore->addGrant(filename.string(), granteeUid);
2112 int32_t ungrant(const String16& name, int32_t granteeUid) {
2132 return mKeyStore->removeGrant(filename.string(), granteeUid) ? ::NO_ERROR : ::KEY_NOT_FOUND;