Lines Matching refs:String8

63 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) {  in initializeUser()
74 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) { in writeMasterKey()
79 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) { in readMasterKey()
91 static size_t encode_key_length(const android::String8& keyName) { in encode_key_length()
102 static int encode_key(char* out, const android::String8& keyName) { in encode_key()
118 android::String8 KeyStore::getKeyName(const android::String8& keyName) { in getKeyName()
121 return android::String8(encoded); in getKeyName()
124 android::String8 KeyStore::getKeyNameForUid(const android::String8& keyName, uid_t uid) { in getKeyNameForUid()
127 return android::String8::format("%u_%s", uid, encoded); in getKeyNameForUid()
130 android::String8 KeyStore::getKeyNameForUidWithDir(const android::String8& keyName, uid_t uid) { in getKeyNameForUidWithDir()
133 return android::String8::format("%s/%u_%s", getUserStateByUid(uid)->getUserDirName(), uid, in getKeyNameForUidWithDir()
138 android::String8 prefix(""); in resetUser()
145 android::String8 filename(aliases[i]); in resetUser()
146 filename = android::String8::format("%s/%s", userState->getUserDirName(), in resetUser()
347 ResponseCode KeyStore::list(const android::String8& prefix, in list()
486 ResponseCode KeyStore::getKeyForName(Blob* keyBlob, const android::String8& keyName, in getKeyForName()
488 android::String8 filepath8(getKeyNameForUidWithDir(keyName, uid)); in getKeyForName()
507 android::String8 filename8 = getKeyName(keyName); in getKeyForName()
513 filepath8 = android::String8::format("%s/%s", getUserState(userId)->getUserDirName(), in getKeyForName()