Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java105 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testWrongPassword()
118 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePin()
138 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePin_nonCompliant()
165 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePassword()
185 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testChangePassword_nonCompliant()
212 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testChangePattern()
231 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testChangePattern_nonCompliant()
257 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testClear()
276 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(false); in testClear_nonCompliant()
292 when(mLockPatternUtils.isLockPasswordEnabled(mUserId)).thenReturn(true); in testSetPin_nonCompliantWithComplexity()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java223 if (mLockPatternUtils.isLockPasswordEnabled(mCurrentUserId)) { in getOldCredential()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1065 public boolean isLockPasswordEnabled(int userId) { in isLockPasswordEnabled() method in LockPatternUtils