Home
last modified time | relevance | path

Searched refs:getStrongAuthForUser (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt109 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())) in testFeatureEnabledAfterBootVisibility()
118 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())).thenReturn(STRONG_AUTH_NOT_REQUIRED) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
128 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())).thenReturn(STRONG_AUTH_NOT_REQUIRED) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
139 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())).thenReturn(STRONG_AUTH_NOT_REQUIRED) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DScreenLockRule.kt70 strongAuthSavedValue = lockPatternUtils.getStrongAuthForUser(userId) in <lambda>()
75 lockPatternUtils.getStrongAuthForUser(userId) == in <lambda>()
114 lockPatternUtils.getStrongAuthForUser(context.userId) == STRONG_AUTH_NOT_REQUIRED in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardBiometricLockoutLoggerTest.kt95 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/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt400 MutableStateFlow(AuthenticationFlags(currentUserId, getStrongAuthForUser(currentUserId)))
411 .map { AuthenticationFlags(userId, getStrongAuthForUser(userId)) } in userId()
413 .onStart { emit(AuthenticationFlags(userId, getStrongAuthForUser(userId))) } in userId()
438 val newFlags = getStrongAuthForUser(userId) in onStrongAuthRequiredChanged()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1458 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockPatternUtils
1460 return getLockSettings().getStrongAuthForUser(userId); in getStrongAuthForUser()
1479 return getStrongAuthForUser(userId) == StrongAuthTracker.STRONG_AUTH_NOT_REQUIRED; in isTrustAllowedForUser()
1486 return (getStrongAuthForUser(userId) & ~StrongAuthTracker.ALLOWING_BIOMETRIC) == 0; in isBiometricAllowedForUser()
1490 return (getStrongAuthForUser(userId) in isUserInLockdown()
1829 public @StrongAuthFlags int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockPatternUtils.StrongAuthTracker
1838 return getStrongAuthForUser(userId) == STRONG_AUTH_NOT_REQUIRED; in isTrustAllowedForUser()
1846 boolean allowed = ((getStrongAuthForUser(userId) & ~ALLOWING_BIOMETRIC) == 0); in isBiometricAllowedForUser()
1876 int oldValue = getStrongAuthForUser(userId); in handleStrongAuthRequiredChanged()
DILockSettings.aidl71 int getStrongAuthForUser(int userId); in getStrongAuthForUser() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt88 lockPatternUtils.getStrongAuthForUser(userTracker.userHandle.identifier) == in getControlsController()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardBiometricLockoutLogger.kt88 .getStrongAuthForUser(userId) in onStrongAuthStateChanged()
DKeyguardUpdateMonitor.java1600 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1609 final int strongAuth = mStrongAuthTracker.getStrongAuthForUser(userId); in isEncryptedOrLockdown()
1622 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isDeviceLockedByAdaptiveAuth()
2049 return (getStrongAuthForUser(userId) in hasUserAuthenticatedSinceBoot()
4254 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
4310 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java126 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn(STRONG_AUTH_NOT_REQUIRED); in isUserInLockDown()
132 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn( in isUserInLockDown()
139 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn( in isUserInLockDown()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java211 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in TestableNotificationManagerService.StrongAuthTrackerFake
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java824 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdmin()
843 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdaptiveAuth()
878 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown()
896 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown_noBiometricsEnrolled()
917 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_nonStrongIdleTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt389 whenever(lockPatternUtils.getStrongAuthForUser(any())) in setUpMocks()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt379 whenever(lockPatternUtils.getStrongAuthForUser(any())) in setUpMocks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java646 final int strongAuthFlags = mUpdateMonitor.getStrongAuthTracker().getStrongAuthForUser( in logCalculateModeForFingerprint()
719 final int strongAuthFlags = mUpdateMonitor.getStrongAuthTracker().getStrongAuthForUser( in logCalculateModeForPassiveAuth()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java553 final int strongAuth = lpu.getStrongAuthForUser(user); in isUserEncryptedOrLockdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt412 lockPatternUtils.getStrongAuthForUser(userTracker.userHandle.identifier) in <lambda>()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java926 int flag = mStrongAuthTracker.getStrongAuthForUser(userInfo.id); in refreshAgentList()
937 mStrongAuthTracker.getStrongAuthForUser( in refreshAgentList()
2002 mStrongAuthTracker.getStrongAuthForUser(user.id)));
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java418 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockSettingsService.SynchronizedStrongAuthTracker
420 return super.getStrongAuthForUser(userId); in getStrongAuthForUser()
2685 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockSettingsService
2687 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardQuickAffordancesCombinedViewModelTest.kt196 whenever(lockPatternUtils.getStrongAuthForUser(ArgumentMatchers.anyInt())) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java1704 when(mStrongAuthTracker.getStrongAuthForUser(mSelectedUserInteractor.getSelectedUserId())) in testStartUdfpsServiceStrongAuthRequiredAfterTimeout()
2557 when(mStrongAuthTracker.getStrongAuthForUser(mCurrentUserId)) in userDeviceLockDown()
2620 when(mStrongAuthTracker.getStrongAuthForUser(mSelectedUserInteractor.getSelectedUserId())) in primaryAuthNotRequiredByStrongAuthTracker()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceManagerService.java154 if ((getStrongAuthForUser(userId) & STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN) > 0) { in onStrongAuthRequiredChanged()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java1544 boolean lockDownTriggeredByUser = (getStrongAuthForUser(userId) in onStrongAuthRequiredChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java827 int state = mLockPatternUtils.getStrongAuthForUser(userId); in shouldDisplayLockdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1001 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser);

12