Home
last modified time | relevance | path

Searched refs:credentialType (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialView.java199 void setCredentialType(@Utils.CredentialType int credentialType) { in setCredentialType() argument
200 mCredentialType = credentialType; in setCredentialType()
431 @UserType int userType, @Utils.CredentialType int credentialType) { in getLastAttemptBeforeWipeMessage() argument
434 return getLastAttemptBeforeWipeDeviceMessage(credentialType); in getLastAttemptBeforeWipeMessage()
436 return getLastAttemptBeforeWipeProfileMessage(credentialType); in getLastAttemptBeforeWipeMessage()
438 return getLastAttemptBeforeWipeUserMessage(credentialType); in getLastAttemptBeforeWipeMessage()
445 @Utils.CredentialType int credentialType) { in getLastAttemptBeforeWipeDeviceMessage()
446 switch (credentialType) { in getLastAttemptBeforeWipeDeviceMessage()
462 @Utils.CredentialType int credentialType) { in getLastAttemptBeforeWipeProfileMessage()
464 getLastAttemptBeforeWipeProfileUpdatableStringId(credentialType), in getLastAttemptBeforeWipeProfileMessage()
[all …]
DAuthContainerView.java402 @Utils.CredentialType final int credentialType = Utils.getCredentialType( in addCredentialView() local
405 switch (credentialType) { in addCredentialView()
416 throw new IllegalStateException("Unknown credential type: " + credentialType); in addCredentialView()
429 mCredentialView.setCredentialType(credentialType); in addCredentialView()
DAuthBiometricView.java747 @Utils.CredentialType final int credentialType = in onAttachedToWindow() local
749 switch (credentialType) { in onAttachedToWindow()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DTestOnlyInsecureCertificateHelper.java96 public boolean doesCredentialSupportInsecureMode(int credentialType, byte[] credential) { in doesCredentialSupportInsecureMode() argument
100 if (credentialType != LockPatternUtils.CREDENTIAL_TYPE_PASSWORD in doesCredentialSupportInsecureMode()
101 && credentialType != LockPatternUtils.CREDENTIAL_TYPE_PIN) { in doesCredentialSupportInsecureMode()
DKeySyncTask.java102 int credentialType, in newInstance() argument
111 credentialType, in newInstance()
136 int credentialType, in KeySyncTask() argument
145 mCredentialType = credentialType; in KeySyncTask()
463 @KeyChainProtectionParams.LockScreenUiFormat static int getUiFormat(int credentialType) { in getUiFormat() argument
464 if (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PATTERN) { in getUiFormat()
466 } else if (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PIN) { in getUiFormat()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java316 public int credentialType; field in SyntheticPasswordManager.PasswordData
327 result.credentialType = passwordType; in create()
337 result.credentialType = buffer.getInt(); in fromBytes()
359 buffer.putInt(credentialType); in toBytes()
588 return PasswordData.fromBytes(passwordData).credentialType; in getCredentialType()
595 return PasswordData.fromBytes(payload).credentialType; in getFrpCredentialType()
891 if (pwd.credentialType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in migrateFrpPasswordLocked()
907 if (pwd.credentialType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeFrpPassword()
921 if (pwd.credentialType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeWeaverFrpPassword()
1061 if (!credential.checkAgainstStoredType(pwd.credentialType)) { in unwrapPasswordBasedSyntheticPassword()
[all …]
DLockSettingsService.java1351 int credentialType = SyntheticPasswordManager.getFrpCredentialType(data.payload); in getFrpCredentialType() local
1352 if (credentialType != CREDENTIAL_TYPE_PASSWORD_OR_PIN) { in getFrpCredentialType()
1353 return credentialType; in getFrpCredentialType()
3410 private static String credentialTypeToString(int credentialType) {
3411 switch (credentialType) {
3421 return "Unknown " + credentialType;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java474 data.credentialType = CREDENTIAL_TYPE_PASSWORD; in testPasswordData_serializeDeserialize()
483 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.credentialType); in testPasswordData_serializeDeserialize()
507 assertEquals(CREDENTIAL_TYPE_PASSWORD_OR_PIN, deserialized.credentialType); in testPasswordData_deserialize()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java663 public static int credentialTypeToPasswordQuality(int credentialType) { in credentialTypeToPasswordQuality() argument
664 switch (credentialType) { in credentialTypeToPasswordQuality()
674 throw new IllegalStateException("Unknown type: " + credentialType); in credentialTypeToPasswordQuality()