Lines Matching refs:Session

94 std::string state2str(const Session::State s) {  in state2str()
96 case Session::State::IDLE: return "IDLE"; in state2str()
97 case Session::State::ENROLLING_START: return "ENROLLING_START"; in state2str()
98 case Session::State::ENROLLING_END: return "ENROLLING_END"; in state2str()
99 case Session::State::AUTHENTICATING: return "AUTHENTICATING"; in state2str()
100 case Session::State::DETECTING_INTERACTION: return "DETECTING_INTERACTION"; in state2str()
105 std::string errorCode2str(const Session::ErrorCode ec) { in errorCode2str()
107 case Session::ErrorCode::OK: return "OK"; in errorCode2str()
108 case Session::ErrorCode::E_HAT_MAC_EMPTY: return "E_HAT_MAC_EMPTY"; in errorCode2str()
109 case Session::ErrorCode::E_HAT_WRONG_CHALLENGE: return "E_HAT_WRONG_CHALLENGE"; in errorCode2str()
110 case Session::ErrorCode::E_INCORRECT_STATE: return "E_INCORRECT_STATE"; in errorCode2str()
111 case Session::ErrorCode::E_ENROLL_FAILED: return "E_ENROLL_FAILED"; in errorCode2str()
129 Session::Session(const int32_t sensorId, const int32_t userId, in Session() function in aidl::android::hardware::biometrics::fingerprint::Session
139 mSensorListener = std::thread(&Session::sensorListenerFunc, this); in Session()
146 Session::~Session() { in ~Session()
153 ndk::ScopedAStatus Session::generateChallenge() { in generateChallenge()
169 ndk::ScopedAStatus Session::revokeChallenge(const int64_t challenge) { in revokeChallenge()
176 ndk::ScopedAStatus Session::enroll(const keymaster::HardwareAuthToken& hat, in enroll()
212 ndk::ScopedAStatus Session::authenticate(const int64_t operationId, in authenticate()
242 ndk::ScopedAStatus Session::detectInteraction( in detectInteraction()
271 ndk::ScopedAStatus Session::enumerateEnrollments() { in enumerateEnrollments()
284 ndk::ScopedAStatus Session::removeEnrollments(const std::vector<int32_t>& enrollmentIds) { in removeEnrollments()
296 ndk::ScopedAStatus Session::getAuthenticatorId() { in getAuthenticatorId()
308 ndk::ScopedAStatus Session::invalidateAuthenticatorId() { in invalidateAuthenticatorId()
320 ndk::ScopedAStatus Session::resetLockout(const keymaster::HardwareAuthToken& hat) { in resetLockout()
338 ndk::ScopedAStatus Session::close() { in close()
345 Session::ErrorCode Session::validateHat(const keymaster::HardwareAuthToken& hat) const { in validateHat()
358 int64_t Session::generateInt64() { in generateInt64()
363 void Session::onSensorEventOn(const int32_t enrollmentId) { in onSensorEventOn()
463 void Session::onSensorEventOff() {} in onSensorEventOff()
465 void Session::cancellEnroll() { in cancellEnroll()
477 void Session::cancellAuthenticate() { in cancellAuthenticate()
489 void Session::cancellDetectInteraction() { in cancellDetectInteraction()
501 bool Session::sensorListenerFuncImpl() { in sensorListenerFuncImpl()