Home
last modified time | relevance | path

Searched refs:appId (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DKeyStorage.cpp100 const std::string& appId, std::string* key) { in generateKeymasterKey() argument
106 addStringParam(&paramBuilder, keymaster::TAG_APPLICATION_ID, appId); in generateKeymasterKey()
126 const std::string& appId) { in beginParams() argument
131 addStringParam(&paramBuilder, keymaster::TAG_APPLICATION_ID, appId); in beginParams()
140 const KeyAuthentication& auth, const std::string& appId, in encryptWithKeymasterKey() argument
142 auto params = beginParams(auth, appId).build(); in encryptWithKeymasterKey()
165 const KeyAuthentication& auth, const std::string& appId, in decryptWithKeymasterKey() argument
169 auto params = addStringParam(beginParams(auth, appId), keymaster::TAG_NONCE, nonce).build(); in decryptWithKeymasterKey()
239 std::string* appId) { in generateAppId() argument
242 *appId = hashSecdiscardable(secdiscardable) + stretched; in generateAppId()
[all …]
/system/core/libcutils/
Dmultiuser.c27 uid_t multiuser_get_uid(userid_t userId, appid_t appId) { in multiuser_get_uid() argument
28 return userId * MULTIUSER_APP_PER_USER_RANGE + (appId % MULTIUSER_APP_PER_USER_RANGE); in multiuser_get_uid()
/system/core/include/cutils/
Dmultiuser.h37 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
/system/security/keystore/
Dkey_store_service.cpp1320 UniquePtr<keymaster_blob_t> appId; in getOperationCharacteristics() local
1324 appId.reset(new keymaster_blob_t); in getOperationCharacteristics()
1325 appId->data = param.blob.data; in getOperationCharacteristics()
1326 appId->data_length = param.blob.data_length; in getOperationCharacteristics()
1338 dev->get_key_characteristics(dev, &key, appId.get(), appData.get(), &result); in getOperationCharacteristics()