H A D | key_store_service.cpp | 68 uid_t targetUid = getEffectiveUid(uid); local 69 if (!checkBinderPermission(P_GET, targetUid)) { 76 ResponseCode responseCode = mKeyStore->getKeyForName(&keyBlob, name8, targetUid, TYPE_GENERIC); 91 int targetUid, int32_t flags) { 92 targetUid = getEffectiveUid(targetUid); 94 checkBinderPermissionAndKeystoreState(P_INSERT, targetUid, flags & KEYSTORE_FLAG_ENCRYPTED); 100 String8 filename(mKeyStore->getKeyNameForUidWithDir(name8, targetUid, ::TYPE_GENERIC)); 105 return mKeyStore->put(filename.string(), &keyBlob, get_user_id(targetUid)); 108 int32_t KeyStoreService::del(const String16& name, int targetUid) { argument 90 insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid, int32_t flags) argument 126 exist(const String16& name, int targetUid) argument 141 list(const String16& prefix, int targetUid, Vector<String16>* matches) argument 280 generate(const String16& name, int32_t targetUid, int32_t keyType, int32_t keySize, int32_t flags, Vector<sp<KeystoreArg>>* args) argument 353 import(const String16& name, const uint8_t* data, size_t length, int targetUid, int32_t flags) argument 464 uid_t targetUid = getEffectiveUid(uid); local 562 uid_t targetUid = getEffectiveUid(targetUid64); local 716 uid_t targetUid = getEffectiveUid(uid); local 849 uid_t targetUid = getEffectiveUid(uid); local 887 uid_t targetUid = getEffectiveUid(uid); local 1277 getEffectiveUid(int32_t targetUid) argument 1288 checkBinderPermission(perm_t permission, int32_t targetUid) argument 1306 checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid) argument 1323 checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid) argument 1340 checkBinderPermissionAndKeystoreState(perm_t permission, int32_t targetUid, bool checkUnlocked) argument [all...] |