Home
last modified time | relevance | path

Searched defs:password (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java106 final LockscreenCredential password = newPassword("user-password"); in testNonNoneLskfBasedProtector() local
172 final LockscreenCredential password = newPassword("password"); in testChangeCredential() local
185 LockscreenCredential password = newPassword("password"); in testVerifyCredential() local
199 LockscreenCredential password = newPassword("password"); in testClearCredential() local
205 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testClearCredential() local
217 LockscreenCredential password = newPassword("password"); in testChangeCredentialKeepsAuthSecret() local
235 LockscreenCredential password = newPassword("password"); in testVerifyPassesPrimaryUserAuthSecret() local
246 LockscreenCredential password = newPassword("password"); in testSecondaryUserDoesNotPassAuthSecret() local
265 LockscreenCredential password = newPassword("password"); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared() local
267 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared() local
[all …]
DWeakEscrowTokenTests.java78 LockscreenCredential password = newPassword("password"); in testWeakTokenActivatedLaterWithUserPassword() local
100 LockscreenCredential password = newPassword("password"); in testWeakTokensRemovedIfCredentialChanged() local
159 LockscreenCredential password = newPassword("password"); in testUnlockUserWithToken_weakEscrowToken() local
DLockSettingsServiceTests.java380 final LockscreenCredential password = newPassword("password"); in testVerifyCredential_forPrimaryUser_sendsCredentials() local
432 final LockscreenCredential password = newPassword("password"); in testVerifyCredential_notifyLockSettingsStateListeners_whenGoodPassword() local
448 final LockscreenCredential password = newPassword("password"); in testVerifyCredential_notifyLockSettingsStateListeners_whenBadPassword() local
464 final LockscreenCredential password = newPassword("password"); in testLockSettingsStateListener_registeredThenUnregistered() local
DFakeGateKeeperService.java33 public byte[] password; field in FakeGateKeeperService.VerifyHandle
36 public VerifyHandle(byte[] password, long sid) { in VerifyHandle()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java70 LockscreenCredential password = LockscreenCredential.createPassword("password"); in testPasswordCredential() local
172 LockscreenCredential password = LockscreenCredential.createPassword("password"); in testSanitize() local
267 String password = "1234"; in testPasswordToHistoryHash() local
284 String password = "1234"; in testPasswordToHistoryHashInvalidInput() local
313 String password = "1234"; in testLegacyPasswordToHash() local
326 String password = "1234"; in testLegacyPasswordToHashInvalidInput() local
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPasswordBouncerViewModelTest.kt90 val password by collectLastValue(underTest.password) in onShown() constant
101 val password by collectLastValue(underTest.password) in onHidden_resetsPasswordInputAndMessage() constant
115 val password by collectLastValue(underTest.password) in onPasswordInputChanged() constant
139 val password by collectLastValue(underTest.password) in onAuthenticateKeyPressed_whenWrong() constant
151 val password by collectLastValue(underTest.password) in onAuthenticateKeyPressed_whenEmpty() constant
168 val password by collectLastValue(underTest.password) in onAuthenticateKeyPressed_correctAfterWrong() constant
189 val password by collectLastValue(underTest.password) in onShown_againAfterSceneChange_resetsPassword() constant
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DBackupPasswordManagerTest.java96 String password = "password1234"; in backupPasswordMatches_isTrueForSamePassword() local
109 String password = "corgi\uFFFF"; in backupPasswordMatches_worksForV1HashIfVersionIsV1() local
124 String password = "corgi\uFFFF"; in backupPasswordMatches_failsForV1HashIfVersionIsV2() local
146 String password = "shiba"; in setBackupPassword_persistsPasswordToFile() local
193 private void writeV1HashToFile(String password, byte[] salt) throws Exception { in writeV1HashToFile()
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DIInitialLockSetupService.aidl39 int checkValidLock(in int lockType, in byte[] password) = 2; in checkValidLock()
46 int setLock(in int lockType, in byte[] password) = 3; in setLock()
/frameworks/base/core/java/android/security/
DScrypt.java26 native byte[] nativeScrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen); in nativeScrypt()
29 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java132 public static LockscreenCredential createPassword(@NonNull CharSequence password) { in createPassword()
142 public static LockscreenCredential createUnifiedProfilePassword(@NonNull byte[] password) { in createUnifiedProfilePassword()
158 public static LockscreenCredential createPasswordOrNone(@Nullable CharSequence password) { in createPasswordOrNone()
339 public static String legacyPasswordToHash(byte[] password, byte[] salt) { in legacyPasswordToHash()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java72 public static WifiConfiguration createWepConfig(String ssid, String password) { in createWepConfig()
94 public static WifiConfiguration createPskConfig(String ssid, String password) { in createPskConfig()
119 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig()
198 String password = null; in getWifiConfiguration() local
DConnectivityManagerTestRunner.java62 String password = (String) icicle.get("password"); in onCreate() local
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java64 String password = arguments.getString("password"); in testWifiAssociation() local
80 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { in getConfig()
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java255 PasswordMetrics password = new PasswordMetrics(CREDENTIAL_TYPE_PASSWORD); in testMerge_credentialTypes() local
271 PasswordMetrics password = new PasswordMetrics(CREDENTIAL_TYPE_PASSWORD); in testValidatePasswordMetrics_credentialTypes() local
379 LockscreenCredential password; in testValidateCredential_password() local
409 private static PasswordMetrics metricsForPassword(String password) { in metricsForPassword()
/frameworks/base/keystore/java/android/security/
DAndroidKeyStoreMaintenance.java78 public static int initUserSuperKeys(int userId, @NonNull byte[] password, in initUserSuperKeys()
123 public static int onUserPasswordChanged(int userId, @Nullable byte[] password) { in onUserPasswordChanged()
DKeyStoreAuthorization.java91 public int onDeviceUnlocked(int userId, @Nullable byte[] password) { in onDeviceUnlocked()
/frameworks/base/core/java/android/app/
DKeyguardManager.java966 public boolean isValidLockPasswordComplexity(@LockTypes int lockType, @NonNull byte[] password, in isValidLockPasswordComplexity()
975 try (LockscreenCredential credential = createLockscreenCredential(lockType, password)) { in isValidLockPasswordComplexity() argument
1019 public boolean setLock(@LockTypes int lockType, @NonNull byte[] password, in setLock()
1035 try (LockscreenCredential credential = createLockscreenCredential(lockType, password)) { in setLock() argument
1245 public boolean checkLock(@LockTypes int lockType, @Nullable byte[] password) { in checkLock()
1246 try (LockscreenCredential credential = createLockscreenCredential(lockType, password)) { in checkLock() argument
1296 @LockTypes int lockType, @Nullable byte[] password) { in createLockscreenCredential()
/frameworks/base/core/java/android/webkit/
DHttpAuthHandler.java71 public void proceed(String username, String password) { in proceed()
DWebViewDatabase.java132 String username, String password); in setHttpAuthUsernamePassword()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DMockScrypt.java31 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeyStoreProxy.java37 Key getKey(String alias, char[] password) in getKey()
DKeyStoreProxyImpl.java49 public Key getKey(String alias, char[] password) in getKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccCard.java193 String password, Message onComplete) { in setIccLockEnabled()
209 String password, Message onComplete) { in setIccFdnEnabled()
/frameworks/base/core/jni/
Dandroid_security_Scrypt.cpp34 static jbyteArray android_security_Scrypt_nativeScrypt(JNIEnv* env, jobject, jbyteArray password, j… in android_security_Scrypt_nativeScrypt()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreSpi.java120 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, in engineGetKey()
284 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry()
1254 public void engineStore(OutputStream stream, char[] password) throws IOException, in engineStore()
1260 public void engineLoad(InputStream stream, char[] password) throws IOException, in engineLoad()

1234