Home
last modified time | relevance | path

Searched refs:isLockPatternEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsShellCommandTest.java88 when(mLockPatternUtils.isLockPatternEnabled(mUserId)).thenReturn(false); in testWrongPassword()
99 when(mLockPatternUtils.isLockPatternEnabled(mUserId)).thenReturn(false); in testChangePin()
111 when(mLockPatternUtils.isLockPatternEnabled(mUserId)).thenReturn(false); in testChangePassword()
123 when(mLockPatternUtils.isLockPatternEnabled(mUserId)).thenReturn(true); in testChangePattern()
134 when(mLockPatternUtils.isLockPatternEnabled(mUserId)).thenReturn(true); in testClear()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsShellCommand.java147 final boolean havePattern = mLockPatternUtils.isLockPatternEnabled(mCurrentUserId); in checkCredential()
DLockSettingsService.java815 return mLockPatternUtils.isLockPatternEnabled(userId) ? "1" : "0"; in getStringUnchecked()
1641 if (mLockPatternUtils.isLockPatternEnabled(userId)) { in checkVoldPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java553 if (isLockPatternEnabled(quality, userId)) { in getActivePasswordQuality()
1054 return isLockPatternEnabled(mode, userId) || isLockPasswordEnabled(mode, userId); in isSecure()
1074 public boolean isLockPatternEnabled(int userId) { in isLockPatternEnabled() method in LockPatternUtils
1075 return isLockPatternEnabled(getKeyguardStoredPasswordQuality(userId), userId); in isLockPatternEnabled()
1091 private boolean isLockPatternEnabled(int mode, int userId) { in isLockPatternEnabled() method in LockPatternUtils