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/ |
D | CredentialTypeTest.java | 34 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 …]
|
D | EAPMethodTest.java | 54 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/ |
D | CredentialType.java | 34 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()
|
D | EAPMethod.java | 98 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/ |
D | NAIRealmDataTestUtil.java | 22 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/ |
D | PasswordMetrics.java | 41 import com.android.internal.widget.LockPatternUtils.CredentialType; 236 @CredentialType int type, byte[] credential) { in computeForCredential()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 40 import com.android.internal.widget.LockPatternUtils.CredentialType; 102 private CredentialHash(byte[] hash, @CredentialType int type, int version) { in CredentialHash() 107 byte[] hash, @CredentialType int type, int version, boolean isBaseZeroPattern) { in CredentialHash() 141 @CredentialType int type;
|
D | LockSettingsService.java | 112 import com.android.internal.widget.LockPatternUtils.CredentialType; 1490 private void setLockCredentialInternal(byte[] credential, @CredentialType int credentialType, in setLockCredentialInternal() 2045 @CredentialType int credentialType, byte[] password, @UserIdInt int userId) { in notifyActivePasswordMetricsAvailable() 2551 @CredentialType int credentialType, @ChallengeType int challengeType, long challenge, in spBasedDoVerifyCredential() 2659 @CredentialType int credentialType, AuthenticationToken auth, int requestedQuality, in setLockCredentialWithAuthTokenLocked()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 127 public @interface CredentialType {} annotation in LockPatternUtils 1004 @CredentialType int credentialType, int requestedQuality, int passwordQuality) { in computeKeyguardQuality()
|