Searched refs:isLockPasswordEnabled (Results 1 – 3 of 3) sorted by relevance
105 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 …]
223 if (mLockPatternUtils.isLockPasswordEnabled(mCurrentUserId)) { in getOldCredential()
1065 public boolean isLockPasswordEnabled(int userId) { in isLockPasswordEnabled() method in LockPatternUtils