Lines Matching refs:UserState
38 UserState::UserState(uid_t userId) in UserState() function in keystore::UserState
42 bool UserState::operator<(const UserState& rhs) const { in operator <()
46 bool UserState::operator<(uid_t userId) const { in operator <()
50 bool operator<(uid_t userId, const UserState& rhs) { in operator <()
54 bool UserState::initialize() { in initialize()
70 void UserState::setState(State state) { in setState()
74 void UserState::zeroizeMasterKeysInMemory() { in zeroizeMasterKeysInMemory()
79 bool UserState::deleteMasterKey() { in deleteMasterKey()
85 ResponseCode UserState::initialize(const android::String8& pw) { in initialize()
97 ResponseCode UserState::copyMasterKey(LockedUserState<UserState>* src) { in copyMasterKey()
109 ResponseCode UserState::copyMasterKeyFile(LockedUserState<UserState>* src) { in copyMasterKeyFile()
139 ResponseCode UserState::writeMasterKey(const android::String8& pw) { in writeMasterKey()
151 ResponseCode UserState::readMasterKey(const android::String8& pw) { in readMasterKey()
213 bool UserState::reset() { in reset()
237 void UserState::generateKeyFromPassword(std::vector<uint8_t>& key, const android::String8& pw, in generateKeyFromPassword()
260 bool UserState::generateSalt() { in generateSalt()
264 bool UserState::generateMasterKey() { in generateMasterKey()
275 void UserState::setupMasterKeys() { in setupMasterKeys()
279 LockedUserState<UserState> UserStateDB::getUserState(uid_t userId) { in getUserState()
296 LockedUserState<UserState> UserStateDB::getUserStateByUid(uid_t uid) { in getUserStateByUid()
300 LockedUserState<const UserState> UserStateDB::getUserState(uid_t userId) const { in getUserState()
307 LockedUserState<const UserState> UserStateDB::getUserStateByUid(uid_t uid) const { in getUserStateByUid()