Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsShellCommandTest.java89 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testWrongPassword()
100 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePin()
112 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePassword()
124 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testChangePattern()
135 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testClear()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsShellCommand.java146 final boolean havePassword = mLockPatternUtils.isLockPasswordEnabled(mCurrentUserId); in checkCredential()
DLockSettingsService.java1652 if (mLockPatternUtils.isLockPasswordEnabled(userId)) { in checkVoldPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java548 if (isLockPasswordEnabled(quality, userId)) { in getActivePasswordQuality()
1054 return isLockPatternEnabled(mode, userId) || isLockPasswordEnabled(mode, userId); in isSecure()
1057 public boolean isLockPasswordEnabled(int userId) { in isLockPasswordEnabled() method in LockPatternUtils
1058 return isLockPasswordEnabled(getKeyguardStoredPasswordQuality(userId), userId); in isLockPasswordEnabled()
1061 private boolean isLockPasswordEnabled(int mode, int userId) { in isLockPasswordEnabled() method in LockPatternUtils