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

/system/security/keystore/
H A Dkeystore.cpp318 * Returns true if the callingUid is allowed to interact in the targetUid's
321 static bool is_granted_to(uid_t callingUid, uid_t targetUid) { argument
322 if (callingUid == targetUid) {
327 if (user.euid == callingUid && user.uid == targetUid) {
1741 int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid, argument
1743 targetUid = getEffectiveUid(targetUid);
1744 int32_t result = checkBinderPermissionAndKeystoreState(P_INSERT, targetUid,
1751 String8 filename(mKeyStore->getKeyNameForUidWithDir(name8, targetUid));
1756 return mKeyStore->put(filename.string(), &keyBlob, get_user_id(targetUid));
1759 del(const String16& name, int targetUid) argument
1769 exist(const String16& name, int targetUid) argument
1784 list(const String16& prefix, int targetUid, Vector<String16>* matches) argument
1913 generate(const String16& name, int32_t targetUid, int32_t keyType, int32_t keySize, int32_t flags, Vector<sp<KeystoreArg> >* args) argument
1988 import(const String16& name, const uint8_t* data, size_t length, int targetUid, int32_t flags) argument
2196 uid_t targetUid = getEffectiveUid(targetUid64); local
2741 getEffectiveUid(int32_t targetUid) argument
2770 checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid) argument
2787 checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid) argument
[all...]

Completed in 25 milliseconds