Home
last modified time | relevance | path

Searched refs:securityMode (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/shared/model/
DBouncerMessageStrings.kt37 securityMode: AuthenticationMethodModel, in defaultMessage()
40 return when (securityMode) { in defaultMessage()
49 securityMode: AuthenticationMethodModel, in incorrectSecurityInput()
53 return when (securityMode) { in incorrectSecurityInput()
65 fun incorrectFingerprintInput(securityMode: AuthenticationMethodModel): BouncerMessagePair { in incorrectFingerprintInput()
67 return when (securityMode) { in incorrectFingerprintInput()
76 securityMode: AuthenticationMethodModel, in incorrectFaceInput()
79 return if (fpAuthIsAllowed) incorrectFaceInputWithFingerprintAllowed(securityMode) in incorrectFaceInput()
82 when (securityMode) { in incorrectFaceInput()
92 securityMode: AuthenticationMethodModel in incorrectFaceInputWithFingerprintAllowed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java99 void getSecurityView(SecurityMode securityMode, in getSecurityView() argument
103 if (child.getSecurityMode() == securityMode) { in getSecurityView()
109 asynchronouslyInflateView(securityMode, keyguardSecurityCallback, onViewInflatedCallback); in getSecurityView()
120 public void asynchronouslyInflateView(SecurityMode securityMode, in asynchronouslyInflateView() argument
124 ? getLayoutIdFor(securityMode) : getLegacyLayoutIdFor(securityMode); in asynchronouslyInflateView()
135 securityMode, keyguardSecurityCallback); in asynchronouslyInflateView()
155 private int getLayoutIdFor(SecurityMode securityMode) { in getLayoutIdFor() argument
157 switch (securityMode) { in getLayoutIdFor()
168 private int getLegacyLayoutIdFor(SecurityMode securityMode) { in getLegacyLayoutIdFor() argument
169 switch (securityMode) { in getLegacyLayoutIdFor()
DKeyguardInputViewController.java67 protected KeyguardInputViewController(T view, SecurityMode securityMode, in KeyguardInputViewController() argument
74 mSecurityMode = securityMode; in KeyguardInputViewController()
253 SecurityMode securityMode, KeyguardSecurityCallback keyguardSecurityCallback) { in create() argument
260 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
266 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
274 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
282 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
289 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
DKeyguardSecurityContainerController.java335 public void onSecurityModeChanged(SecurityMode securityMode, boolean needsInput) {
581 SecurityMode securityMode = whitelistIpcs(() -> mSecurityModel.getSecurityMode( in showPrimarySecurityScreen() local
584 mPrimaryBouncerInteractor.get().setLastShownPrimarySecurityScreen(securityMode); in showPrimarySecurityScreen()
585 showSecurityScreen(securityMode); in showPrimarySecurityScreen()
854 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish() local
855 if (SecurityMode.None == securityMode) { in showNextSecurityScreenOrFinish()
860 showSecurityScreen(securityMode); // switch to the alternate security view in showNextSecurityScreenOrFinish()
876 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish() local
881 if (securityMode == SecurityMode.None && isLockscreenDisabled) { in showNextSecurityScreenOrFinish()
885 } else if (Arrays.asList(SimPin, SimPuk).contains(securityMode)) { in showNextSecurityScreenOrFinish()
[all …]
DKeyguardSecurityContainer.java350 void onResume(SecurityMode securityMode, boolean faceAuthEnabled) { in onResume() argument
352 updateBiometricRetry(securityMode, faceAuthEnabled); in onResume()
612 public void startAppearAnimation(SecurityMode securityMode) { in startAppearAnimation() argument
615 mViewMode.startAppearAnimation(securityMode); in startAppearAnimation()
635 private void updateBiometricRetry(SecurityMode securityMode, boolean faceAuthEnabled) { in updateBiometricRetry() argument
637 && securityMode != SecurityMode.SimPin in updateBiometricRetry()
638 && securityMode != SecurityMode.SimPuk in updateBiometricRetry()
639 && securityMode != SecurityMode.None; in updateBiometricRetry()
707 SecurityMode securityMode) { in showTimeoutDialog() argument
711 switch (securityMode) { in showTimeoutDialog()
[all …]
DKeyguardSecurityCallback.java105 default void onSecurityModeChanged(SecurityMode securityMode, boolean needsInput) { in onSecurityModeChanged() argument
DKeyguardPinViewController.java56 SecurityMode securityMode, LockPatternUtils lockPatternUtils, in KeyguardPinViewController() argument
65 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinViewController()
DKeyguardPinBasedInputViewController.java69 SecurityMode securityMode, in KeyguardPinBasedInputViewController() argument
80 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinBasedInputViewController()
DKeyguardAbsKeyInputViewController.java78 SecurityMode securityMode, in KeyguardAbsKeyInputViewController() argument
85 super(view, securityMode, keyguardSecurityCallback, emergencyButtonController, in KeyguardAbsKeyInputViewController()
DKeyguardPasswordViewController.java120 SecurityMode securityMode, in KeyguardPasswordViewController() argument
135 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPasswordViewController()
DKeyguardSimPinViewController.java91 SecurityMode securityMode, LockPatternUtils lockPatternUtils, in KeyguardSimPinViewController() argument
99 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardSimPinViewController()
DKeyguardPatternViewController.java195 SecurityMode securityMode, in KeyguardPatternViewController() argument
204 super(view, securityMode, keyguardSecurityCallback, emergencyButtonController, in KeyguardPatternViewController()
DKeyguardSimPukViewController.java88 SecurityMode securityMode, LockPatternUtils lockPatternUtils, in KeyguardSimPukViewController() argument
96 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardSimPukViewController()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/
DFakeAuthenticationRepository.kt69 private var securityMode: SecurityMode = DEFAULT_AUTHENTICATION_METHOD.toSecurityMode() in <lambda>() variable in com.android.systemui.authentication.data.repository.FakeAuthenticationRepository
81 securityMode = authenticationMethod.toSecurityMode() in <lambda>()
132 val expectedCredential = credentialOverride ?: getExpectedCredential(securityMode) in <lambda>()
135 credential.type != getCurrentCredentialType(securityMode) -> false in <lambda>()
181 private fun getExpectedCredential(securityMode: SecurityMode): List<Any> { in <lambda>()
182 return when (val credentialType = getCurrentCredentialType(securityMode)) { in <lambda>()
223 securityMode: SecurityMode, in <lambda>()
225 return when (securityMode) { in <lambda>()
232 else -> error("Unsupported SecurityMode $securityMode!") in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/data/repository/
DFakeKeyguardBouncerRepository.kt118 override fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) { in setLastShownSecurityMode()
119 lastShownSecurityMode.value = securityMode in setLastShownSecurityMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSimPukViewControllerTest.kt53 @Mock private lateinit var securityMode: KeyguardSecurityModel.SecurityMode variable in com.android.keyguard.KeyguardSimPukViewControllerTest
88 securityMode, in setup()
DKeyguardSimPinViewControllerTest.kt59 @Mock private lateinit var securityMode: KeyguardSecurityModel.SecurityMode variable in com.android.keyguard.KeyguardSimPinViewControllerTest
93 securityMode, in setup()
DKeyguardPinViewControllerTest.kt76 @Mock private lateinit var securityMode: SecurityMode variable in com.android.keyguard.KeyguardPinViewControllerTest
140 securityMode, in constructPinViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/data/repository/
DKeyguardBouncerRepository.kt131 fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) in setPrimaryScrimmed()
276 override fun setLastShownSecurityMode(securityMode: KeyguardSecurityModel.SecurityMode) { in setPrimaryScrimmed()
277 _lastShownSecurityMode.value = securityMode in setPrimaryScrimmed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromPrimaryBouncerTransitionInteractor.kt203 val securityMode = in <lambda>() constant
209 if (securityMode == KeyguardSecurityModel.SecurityMode.Password) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPasswordViewControllerTest.kt72 @Mock lateinit var securityMode: KeyguardSecurityModel.SecurityMode variable in com.android.keyguard.KeyguardPasswordViewControllerTest
118 securityMode, in setup()
DKeyguardSecurityContainerControllerTest.kt311 whenever(inputViewController.securityMode).thenReturn(mode) in <lambda>()
988 private fun setupGetSecurityView(securityMode: SecurityMode) { in <lambda>()
989 underTest.showSecurityScreen(securityMode) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepositoryTest.kt207 securityMode: KeyguardSecurityModel.SecurityMode, in setSecurityModeAndDispatchBroadcast()
209 currentSecurityMode = securityMode in setSecurityModeAndDispatchBroadcast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractor.kt389 fun setLastShownPrimarySecurityScreen(securityMode: KeyguardSecurityModel.SecurityMode) { in <lambda>()
390 repository.setLastShownSecurityMode(securityMode) in <lambda>()