Home
last modified time | relevance | path

Searched refs:KeyguardSecurityModel (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/
DAuthenticationModule.kt19 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
35 model: KeyguardSecurityModel, in <lambda>()
36 ): Function<Int, KeyguardSecurityModel.SecurityMode> { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepository.kt27 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
190 private val getSecurityMode: Function<Int, KeyguardSecurityModel.SecurityMode>,
372 KeyguardSecurityModel.SecurityMode.PIN -> Pin in getAuthenticationMethod()
373 KeyguardSecurityModel.SecurityMode.SimPin, in getAuthenticationMethod()
374 KeyguardSecurityModel.SecurityMode.SimPuk -> Sim in getAuthenticationMethod()
375 KeyguardSecurityModel.SecurityMode.Password -> Password in getAuthenticationMethod()
376 KeyguardSecurityModel.SecurityMode.Pattern -> Pattern in getAuthenticationMethod()
377 KeyguardSecurityModel.SecurityMode.None -> None in getAuthenticationMethod()
378 KeyguardSecurityModel.SecurityMode.Invalid -> error("Invalid security mode!") in getAuthenticationMethod()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepositoryTest.kt27 import com.android.keyguard.KeyguardSecurityModel
60 @Mock private lateinit var getSecurityMode: Function<Int, KeyguardSecurityModel.SecurityMode>
72 private var currentSecurityMode: KeyguardSecurityModel.SecurityMode =
73 KeyguardSecurityModel.SecurityMode.PIN
107 setSecurityModeAndDispatchBroadcast(KeyguardSecurityModel.SecurityMode.Pattern) in authenticationMethod()
112 setSecurityModeAndDispatchBroadcast(KeyguardSecurityModel.SecurityMode.None) in authenticationMethod()
117 currentSecurityMode = KeyguardSecurityModel.SecurityMode.SimPin in authenticationMethod()
207 securityMode: KeyguardSecurityModel.SecurityMode, in setSecurityModeAndDispatchBroadcast()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/data/repository/
DFakeKeyguardBouncerRepository.kt3 import com.android.keyguard.KeyguardSecurityModel
54 override val lastShownSecurityMode: MutableStateFlow<KeyguardSecurityModel.SecurityMode> =
55 MutableStateFlow(KeyguardSecurityModel.SecurityMode.Invalid)
118 override fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) { in setLastShownSecurityMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/data/repository/
DKeyguardBouncerRepository.kt21 import com.android.keyguard.KeyguardSecurityModel
94 val lastShownSecurityMode: StateFlow<KeyguardSecurityModel.SecurityMode>
131 fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) in setPrimaryScrimmed()
191 MutableStateFlow(KeyguardSecurityModel.SecurityMode.Invalid) in setPrimaryScrimmed()
192 override val lastShownSecurityMode: StateFlow<KeyguardSecurityModel.SecurityMode> = in setPrimaryScrimmed()
276 override fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) { in setPrimaryScrimmed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractor.kt25 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
70 private val keyguardSecurityModel: KeyguardSecurityModel, in <lambda>()
106 val lastShownSecurityMode: Flow<KeyguardSecurityModel.SecurityMode> = in <lambda>()
372 val mode: KeyguardSecurityModel.SecurityMode = in <lambda>()
374 return mode == KeyguardSecurityModel.SecurityMode.SimPin || in <lambda>()
375 mode == KeyguardSecurityModel.SecurityMode.SimPuk in <lambda>()
389 fun setLastShownPrimarySecurityScreen(securityMode: KeyguardSecurityModel.SecurityMode) { in <lambda>()
DBouncerMessageInteractor.kt21 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
22 import com.android.keyguard.KeyguardSecurityModel.SecurityMode in <lambda>()
78 private val securityModel: KeyguardSecurityModel, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityModel.java32 public class KeyguardSecurityModel { class
54 KeyguardSecurityModel(@Main Resources resources, LockPatternUtils lockPatternUtils, in KeyguardSecurityModel() method in KeyguardSecurityModel
DKeyguardSecurityCallback.java18 import com.android.keyguard.KeyguardSecurityModel.SecurityMode;
DKeyguardSecurityContainerController.java31 import static com.android.keyguard.KeyguardSecurityModel.SecurityMode.SimPin;
32 import static com.android.keyguard.KeyguardSecurityModel.SecurityMode.SimPuk;
71 import com.android.keyguard.KeyguardSecurityModel.SecurityMode;
121 private final KeyguardSecurityModel mSecurityModel;
444 KeyguardSecurityModel keyguardSecurityModel, in KeyguardSecurityContainerController()
DKeyguardSecurityViewFlipperController.java31 import com.android.keyguard.KeyguardSecurityModel.SecurityMode;
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DKeyguardBouncerViewBinder.kt27 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
64 return mode == KeyguardSecurityModel.SecurityMode.SimPin || in <lambda>()
65 mode == KeyguardSecurityModel.SecurityMode.SimPuk in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromPrimaryBouncerTransitionInteractor.kt20 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
59 private val keyguardSecurityModel: KeyguardSecurityModel, in <lambda>()
209 if (securityMode == KeyguardSecurityModel.SecurityMode.Password) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/keyguard/
DKeyguardSecurityModelKosmos.kt22 var Kosmos.keyguardSecurityModel by Kosmos.Fixture { mock<KeyguardSecurityModel>() } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractorWithCoroutinesTest.kt22 import com.android.keyguard.KeyguardSecurityModel
51 @Mock private lateinit var keyguardSecurityModel: KeyguardSecurityModel
DBouncerMessageInteractorTest.kt24 import com.android.keyguard.KeyguardSecurityModel in <lambda>()
25 import com.android.keyguard.KeyguardSecurityModel.SecurityMode.PIN in <lambda>()
26 import com.android.keyguard.KeyguardSecurityModel.SecurityMode.Pattern in <lambda>()
76 @Mock private lateinit var securityModel: KeyguardSecurityModel in <lambda>()
128 KeyguardSecurityModel.SecurityMode.PIN in <lambda>()
DPrimaryBouncerInteractorTest.kt24 import com.android.keyguard.KeyguardSecurityModel
68 @Mock private lateinit var keyguardSecurityModel: KeyguardSecurityModel
85 .thenReturn(KeyguardSecurityModel.SecurityMode.PIN) in setUp()
166 .thenReturn(KeyguardSecurityModel.SecurityMode.SimPuk) in testShow_isResumed()
/frameworks/base/packages/SystemUI/docs/device-entry/
Dbouncer.md21 …1. [KeyguardSecurityViewFlipperController][4] - Based upon the [KeyguardSecurityModel#SecurityMode…
29 [5]: /frameworks/base/packages/SystemUI/com/android/keyguard/KeyguardSecurityModel
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissInteractorFactory.kt21 import com.android.keyguard.KeyguardSecurityModel
70 mock(KeyguardSecurityModel::class.java), in create()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DKeyguardBouncerViewModelTest.kt22 import com.android.keyguard.KeyguardSecurityModel
59 @Mock private lateinit var keyguardSecurityModel: KeyguardSecurityModel
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java64 import com.android.keyguard.KeyguardSecurityModel;
146 @Mock private KeyguardSecurityModel mKeyguardSecurityModel;
274 KeyguardSecurityModel.SecurityMode.Password); in showBouncer_notWhenBouncerAlreadyShowing()
633 .thenReturn(KeyguardSecurityModel.SecurityMode.SimPin); in testPredictiveBackCallback_noBackAnimationForFullScreenBouncer()
1029 KeyguardSecurityModel.SecurityMode.SimPin); in testShowBouncerOrKeyguard_needsFullScreen()
1038 KeyguardSecurityModel.SecurityMode.SimPin); in testShowBouncerOrKeyguard_needsFullScreen_bouncerAlreadyShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java52 import com.android.keyguard.KeyguardSecurityModel;
334 private final KeyguardSecurityModel mKeyguardSecurityModel;
383 KeyguardSecurityModel keyguardSecurityModel, in StatusBarKeyguardViewManager()
1278 != KeyguardSecurityModel.SecurityMode.None; in isSecure()
1822 KeyguardSecurityModel.SecurityMode mode = mKeyguardSecurityModel.getSecurityMode( in needsFullscreenBouncer()
1824 return mode == KeyguardSecurityModel.SecurityMode.SimPin in needsFullscreenBouncer()
1825 || mode == KeyguardSecurityModel.SecurityMode.SimPuk; in needsFullscreenBouncer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DDeviceEntrySideFpsOverlayInteractorTest.kt22 import com.android.keyguard.KeyguardSecurityModel
94 mock(KeyguardSecurityModel::class.java), in setup()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt29 import com.android.keyguard.KeyguardSecurityModel
102 @get:Provides val keyguardSecurityModel: KeyguardSecurityModel = mock(),
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSimPukViewControllerTest.kt53 @Mock private lateinit var securityMode: KeyguardSecurityModel.SecurityMode

12