Lines Matching refs:userId
81 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) { in initializeUser() argument
82 auto userState = mUserStateDB.getUserState(userId); in initializeUser()
92 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) { in writeMasterKey() argument
93 auto userState = mUserStateDB.getUserState(userId); in writeMasterKey()
97 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) { in readMasterKey() argument
98 auto userState = mUserStateDB.getUserState(userId); in readMasterKey()
136 void KeyStore::resetUser(uid_t userId, bool keepUnenryptedEntries) { in resetUser() argument
140 auto userState = mUserStateDB.getUserState(userId); in resetUser()
197 userState = mUserStateDB.getUserState(userId); in resetUser()
199 ALOGE("Failed to delete user %d's master key", userId); in resetUser()
203 ALOGE("Failed to remove user %d's directory", userId); in resetUser()
208 bool KeyStore::isEmpty(uid_t userId) const { in isEmpty()
213 auto userState = mUserStateDB.getUserState(userId); in isEmpty()
230 void KeyStore::lock(uid_t userId) { in lock() argument
231 auto userState = mUserStateDB.getUserState(userId); in lock()
245 uid_t userId = get_user_id(blobfile->uid()); in get() local
249 auto userState = mUserStateDB.getUserState(userId); in get()