Home
last modified time | relevance | path

Searched refs:strongAuthTracker (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardBiometricLockoutLoggerTest.kt48 lateinit var strongAuthTracker: KeyguardUpdateMonitor.StrongAuthTracker
63 whenever(keyguardUpdateMonitor.strongAuthTracker).thenReturn(strongAuthTracker)
91 whenever(strongAuthTracker.getStrongAuthForUser(anyInt()))
108 whenever(strongAuthTracker.getStrongAuthForUser(anyInt()))
125 whenever(strongAuthTracker.getStrongAuthForUser(anyInt()))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DBiometricSettingsRepository.kt143 private val strongAuthTracker = StrongAuthTracker(userRepository, context) regex
146 strongAuthTracker.currentUserAuthFlags.map { it.isInUserLockdown }
149 strongAuthTracker.currentUserAuthFlags
153 lockPatternUtils.registerStrongAuthTracker(strongAuthTracker)
291 strongAuthTracker.isStrongBiometricAllowed.stateIn(
294 strongAuthTracker.isBiometricAllowedForUser(
301 strongAuthTracker.isNonStrongBiometricAllowed.stateIn(
304 strongAuthTracker.isBiometricAllowedForUser(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DKeyguardViewMediatorTest.java474 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_deviceLockedByAdmin() local
477 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdmin()
491 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_deviceRestartedDueToMainlineUpdate() local
508 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_afterUserLockDown() local
511 when(strongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testBouncerPrompt_afterUserLockDown()
512 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown()
526 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_afterUserLockDown_noBiometricsEnrolled() local
530 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown_noBiometricsEnrolled()
545 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_nonStrongIdleTimeout() local
549 when(strongAuthTracker.isNonStrongBiometricAllowedAfterIdleTimeout( in testBouncerPrompt_nonStrongIdleTimeout()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DBiometricSettingsRepositoryTest.kt91 private lateinit var strongAuthTracker: ArgumentCaptor<LockPatternUtils.StrongAuthTracker>
143 verify(lockPatternUtils).registerStrongAuthTracker(strongAuthTracker.capture())
274 strongAuthTracker.value.stub.onStrongAuthRequiredChanged(flags, userId)
279 strongAuthTracker.value.stub.onIsNonStrongBiometricAllowedChanged(allowed, userId)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardBiometricLockoutLogger.kt85 val strongAuthFlags = keyguardUpdateMonitor.strongAuthTracker
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1316 public void registerStrongAuthTracker(final StrongAuthTracker strongAuthTracker) { in registerStrongAuthTracker() argument
1318 getLockSettings().registerStrongAuthTracker(strongAuthTracker.getStub()); in registerStrongAuthTracker()
1324 public void unregisterStrongAuthTracker(final StrongAuthTracker strongAuthTracker) { in unregisterStrongAuthTracker() argument
1326 getLockSettings().unregisterStrongAuthTracker(strongAuthTracker.getStub()); in unregisterStrongAuthTracker()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java893 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker =
895 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser);
897 strongAuthTracker.isNonStrongBiometricAllowedAfterIdleTimeout(currentUser);
899 if (any && !strongAuthTracker.hasUserAuthenticatedSinceBoot()) {
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java2070 void setStrongAuthTracker(StrongAuthTracker strongAuthTracker) { in setStrongAuthTracker() argument
2071 mStrongAuthTracker = strongAuthTracker; in setStrongAuthTracker()