Home
last modified time | relevance | path

Searched refs:SecurityMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityModel.java31 public enum SecurityMode { enum in KeyguardSecurityModel
57 SecurityMode getSecurityMode(int userId) { in getSecurityMode()
62 return SecurityMode.SimPuk; in getSecurityMode()
67 return SecurityMode.SimPin; in getSecurityMode()
74 return SecurityMode.PIN; in getSecurityMode()
80 return SecurityMode.Password; in getSecurityMode()
83 return SecurityMode.Pattern; in getSecurityMode()
85 return SecurityMode.None; in getSecurityMode()
DKeyguardSecurityContainer.java36 import com.android.keyguard.KeyguardSecurityModel.SecurityMode;
51 private SecurityMode mCurrentSecuritySelection = SecurityMode.Invalid;
61 public void onSecurityModeChanged(SecurityMode securityMode, boolean needsInput); in onSecurityModeChanged()
93 if (mCurrentSecuritySelection != SecurityMode.None) { in onResume()
104 if (mCurrentSecuritySelection != SecurityMode.None) { in onPause()
110 if (mCurrentSecuritySelection != SecurityMode.None) { in startAppearAnimation()
116 if (mCurrentSecuritySelection != SecurityMode.None) { in startDisappearAnimation()
127 private KeyguardSecurityView getSecurityView(SecurityMode securityMode) { in getSecurityView()
306 SecurityMode securityMode = mSecurityModel.getSecurityMode( in showPrimarySecurityScreen()
325 } else if (SecurityMode.None == mCurrentSecuritySelection) { in showNextSecurityScreenOrFinish()
[all …]
DKeyguardHostView.java36 import com.android.keyguard.KeyguardSecurityModel.SecurityMode;
196 if (mSecurityContainer.getCurrentSecuritySelection() != SecurityMode.None) { in handleBackKey()
249 public void onSecurityModeChanged(SecurityMode securityMode, boolean needsInput) { in onSecurityModeChanged()
442 public SecurityMode getSecurityMode() { in getSecurityMode()
446 public SecurityMode getCurrentSecurityMode() { in getCurrentSecurityMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java47 KeyguardSecurityModel.SecurityMode[] modes = in showSecurityScreen_canInflateAllModes()
48 KeyguardSecurityModel.SecurityMode.values(); in showSecurityScreen_canInflateAllModes()
49 for (KeyguardSecurityModel.SecurityMode mode : modes) { in showSecurityScreen_canInflateAllModes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java20 import static com.android.keyguard.KeyguardSecurityModel.SecurityMode;
377 if (mKeyguardView.getCurrentSecurityMode() == SecurityMode.Password) { in getTop()
431 SecurityMode mode = mKeyguardView.getSecurityMode(); in needsFullscreenBouncer()
432 return mode == SecurityMode.SimPin || mode == SecurityMode.SimPuk; in needsFullscreenBouncer()
443 SecurityMode mode = mKeyguardView.getCurrentSecurityMode(); in isFullscreenBouncer()
444 return mode == SecurityMode.SimPin || mode == SecurityMode.SimPuk; in isFullscreenBouncer()
453 return mKeyguardView == null || mKeyguardView.getSecurityMode() != SecurityMode.None; in isSecure()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBouncerTest.java322 for (KeyguardSecurityModel.SecurityMode mode : KeyguardSecurityModel.SecurityMode.values()){ in testIsSecure()
326 mBouncer.isSecure(), mode != KeyguardSecurityModel.SecurityMode.None); in testIsSecure()