Home
last modified time | relevance | path

Searched refs:createPassword (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java54 LockscreenCredential password = LockscreenCredential.createPassword("password"); in testPasswordCredential()
88 assertEquals(LockscreenCredential.createPassword("abcd"), in testPasswordOrNoneCredential()
102 LockscreenCredential password = LockscreenCredential.createPassword("password"); in testSanitize()
133 assertEquals(LockscreenCredential.createPassword("1234"), in testEquals()
134 LockscreenCredential.createPassword("1234")); in testEquals()
139 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
141 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
142 LockscreenCredential.createPassword("4321")); in testEquals()
143 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
145 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java104 LockscreenCredential.createPassword("1234"), mUserId, null)).thenReturn(false); in testWrongPassword()
166 LockscreenCredential.createPassword("1234"), mUserId, null)).thenReturn(true); in testChangePassword()
173 LockscreenCredential.createPassword("abcd"), in testChangePassword()
174 LockscreenCredential.createPassword("1234"), in testChangePassword()
186 LockscreenCredential.createPassword("1234"), mUserId, null)).thenReturn(true); in testChangePassword_nonCompliant()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java234 return LockscreenCredential.createPassword(mOld); in getOldCredential()
245 return LockscreenCredential.createPassword(mOld); in getOldCredential()
261 final LockscreenCredential password = LockscreenCredential.createPassword(mNew); in runSetPassword()
DLockSettingsService.java2467 credential = LockscreenCredential.createPassword(password); in checkVoldPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java107 public static LockscreenCredential createPassword(@NonNull CharSequence password) { in createPassword() method in LockscreenCredential
139 return createPassword(password); in createPasswordOrNone()
/frameworks/base/core/java/android/app/
DKeyguardManager.java879 return LockscreenCredential.createPassword(passwordStr); in createLockscreenCredential()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5185 LockscreenCredential.createPassword(password), handle, token, in testResetPasswordWithToken()