Home
last modified time | relevance | path

Searched refs:getCredential (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java44 assertArrayEquals(new byte[0], none.getCredential()); in testNoneCredential()
59 assertArrayEquals("3456".getBytes(), pin.getCredential()); in testPinCredential()
74 assertArrayEquals("password".getBytes(), password.getCredential()); in testPasswordCredential()
95 assertArrayEquals("12369".getBytes(), pattern.getCredential()); in testPatternCredential()
152 assertArrayEquals(equivalentAsciiPasswords[i].getBytes(), credential.getCredential()); in testPasswordWithInvalidChars()
200 password.getCredential(); in testSanitize()
/frameworks/base/core/tests/coretests/src/android/credentials/
DCredentialManagerTest.java163 mCredentialManager.getCredential( in testGetCredential_nullRequest()
172 mCredentialManager.getCredential( in testGetCredential_nullActivity()
181 mCredentialManager.getCredential( in testGetCredential_nullExecutor()
190 mCredentialManager.getCredential( in testGetCredential_nullCallback()
207 mCredentialManager.getCredential(mMockActivity, mGetRequest, null, mExecutor, callback); in testGetCredential_noCredential()
224 mCredentialManager.getCredential( in testGetCredential_alreadyCancelled()
241 mCredentialManager.getCredential( in testGetCredential_cancel()
265 mCredentialManager.getCredential(mMockActivity, mGetRequest, null, mExecutor, callback); in testGetCredential_success()
271 assertThat(responseCaptor.getValue().getCredential().getType()).isEqualTo(cred.getType()); in testGetCredential_success()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java301 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
304 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
354 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, profilePassword.getCredential(), in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials()
388 CREDENTIAL_TYPE_PASSWORD, password.getCredential(), PRIMARY_USER_ID); in testVerifyCredential_forPrimaryUser_sendsCredentials()
402 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), MANAGED_PROFILE_USER_ID); in testVerifyCredential_forProfileWithSeparateChallenge_sendsCredentials()
418 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), PRIMARY_USER_ID); in verifyCredential_forPrimaryUserWithUnifiedChallengeProfile_sendsCredentialsForBoth()
421 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), MANAGED_PROFILE_USER_ID); in verifyCredential_forPrimaryUserWithUnifiedChallengeProfile_sendsCredentialsForBoth()
617 badCredential.getCredential()[0] ^= 1; in assertVerifyCredential()
/frameworks/base/core/java/android/credentials/
DGetCredentialResponse.java46 public Credential getCredential() { in getCredential() method in GetCredentialResponse
DCredentialManager.java216 public void getCredential( in getCredential() method in CredentialManager
266 public void getCredential( in getCredential() method in CredentialManager
/frameworks/base/services/core/java/com/android/server/locksettings/
DUnifiedProfilePasswordCache.java112 byte[] ciphertext = cipher.doFinal(password.getCredential()); in storePassword()
DLockSettingsService.java1769 credential.getType(), credential.getCredential(), profileId); in sendCredentialsOnUnlockIfRequired()
1787 final byte[] secret = credential.isNone() ? null : credential.getCredential(); in sendCredentialsOnChangeIfRequired()
2155 ciphertext = cipher.doFinal(password.getCredential()); in tieProfileLockToParent()
DSyntheticPasswordManager.java1942 final byte[] password = credential.isNone() ? DEFAULT_PASSWORD : credential.getCredential(); in stretchLskf()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java196 public byte[] getCredential() { in getCredential() method in LockscreenCredential
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java186 return computeForPasswordOrPin(credential.getCredential(), credential.isPin()); in computeForCredential()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java223 if (Arrays.equals(argument.getCredential(), VALID_GUESS)) { in setUp()
225 } else if (Arrays.equals(argument.getCredential(), INVALID_GUESS)) { in setUp()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java2997 Bundle bundle = result.getCredential().getData(); in getDatasetFromCredentialResponse()
/frameworks/base/core/api/
Dcurrent.txt14149 …method public void getCredential(@NonNull android.content.Context, @NonNull android.credentials.Ge…
14150 …method public void getCredential(@NonNull android.content.Context, @NonNull android.credentials.Pr…
14211 method @NonNull public android.credentials.Credential getCredential();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...