Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java133 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitorTest
226 when(mStrongAuthTracker in setup()
543 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in skipsAuthentication_whenEncryptedKeyguard()
619 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testIgnoresAuth_whenLockdown()
631 when(mStrongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testTriesToAuthenticate_whenLockout()
909 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testStartUdfpsServiceBeginsOnKeyguard()
921 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testOccludingAppFingerprintListeningState()
981 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testShouldNotListenForUdfps_whenTrustEnabled()
995 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testShouldNotListenForUdfps_whenFaceAuthenticated()
1010 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testShouldNotListenForUdfps_whenInLockDown()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java187 private final StrongAuthTracker mStrongAuthTracker; field in TrustManagerService
198 mStrongAuthTracker = new StrongAuthTracker(context); in TrustManagerService()
217 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in onBootPhase()
399 if (mStrongAuthTracker.isTrustAllowedForUser(userId) in updateTrust()
583 if (!mStrongAuthTracker.canAgentsRunForUser(userInfo.id)) { in refreshAgentList()
584 int flag = mStrongAuthTracker.getStrongAuthForUser(userInfo.id); in refreshAgentList()
922 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrusted()
937 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrustManaged()
953 mStrongAuthTracker.allowTrustFromUnlock(userId); in dispatchUnlockAttempt()
1213 mStrongAuthTracker.getStrongAuthForUser(user.id)));
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java303 private StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitor
1252 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1267 return mStrongAuthTracker.getStrongAuthForUser(getCurrentUser()) in userNeedsStrongAuth()
1280 return mStrongAuthTracker; in getStrongAuthTracker()
1773 if (mStrongAuthTracker != null) { in setStrongAuthTracker()
1777 mStrongAuthTracker = tracker; in setStrongAuthTracker()
1778 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in setStrongAuthTracker()
2013 setStrongAuthTracker(mStrongAuthTracker); in KeyguardUpdateMonitor()
2357 final int strongAuth = mStrongAuthTracker.getStrongAuthForUser(user); in shouldListenForFace()
2468 mStrongAuthTracker.onStrongAuthRequiredChanged(userId); in onLockIconPressed()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java222 private final SynchronizedStrongAuthTracker mStrongAuthTracker; field in LockSettingsService
589 mStrongAuthTracker = injector.getStrongAuthTracker(); in LockSettingsService()
590 mStrongAuthTracker.register(mStrongAuth); in LockSettingsService()
2554 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()