Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardBiometricLockoutLoggerTest.kt49 lateinit var strongAuthTracker: KeyguardUpdateMonitor.StrongAuthTracker variable in com.android.keyguard.KeyguardBiometricLockoutLoggerTest
66 whenever(keyguardUpdateMonitor.strongAuthTracker).thenReturn(strongAuthTracker) in setUp()
95 whenever(strongAuthTracker.getStrongAuthForUser(anyInt())) in test_logTimeoutChange()
112 whenever(strongAuthTracker.getStrongAuthForUser(anyInt())) in test_logUnattendedUpdate()
129 whenever(strongAuthTracker.getStrongAuthForUser(anyInt())) in test_logMultipleChanges()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java618 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_deviceLockedByAdmin() local
620 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(strongAuthTracker); in testBouncerPrompt_deviceLockedByAdmin()
621 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdmin()
636 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_deviceLockedByAdaptiveAuth() local
638 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(strongAuthTracker); in testBouncerPrompt_deviceLockedByAdaptiveAuth()
639 when(strongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testBouncerPrompt_deviceLockedByAdaptiveAuth()
640 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdaptiveAuth()
654 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker = in testBouncerPrompt_deviceRestartedDueToMainlineUpdate() local
656 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(strongAuthTracker); in testBouncerPrompt_deviceRestartedDueToMainlineUpdate()
657 when(strongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(false); in testBouncerPrompt_deviceRestartedDueToMainlineUpdate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt146 private val strongAuthTracker = StrongAuthTracker(userRepository, context) constant
149 strongAuthTracker.currentUserAuthFlags.map { it.isInUserLockdown } in <lambda>()
152 strongAuthTracker.currentUserAuthFlags
156 lockPatternUtils.registerStrongAuthTracker(strongAuthTracker)
293 strongAuthTracker.isStrongBiometricAllowed.stateIn(
296 strongAuthTracker.isBiometricAllowedForUser(
303 strongAuthTracker.isNonStrongBiometricAllowed.stateIn(
306 strongAuthTracker.isBiometricAllowedForUser(
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepositoryTest.kt93 private lateinit var strongAuthTracker: ArgumentCaptor<LockPatternUtils.StrongAuthTracker> variable in com.android.systemui.keyguard.data.repository.BiometricSettingsRepositoryTest
149 verify(lockPatternUtils).registerStrongAuthTracker(strongAuthTracker.capture()) in createBiometricSettingsRepository()
305 strongAuthTracker.value.stub.onStrongAuthRequiredChanged(flags, userId) in onStrongAuthChanged()
310 strongAuthTracker.value.stub.onIsNonStrongBiometricAllowedChanged(allowed, userId) in onNonStrongAuthChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardBiometricLockoutLogger.kt87 val strongAuthFlags = keyguardUpdateMonitor.strongAuthTracker in onStrongAuthStateChanged()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java744 ArgumentCaptor<StrongAuthTracker> strongAuthTracker = in setupStrongAuthTracker() local
746 verify(mLockPatternUtils).registerStrongAuthTracker(strongAuthTracker.capture()); in setupStrongAuthTracker()
747 strongAuthTracker.getValue().getStub().onStrongAuthRequiredChanged( in setupStrongAuthTracker()
749 strongAuthTracker.getValue().getStub().onIsNonStrongBiometricAllowedChanged( in setupStrongAuthTracker()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1304 public void registerStrongAuthTracker(final StrongAuthTracker strongAuthTracker) { in registerStrongAuthTracker() argument
1306 getLockSettings().registerStrongAuthTracker(strongAuthTracker.getStub()); in registerStrongAuthTracker()
1312 public void unregisterStrongAuthTracker(final StrongAuthTracker strongAuthTracker) { in unregisterStrongAuthTracker() argument
1314 getLockSettings().unregisterStrongAuthTracker(strongAuthTracker.getStub()); in unregisterStrongAuthTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java906 KeyguardUpdateMonitor.StrongAuthTracker strongAuthTracker =
908 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser);
910 strongAuthTracker.isNonStrongBiometricAllowedAfterIdleTimeout(currentUser);
912 if (any && !strongAuthTracker.hasUserAuthenticatedSinceBoot()) {
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2277 void setStrongAuthTracker(StrongAuthTracker strongAuthTracker) { in setStrongAuthTracker() argument
2278 mStrongAuthTracker = strongAuthTracker; in setStrongAuthTracker()