Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore.h76 void addGrant(const char* filename, uid_t granteeUid);
77 bool removeGrant(const char* filename, uid_t granteeUid);
Dkeystore.cpp390 void KeyStore::addGrant(const char* filename, uid_t granteeUid) { in addGrant() argument
391 const grant_t* existing = getGrant(filename, granteeUid); in addGrant()
394 grant->uid = granteeUid; in addGrant()
400 bool KeyStore::removeGrant(const char* filename, uid_t granteeUid) { in removeGrant() argument
403 if (grant->uid == granteeUid && in removeGrant()
Dkey_store_service.h80 int32_t grant(const String16& name, int32_t granteeUid);
81 int32_t ungrant(const String16& name, int32_t granteeUid);
DIKeystoreService.cpp859 virtual int32_t grant(const String16& name, int32_t granteeUid) in grant() argument
864 data.writeInt32(granteeUid); in grant()
879 virtual int32_t ungrant(const String16& name, int32_t granteeUid) in ungrant() argument
884 data.writeInt32(granteeUid); in ungrant()
1605 int32_t granteeUid = data.readInt32(); in onTransact() local
1606 int32_t ret = grant(name, granteeUid); in onTransact()
1614 int32_t granteeUid = data.readInt32(); in onTransact() local
1615 int32_t ret = ungrant(name, granteeUid); in onTransact()
Dkey_store_service.cpp420 int32_t KeyStoreService::grant(const String16& name, int32_t granteeUid) { in grant() argument
434 mKeyStore->addGrant(filename.string(), granteeUid); in grant()
438 int32_t KeyStoreService::ungrant(const String16& name, int32_t granteeUid) { in ungrant() argument
452 return mKeyStore->removeGrant(filename.string(), granteeUid) ? ::NO_ERROR : ::KEY_NOT_FOUND; in ungrant()
/system/security/keystore/include/keystore/
DIKeystoreService.h191 virtual int32_t grant(const String16& name, int32_t granteeUid) = 0;
193 virtual int32_t ungrant(const String16& name, int32_t granteeUid) = 0;