Home
last modified time | relevance | path

Searched refs:srcUid (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore/
Dkeystore.cpp2167 int32_t duplicate(const String16& srcKey, int32_t srcUid, const String16& destKey, in duplicate() argument
2181 if (srcUid == -1 || static_cast<uid_t>(srcUid) == callingUid) { in duplicate()
2182 srcUid = callingUid; in duplicate()
2183 } else if (!is_granted_to(callingUid, srcUid)) { in duplicate()
2184 ALOGD("migrate not granted from source: %d -> %d", callingUid, srcUid); in duplicate()
2192 if (srcUid != destUid) { in duplicate()
2193 if (static_cast<uid_t>(srcUid) != callingUid) { in duplicate()
2195 "calling=%d, srcUid=%d, destUid=%d", callingUid, srcUid, destUid); in duplicate()
2206 String8 sourceFile(mKeyStore->getKeyNameForUidWithDir(source8, srcUid)); in duplicate()
2209 String8 targetFile(mKeyStore->getKeyNameForUidWithDir(target8, srcUid)); in duplicate()
DIKeystoreService.cpp522 virtual int32_t duplicate(const String16& srcKey, int32_t srcUid, const String16& destKey, in duplicate() argument
528 data.writeInt32(srcUid); in duplicate()
854 int32_t srcUid = data.readInt32(); in onTransact() local
857 int32_t ret = duplicate(srcKey, srcUid, destKey, destUid); in onTransact()
/system/security/keystore/include/keystore/
DIKeystoreService.h117 virtual int32_t duplicate(const String16& srcKey, int32_t srcUid, const String16& destKey,