Searched refs:credentialType (Results 1 – 9 of 9) sorted by relevance
199 void setCredentialType(@Utils.CredentialType int credentialType) { in setCredentialType() argument200 mCredentialType = credentialType; in setCredentialType()431 @UserType int userType, @Utils.CredentialType int credentialType) { in getLastAttemptBeforeWipeMessage() argument434 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 …]
402 @Utils.CredentialType final int credentialType = Utils.getCredentialType( in addCredentialView() local405 switch (credentialType) { in addCredentialView()416 throw new IllegalStateException("Unknown credential type: " + credentialType); in addCredentialView()429 mCredentialView.setCredentialType(credentialType); in addCredentialView()
747 @Utils.CredentialType final int credentialType = in onAttachedToWindow() local749 switch (credentialType) { in onAttachedToWindow()
96 public boolean doesCredentialSupportInsecureMode(int credentialType, byte[] credential) { in doesCredentialSupportInsecureMode() argument100 if (credentialType != LockPatternUtils.CREDENTIAL_TYPE_PASSWORD in doesCredentialSupportInsecureMode()101 && credentialType != LockPatternUtils.CREDENTIAL_TYPE_PIN) { in doesCredentialSupportInsecureMode()
102 int credentialType, in newInstance() argument111 credentialType, in newInstance()136 int credentialType, in KeySyncTask() argument145 mCredentialType = credentialType; in KeySyncTask()463 @KeyChainProtectionParams.LockScreenUiFormat static int getUiFormat(int credentialType) { in getUiFormat() argument464 if (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PATTERN) { in getUiFormat()466 } else if (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PIN) { in getUiFormat()
316 public int credentialType; field in SyntheticPasswordManager.PasswordData327 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 …]
1351 int credentialType = SyntheticPasswordManager.getFrpCredentialType(data.payload); in getFrpCredentialType() local1352 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;
474 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()
663 public static int credentialTypeToPasswordQuality(int credentialType) { in credentialTypeToPasswordQuality() argument664 switch (credentialType) { in credentialTypeToPasswordQuality()674 throw new IllegalStateException("Unknown type: " + credentialType); in credentialTypeToPasswordQuality()