Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/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/tests/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()
DKeyguardUpdateMonitorTest.java1454 when(mStrongAuthTracker.getStrongAuthForUser(mSelectedUserInteractor.getSelectedUserId())) in testStartUdfpsServiceStrongAuthRequiredAfterTimeout()
2254 when(mStrongAuthTracker.getStrongAuthForUser(mCurrentUserId)) in userDeviceLockDown()
2312 when(mStrongAuthTracker.getStrongAuthForUser(mSelectedUserInteractor.getSelectedUserId())) in primaryAuthNotRequiredByStrongAuthTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt365 MutableStateFlow(AuthenticationFlags(currentUserId, getStrongAuthForUser(currentUserId)))
376 .map { AuthenticationFlags(userId, getStrongAuthForUser(userId)) } in userId()
378 .onStart { emit(AuthenticationFlags(userId, getStrongAuthForUser(userId))) } in userId()
403 val newFlags = getStrongAuthForUser(userId) in onStrongAuthRequiredChanged()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1361 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockPatternUtils
1363 return getLockSettings().getStrongAuthForUser(userId); in getStrongAuthForUser()
1382 return getStrongAuthForUser(userId) == StrongAuthTracker.STRONG_AUTH_NOT_REQUIRED; in isTrustAllowedForUser()
1389 return (getStrongAuthForUser(userId) & ~StrongAuthTracker.ALLOWING_BIOMETRIC) == 0; in isBiometricAllowedForUser()
1393 return (getStrongAuthForUser(userId) in isUserInLockdown()
1732 public @StrongAuthFlags int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockPatternUtils.StrongAuthTracker
1741 return getStrongAuthForUser(userId) == STRONG_AUTH_NOT_REQUIRED; in isTrustAllowedForUser()
1749 boolean allowed = ((getStrongAuthForUser(userId) & ~ALLOWING_BIOMETRIC) == 0); in isBiometricAllowedForUser()
1779 int oldValue = getStrongAuthForUser(userId); in handleStrongAuthRequiredChanged()
DILockSettings.aidl71 int getStrongAuthForUser(int userId); in getStrongAuthForUser() method
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java115 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn(STRONG_AUTH_NOT_REQUIRED); in isUserInLockDown()
121 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn( in isUserInLockDown()
128 when(mLockSettings.getStrongAuthForUser(USER_ID)).thenReturn( in isUserInLockDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt88 lockPatternUtils.getStrongAuthForUser(userTracker.userHandle.identifier) == in getControlsController()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java197 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in TestableNotificationManagerService.StrongAuthTrackerFake
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardBiometricLockoutLogger.kt88 .getStrongAuthForUser(userId) in onStrongAuthStateChanged()
DKeyguardUpdateMonitor.java1564 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isUserInLockdown()
1573 final int strongAuth = mStrongAuthTracker.getStrongAuthForUser(userId); in isEncryptedOrLockdown()
1586 return containsFlag(mStrongAuthTracker.getStrongAuthForUser(userId), in isDeviceLockedByAdaptiveAuth()
2005 return (getStrongAuthForUser(userId) in hasUserAuthenticatedSinceBoot()
4000 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
4056 final int strongAuthFlags = mStrongAuthTracker.getStrongAuthForUser(userId); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java621 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdmin()
640 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_deviceLockedByAdaptiveAuth()
675 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown()
693 when(strongAuthTracker.getStrongAuthForUser(anyInt())) in testBouncerPrompt_afterUserLockDown_noBiometricsEnrolled()
714 when(strongAuthTracker.getStrongAuthForUser(anyInt())).thenReturn( in testBouncerPrompt_nonStrongIdleTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt397 whenever(lockPatternUtils.getStrongAuthForUser(any())) in setUpMocks()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt397 whenever(lockPatternUtils.getStrongAuthForUser(any())) in setUpMocks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java639 final int strongAuthFlags = mUpdateMonitor.getStrongAuthTracker().getStrongAuthForUser( in logCalculateModeForFingerprint()
710 final int strongAuthFlags = mUpdateMonitor.getStrongAuthTracker().getStrongAuthForUser( in logCalculateModeForPassiveAuth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt361 lockPatternUtils.getStrongAuthForUser(userTracker.userHandle.identifier) in <lambda>()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java516 final int strongAuth = lpu.getStrongAuthForUser(user); in isUserEncryptedOrLockdown()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java895 int flag = mStrongAuthTracker.getStrongAuthForUser(userInfo.id); in refreshAgentList()
906 mStrongAuthTracker.getStrongAuthForUser( in refreshAgentList()
1946 mStrongAuthTracker.getStrongAuthForUser(user.id)));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt162 whenever(lockPatternUtils.getStrongAuthForUser(anyInt())) in setUp()
DKeyguardQuickAffordancesCombinedViewModelTest.kt206 whenever(lockPatternUtils.getStrongAuthForUser(ArgumentMatchers.anyInt())) in setUp()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java404 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockSettingsService.SynchronizedStrongAuthTracker
406 return super.getStrongAuthForUser(userId); in getStrongAuthForUser()
2659 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() method in LockSettingsService
2661 return mStrongAuthTracker.getStrongAuthForUser(userId); in getStrongAuthForUser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java1486 boolean lockDownTriggeredByUser = (getStrongAuthForUser(userId) in onStrongAuthRequiredChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java758 int state = mLockPatternUtils.getStrongAuthForUser(userId); in shouldDisplayLockdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java908 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser);

12