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.java94 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitorTest
133 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed()).thenReturn(true); in setup()
341 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in skipsAuthentication_whenEncryptedKeyguard()
366 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn(strongAuth); in testStrongAuthExceptOnBouncer()
415 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testIgnoresAuth_whenLockdown()
426 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testIgnoresAuth_whenLockout()
496 mStrongAuthTracker = 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.java236 protected StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitor
994 return mStrongAuthTracker.isUnlockingWithBiometricAllowed(); in isUnlockingWithBiometricAllowed()
998 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1003 return mStrongAuthTracker.getStrongAuthForUser(getCurrentUser()) in userNeedsStrongAuth()
1016 return mStrongAuthTracker; in getStrongAuthTracker()
1530 mStrongAuthTracker = new StrongAuthTracker(context, this::notifyStrongAuthStateChanged); in KeyguardUpdateMonitor()
1593 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in KeyguardUpdateMonitor()
1737 final int strongAuth = mStrongAuthTracker.getStrongAuthForUser(user); in shouldListenForFace()
2687 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
2702 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java200 private final SynchronizedStrongAuthTracker mStrongAuthTracker; field in LockSettingsService
488 mStrongAuthTracker = injector.getStrongAuthTracker(); in LockSettingsService()
489 mStrongAuthTracker.register(mStrongAuth); in LockSettingsService()
2190 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()