Lines Matching refs:userId
38 UserState::UserState(uid_t userId) in UserState() argument
39 : mMasterKeyEntry(".masterkey", "user_" + std::to_string(userId), userId, /* masterkey */ true), in UserState()
40 mUserId(userId), mState(STATE_UNINITIALIZED) {} in UserState()
46 bool UserState::operator<(uid_t userId) const { in operator <()
47 return getUserId() < userId; in operator <()
50 bool operator<(uid_t userId, const UserState& rhs) { in operator <() argument
51 return userId < rhs.getUserId(); in operator <()
279 LockedUserState<UserState> UserStateDB::getUserState(uid_t userId) { in getUserState() argument
283 std::tie(it, inserted) = mMasterKeys.emplace(userId, userId); in getUserState()
290 ALOGE("User initialization failed for %u; subsequent operations will fail", userId); in getUserState()
300 LockedUserState<const UserState> UserStateDB::getUserState(uid_t userId) const { in getUserState()
302 auto it = mMasterKeys.find(userId); in getUserState()