Home
last modified time | relevance | path

Searched refs:mStrongAuth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStrongAuthTest.java68 private LockSettingsStrongAuth mStrongAuth; field in LockSettingsStrongAuthTest
89 mStrongAuth = new LockSettingsStrongAuth(mContext, mInjector); in setUp()
97 mStrongAuth.scheduleNonStrongBiometricIdleTimeout(PRIMARY_USER_ID); in testScheduleNonStrongBiometricIdleTimeout()
100 NonStrongBiometricIdleTimeoutAlarmListener alarm = mStrongAuth in testScheduleNonStrongBiometricIdleTimeout()
110 mStrongAuth.setIsNonStrongBiometricAllowed(false /* allowed */, PRIMARY_USER_ID); in testSetIsNonStrongBiometricAllowed_disallowed()
114 assertFalse(mStrongAuth.mIsNonStrongBiometricAllowedForUser in testSetIsNonStrongBiometricAllowed_disallowed()
123 mStrongAuth.reportSuccessfulBiometricUnlock(false /* isStrongBiometric */, PRIMARY_USER_ID); in testReportSuccessfulBiometricUnlock_nonStrongBiometric_fallbackTimeout()
127 mStrongAuth.mNonStrongBiometricTimeoutAlarmListener.get(PRIMARY_USER_ID); in testReportSuccessfulBiometricUnlock_nonStrongBiometric_fallbackTimeout()
136 mStrongAuth.requireStrongAuth( in testRequireStrongAuth_nonStrongBiometric_fallbackTimeout()
149 mStrongAuth.scheduleNonStrongBiometricIdleTimeout(PRIMARY_USER_ID); in testReportSuccessfulBiometricUnlock_nonStrongBiometric_cancelIdleTimeout()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java286 private final LockSettingsStrongAuth mStrongAuth; field in LockSettingsService
669 mStrongAuth = injector.getStrongAuth(); in LockSettingsService()
685 mStrongAuthTracker.register(mStrongAuth); in LockSettingsService()
2595 mStrongAuth.removeUser(userId); in removeUserState()
2625 mStrongAuth.registerStrongAuthTracker(tracker); in registerStrongAuthTracker()
2631 mStrongAuth.unregisterStrongAuthTracker(tracker); in unregisterStrongAuthTracker()
2637 mStrongAuth.requireStrongAuth(strongAuthReason, userId); in requireStrongAuth()
2643 mStrongAuth.reportSuccessfulBiometricUnlock(isStrongBiometric, userId); in reportSuccessfulBiometricUnlock()
2649 mStrongAuth.scheduleNonStrongBiometricIdleTimeout(userId); in scheduleNonStrongBiometricIdleTimeout()
2655 mStrongAuth.reportUnlock(userId); in userPresent()
[all …]