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/locksettings/
DLockSettingsShellCommandTest.java89 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testWrongPassword()
101 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePin()
123 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePassword()
145 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testChangePattern()
167 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testClear()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java232 final boolean havePassword = mLockPatternUtils.isLockPasswordEnabled(mCurrentUserId); in checkCredential()
DLockSettingsService.java2046 if (mLockPatternUtils.isLockPasswordEnabled(userId)) { in checkVoldPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java656 if (isLockPasswordEnabled(quality, userId)) { in getActivePasswordQuality()
1370 return isLockPatternEnabled(mode, userId) || isLockPasswordEnabled(mode, userId); in isSecure()
1374 public boolean isLockPasswordEnabled(int userId) { in isLockPasswordEnabled() method in LockPatternUtils
1375 return isLockPasswordEnabled(getKeyguardStoredPasswordQuality(userId), userId); in isLockPasswordEnabled()
1378 private boolean isLockPasswordEnabled(int mode, int userId) { in isLockPasswordEnabled() method in LockPatternUtils