Home
last modified time | relevance | path

Searched refs:mStrongAuthTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java122 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitorTest
179 when(mStrongAuthTracker.getStub()).thenReturn(mock(IStrongAuthTracker.Stub.class)); in setup()
180 when(mStrongAuthTracker in setup()
451 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in skipsAuthentication_whenEncryptedKeyguard()
476 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn(strongAuth); in testStrongAuthExceptOnBouncer()
525 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testIgnoresAuth_whenLockdown()
536 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testTriesToAuthenticate_whenLockout()
564 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(false /* isStrongBiometric */)) in testGetUserCanSkipBouncer_whenFace_nonStrongAndDisallowed()
580 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(false /* isStrongBiometric */)) in testGetUserCanSkipBouncer_whenFingerprint_nonStrongAndDisallowed()
749 setStrongAuthTracker(KeyguardUpdateMonitorTest.this.mStrongAuthTracker); in TestableKeyguardUpdateMonitor()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java181 private final StrongAuthTracker mStrongAuthTracker; field in TrustManagerService
192 mStrongAuthTracker = new StrongAuthTracker(context); in TrustManagerService()
211 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in onBootPhase()
393 if (mStrongAuthTracker.isTrustAllowedForUser(userId) in updateTrust()
577 if (!mStrongAuthTracker.canAgentsRunForUser(userInfo.id)) { in refreshAgentList()
578 int flag = mStrongAuthTracker.getStrongAuthForUser(userInfo.id); in refreshAgentList()
585 + Integer.toHexString(mStrongAuthTracker.getStrongAuthForUser( in refreshAgentList()
915 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrusted()
930 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrustManaged()
946 mStrongAuthTracker.allowTrustFromUnlock(userId); in dispatchUnlockAttempt()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java259 private StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitor
1067 return mStrongAuthTracker.isUnlockingWithBiometricAllowed(isStrongBiometric); in isUnlockingWithBiometricAllowed()
1071 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1076 return mStrongAuthTracker.getStrongAuthForUser(getCurrentUser()) in userNeedsStrongAuth()
1089 return mStrongAuthTracker; in getStrongAuthTracker()
1534 if (mStrongAuthTracker != null) { in setStrongAuthTracker()
1535 mLockPatternUtils.unregisterStrongAuthTracker(mStrongAuthTracker); in setStrongAuthTracker()
1538 mStrongAuthTracker = tracker; in setStrongAuthTracker()
1539 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in setStrongAuthTracker()
1560 mStrongAuthTracker = new StrongAuthTracker(context, this::notifyStrongAuthStateChanged); in KeyguardUpdateMonitor()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java216 private final SynchronizedStrongAuthTracker mStrongAuthTracker; field in LockSettingsService
581 mStrongAuthTracker = injector.getStrongAuthTracker(); in LockSettingsService()
582 mStrongAuthTracker.register(mStrongAuth); in LockSettingsService()
2352 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()