Home
last modified time | relevance | path

Searched refs:getSecurityMode (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/
DAuthenticationModule.kt34 fun getSecurityMode( in <lambda>() method
37 return Function { userId -> model.getSecurityMode(userId) } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepositoryTest.kt60 @Mock private lateinit var getSecurityMode: Function<Int, KeyguardSecurityModel.SecurityMode> variable in com.android.systemui.authentication.data.repository.AuthenticationRepositoryTest
80 whenever(getSecurityMode.apply(anyInt())).thenAnswer { currentSecurityMode } in setUp()
89 getSecurityMode = getSecurityMode, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityModel.java62 public SecurityMode getSecurityMode(int userId) { in getSecurityMode() method in KeyguardSecurityModel
DKeyguardSecurityContainerController.java538 mSecurityModel.getSecurityMode(selectedUserId)); in onViewAttached()
581 SecurityMode securityMode = whitelistIpcs(() -> mSecurityModel.getSecurityMode( in showPrimarySecurityScreen()
741 mSecurityModel.getSecurityMode(mSelectedUserInteractor.getSelectedUserId()), in onResume()
854 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish()
876 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish()
1136 mSecurityModel.getSecurityMode(userId)); in reportFailedUnlockAttempt()
DKeyguardSecurityViewFlipperController.java103 if (child.getSecurityMode() == securityMode) { in getSecurityView()
DKeyguardAbsKeyInputViewController.java185 getKeyguardSecurityCallback().dismiss(true, userId, getSecurityMode()); in onPasswordChecked()
DKeyguardInputViewController.java126 SecurityMode getSecurityMode() { in getSecurityMode() method in KeyguardInputViewController
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepository.kt190 private val getSecurityMode: Function<Int, KeyguardSecurityModel.SecurityMode>, constant in com.android.systemui.authentication.data.repository.AuthenticationRepositoryImpl
371 when (getSecurityMode.apply(userId)) { in getAuthenticationMethod()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerControllerTest.kt204 whenever(keyguardSecurityModel.getSecurityMode(anyInt())).thenReturn(SecurityMode.PIN) in <lambda>()
489 whenever(keyguardSecurityModel.getSecurityMode(TARGET_USER_ID)) in <lambda>()
531 whenever(keyguardSecurityModel.getSecurityMode(TARGET_USER_ID)) in <lambda>()
554 whenever(keyguardSecurityModel.getSecurityMode(TARGET_USER_ID)) in <lambda>()
579 whenever(keyguardSecurityModel.getSecurityMode(TARGET_USER_ID)) in <lambda>()
605 whenever(keyguardSecurityModel.getSecurityMode(TARGET_USER_ID)) in <lambda>()
DKeyguardSecurityViewFlipperControllerTest.java104 when(mKeyguardInputViewController.getSecurityMode()).thenReturn(SecurityMode.Invalid); in showSecurityScreen_canInflateAllModes()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractorTest.kt84 whenever(keyguardSecurityModel.getSecurityMode(anyInt())) in setUp()
165 whenever(keyguardSecurityModel.getSecurityMode(anyInt())) in testShow_isResumed()
DBouncerMessageInteractorTest.kt87 whenever(securityModel.getSecurityMode(PRIMARY_USER_ID)).thenReturn(PIN) in <lambda>()
139 whenever(securityModel.getSecurityMode(PRIMARY_USER_ID)).thenReturn(Pattern) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java273 when(mKeyguardSecurityModel.getSecurityMode(anyInt())).thenReturn( in showBouncer_notWhenBouncerAlreadyShowing()
632 when(mKeyguardSecurityModel.getSecurityMode(anyInt())) in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
1028 when(mKeyguardSecurityModel.getSecurityMode(anyInt())).thenReturn( in testShowBouncerOrKeyguard_needsFullScreen()
1037 when(mKeyguardSecurityModel.getSecurityMode(anyInt())).thenReturn( in testShowBouncerOrKeyguard_needsFullScreen_bouncerAlreadyShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromPrimaryBouncerTransitionInteractor.kt204 keyguardSecurityModel.getSecurityMode( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractor.kt373 keyguardSecurityModel.getSecurityMode(selectedUserInteractor.getSelectedUserId()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java1276 return mKeyguardSecurityModel.getSecurityMode( in isSecure()
1822 KeyguardSecurityModel.SecurityMode mode = mKeyguardSecurityModel.getSecurityMode( in needsFullscreenBouncer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt145 whenever(keyguardSecurityModel.getSecurityMode(anyInt())).thenReturn(PIN) in setUp()