Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialTypeTest.java34 private static final int TEST_TYPE = CredentialType.CREDENTIAL_TYPE_USIM;
52 CredentialType.parse( in parseEmptyBuffer()
53 ByteBuffer.wrap(new byte[0]), CredentialType.EXPECTED_LENGTH_VALUE, false); in parseEmptyBuffer()
64 CredentialType.parse(getTestBuffer(), CredentialType.EXPECTED_LENGTH_VALUE - 1, false); in parseBufferWithInvalidLength()
75 CredentialType expected = in parseBufferForNonTunneledEAPMethod()
76 new CredentialType(AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, TEST_TYPE); in parseBufferForNonTunneledEAPMethod()
77 CredentialType actual = CredentialType.parse( in parseBufferForNonTunneledEAPMethod()
78 getTestBuffer(), CredentialType.EXPECTED_LENGTH_VALUE, false); in parseBufferForNonTunneledEAPMethod()
90 CredentialType expected = new CredentialType( in parseBufferForTunneledEAPMethod()
92 CredentialType actual = CredentialType.parse( in parseBufferForTunneledEAPMethod()
[all …]
DEAPMethodTest.java54 TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
55 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_USIM)); in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
56 TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
57 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_CERTIFICATE)); in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
59 TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
61 CredentialType.CREDENTIAL_TYPE_NFC)); in TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
108 TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add()
109 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_USIM)); in TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add()
110 TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
112 CredentialType.CREDENTIAL_TYPE_NFC)); in TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialType.java34 public class CredentialType extends AuthParam { class
52 public CredentialType(int authType, int credType) { in CredentialType() method in CredentialType
67 public static CredentialType parse(ByteBuffer payload, int length, boolean tunneled) in parse()
75 return new CredentialType(authType, credType); in parse()
87 if (!(thatObject instanceof CredentialType)) { in equals()
90 CredentialType that = (CredentialType) thatObject; in equals()
DEAPMethod.java98 return CredentialType.parse(payload, length, false); in parseAuthParam()
100 return CredentialType.parse(payload, length, true); in parseAuthParam()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DNAIRealmDataTestUtil.java22 import com.android.server.wifi.hotspot2.anqp.eap.CredentialType;
60 TEST_EAP_METHOD_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_EAP_METHOD_CREDENTIAL_TYPE_PARAMS.add()
61 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_USIM)); in TEST_EAP_METHOD_CREDENTIAL_TYPE_PARAMS.add()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java41 import com.android.internal.widget.LockPatternUtils.CredentialType;
236 @CredentialType int type, byte[] credential) { in computeForCredential()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java40 import com.android.internal.widget.LockPatternUtils.CredentialType;
100 private CredentialHash(byte[] hash, @CredentialType int type, int version) { in CredentialHash()
105 byte[] hash, @CredentialType int type, int version, boolean isBaseZeroPattern) { in CredentialHash()
139 @CredentialType int type;
DLockSettingsService.java112 import com.android.internal.widget.LockPatternUtils.CredentialType;
1439 private void setLockCredentialInternal(byte[] credential, @CredentialType int credentialType, in setLockCredentialInternal()
1977 @CredentialType int credentialType, byte[] password, @UserIdInt int userId) { in notifyActivePasswordMetricsAvailable()
2494 @CredentialType int credentialType, boolean hasChallenge, long challenge, int userId, in spBasedDoVerifyCredential()
2597 @CredentialType int credentialType, AuthenticationToken auth, int requestedQuality, in setLockCredentialWithAuthTokenLocked()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java127 public @interface CredentialType {} annotation in LockPatternUtils
1004 @CredentialType int credentialType, int requestedQuality, int passwordQuality) { in computeKeyguardQuality()