Searched refs:srcUid (Results 1 – 4 of 4) sorted by relevance
/system/security/keystore/ |
D | key_store_service.cpp | 584 KeyStoreServiceReturnCode KeyStoreService::duplicate(const String16& srcKey, int32_t srcUid, in duplicate() argument 599 if (srcUid == -1 || static_cast<uid_t>(srcUid) == callingUid) { in duplicate() 600 srcUid = callingUid; in duplicate() 601 } else if (!is_granted_to(callingUid, srcUid)) { in duplicate() 602 ALOGD("migrate not granted from source: %d -> %d", callingUid, srcUid); in duplicate() 610 if (srcUid != destUid) { in duplicate() 611 if (static_cast<uid_t>(srcUid) != callingUid) { in duplicate() 614 callingUid, srcUid, destUid); in duplicate() 625 String8 sourceFile(mKeyStore->getKeyNameForUidWithDir(source8, srcUid, ::TYPE_ANY)); in duplicate() 637 mKeyStore->get(sourceFile.string(), &keyBlob, TYPE_ANY, get_user_id(srcUid)); in duplicate()
|
D | key_store_service.h | 92 KeyStoreServiceReturnCode duplicate(const android::String16& srcKey, int32_t srcUid,
|
D | IKeystoreService.cpp | 499 KeyStoreServiceReturnCode duplicate(const String16& srcKey, int32_t srcUid, in duplicate() argument 504 data.writeInt32(srcUid); in duplicate() 1141 int32_t srcUid = data.readInt32(); in onTransact() local 1144 int32_t ret = duplicate(srcKey, srcUid, destKey, destUid); in onTransact()
|
/system/security/keystore/include/keystore/ |
D | IKeystoreService.h | 178 duplicate(const String16& srcKey, int32_t srcUid, const String16& destKey, int32_t destUid) = 0;
|