Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java208 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitorTest
314 when(mStrongAuthTracker.getStub()).thenReturn(mock(IStrongAuthTracker.Stub.class)); in setup()
315 when(mStrongAuthTracker in setup()
878 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(false); in testUnlockingWithFaceAllowed_strongAuthTrackerUnlockingWithBiometricNotAllowed()
922 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(false); in testUnlockingWithFpAllowed_strongAuthTrackerUnlockingWithBiometricNotAllowed()
1085 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(true /* isClass3Biometric */)) in testGetUserCanSkipBouncer_whenFace()
1095 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(false /* isClass3Biometric */)) in testGetUserCanSkipBouncer_whenFace_nonStrongAndDisallowed()
1113 when(mStrongAuthTracker.isUnlockingWithBiometricAllowed(false /* isClass3Biometric */)) in testGetUserCanSkipBouncer_whenFingerprint_nonStrongAndDisallowed()
1356 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in testStartUdfpsServiceBeginsOnKeyguard()
1368 when(mStrongAuthTracker.hasUserAuthenticatedSinceBoot()).thenReturn(true); in listenForFingerprint_whenOccludingAppPkgOnAllowlist()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java251 private final StrongAuthTracker mStrongAuthTracker; field in TrustManagerService
299 mStrongAuthTracker = new StrongAuthTracker(context, injector.getLooper()); in TrustManagerService()
318 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in onBootPhase()
605 if (mStrongAuthTracker.isTrustAllowedForUser(userId) in updateTrust()
894 if (!mStrongAuthTracker.canAgentsRunForUser(userInfo.id)) { in refreshAgentList()
895 int flag = mStrongAuthTracker.getStrongAuthForUser(userInfo.id); in refreshAgentList()
906 mStrongAuthTracker.getStrongAuthForUser( in refreshAgentList()
1391 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrusted()
1411 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsTrustable()
1430 if (!mStrongAuthTracker.isTrustAllowedForUser(userId)) { in aggregateIsActiveUnlockRunning()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java93 private KeyguardUpdateMonitor.StrongAuthTracker mStrongAuthTracker; field in BiometricsUnlockControllerTest
154 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(mStrongAuthTracker); in setUp()
319 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(mStrongAuthTracker); in onBiometricAuthenticated_whenFace_andBypass_encrypted_showPrimaryBouncer()
352 when(mUpdateMonitor.getStrongAuthTracker()).thenReturn(mStrongAuthTracker); in onBiometricAuthenticated_whenFace_noBypass_encrypted_doNothing()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java341 private StrongAuthTracker mStrongAuthTracker; field in KeyguardUpdateMonitor
1517 if (!mStrongAuthTracker.isUnlockingWithBiometricAllowed(isStrongBiometric)) { in isUnlockingWithBiometricAllowed()
1564 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1573 final int strongAuth = mStrongAuthTracker.getStrongAuthForUser(userId); in isEncryptedOrLockdown()
1586 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isDeviceLockedByAdaptiveAuth()
1599 return mStrongAuthTracker; in getStrongAuthTracker()
2118 if (mStrongAuthTracker != null) { in setStrongAuthTracker()
2119 mLockPatternUtils.unregisterStrongAuthTracker(mStrongAuthTracker); in setStrongAuthTracker()
2122 mStrongAuthTracker = tracker; in setStrongAuthTracker()
2123 mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker); in setStrongAuthTracker()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java287 private final SynchronizedStrongAuthTracker mStrongAuthTracker; field in LockSettingsService
684 mStrongAuthTracker = injector.getStrongAuthTracker(); in LockSettingsService()
685 mStrongAuthTracker.register(mStrongAuth); in LockSettingsService()
2661 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java512 TestableNotificationManagerService.StrongAuthTrackerFake mStrongAuthTracker; field in NotificationManagerServiceTest
779 mStrongAuthTracker = mService.new StrongAuthTrackerFake(mContext); in initNMS()
780 mService.setStrongAuthTracker(mStrongAuthTracker); in initNMS()
12771 mStrongAuthTracker.setGetStrongAuthForUserReturnValue(
12773 mStrongAuthTracker.onStrongAuthRequiredChanged(mContext.getUserId());
12774 assertTrue(mStrongAuthTracker.isInLockDownMode(mContext.getUserId()));
12775 mStrongAuthTracker.setGetStrongAuthForUserReturnValue(mContext.getUserId());
12776 mStrongAuthTracker.onStrongAuthRequiredChanged(mContext.getUserId());
12777 assertFalse(mStrongAuthTracker.isInLockDownMode(mContext.getUserId()));
12791 mStrongAuthTracker.setGetStrongAuthForUserReturnValue(
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2257 private StrongAuthTracker mStrongAuthTracker; field in NotificationManagerService
2278 mStrongAuthTracker = strongAuthTracker; in setStrongAuthTracker()
2438 mStrongAuthTracker = new StrongAuthTracker(getContext()); in init()
2926 mLockUtils.registerStrongAuthTracker(mStrongAuthTracker);
10669 return mStrongAuthTracker.isInLockDownMode(userId);