Searched refs:mLockoutTracker (Results 1 – 6 of 6) sorted by relevance
121 FakeLockoutTracker mLockoutTracker; member in aidl::android::hardware::biometrics::face::FakeLockoutTrackerTest128 mLockoutTracker.addFailedAttempt(mCallback.get()); in TEST_F()129 ASSERT_EQ(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kNone); in TEST_F()135 ASSERT_FALSE(mLockoutTracker.checkIfLockout(mCallback.get())); in TEST_F()137 mLockoutTracker.addFailedAttempt(mCallback.get()); in TEST_F()138 ASSERT_NE(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kPermanent); in TEST_F()140 mLockoutTracker.addFailedAttempt(mCallback.get()); in TEST_F()141 ASSERT_EQ(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kPermanent); in TEST_F()143 ASSERT_TRUE(mLockoutTracker.checkIfLockout(mCallback.get())); in TEST_F()150 ASSERT_FALSE(mLockoutTracker.checkIfLockout(mCallback.get())); in TEST_F()[all …]
54 FakeLockoutTracker mLockoutTracker; member in aidl::android::hardware::biometrics::fingerprint::FakeLockoutTrackerTest59 for (int i = 0; i < LOCKOUT_TIMED_THRESHOLD + 1; i++) mLockoutTracker.addFailedAttempt(); in TEST_F()60 ASSERT_EQ(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kNone); in TEST_F()61 mLockoutTracker.reset(); in TEST_F()66 for (int i = 0; i < LOCKOUT_TIMED_THRESHOLD; i++) mLockoutTracker.addFailedAttempt(); in TEST_F()67 ASSERT_EQ(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kTimed); in TEST_F()73 int64_t currTimeLeft = mLockoutTracker.getLockoutTimeLeft(); in TEST_F()77 ASSERT_EQ(mLockoutTracker.getMode(), FakeLockoutTracker::LockoutMode::kNone); in TEST_F()78 mLockoutTracker.reset(); in TEST_F()83 for (int i = 0; i < LOCKOUT_PERMANENT_THRESHOLD - 1; i++) mLockoutTracker.addFailedAttempt(); in TEST_F()[all …]
68 os << mLockoutTracker.toString(); in toString()80 FakeLockoutTracker mLockoutTracker; variable
208 if (mLockoutTracker.checkIfLockout(cb)) { in authenticateImpl()223 mLockoutTracker.addFailedAttempt(cb); in authenticateImpl()258 mLockoutTracker.reset(); in authenticateImpl()263 mLockoutTracker.addFailedAttempt(cb); in authenticateImpl()418 mLockoutTracker.reset(); in resetLockoutImpl()
215 return FakeLockoutTracker::LockoutMode::kPermanent == mLockoutTracker.getMode(); in onAuthenticateFingerDown()222 mLockoutTracker.addFailedAttempt(); in onAuthenticateFingerDown()263 mLockoutTracker.reset(); in onAuthenticateFingerDown()268 mLockoutTracker.addFailedAttempt(); in onAuthenticateFingerDown()395 mLockoutTracker.reset(); in clearLockout()509 FakeLockoutTracker::LockoutMode lockoutMode = mLockoutTracker.getMode(); in checkSensorLockout()516 int64_t timeLeft = mLockoutTracker.getLockoutTimeLeft(); in checkSensorLockout()
86 os << mLockoutTracker.toString(); in toString()116 FakeLockoutTracker mLockoutTracker; variable