Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialTypeTest.java36 private static final int TEST_TYPE = CredentialType.CREDENTIAL_TYPE_USIM;
54 CredentialType.parse( in parseEmptyBuffer()
55 ByteBuffer.wrap(new byte[0]), CredentialType.EXPECTED_LENGTH_VALUE, false); in parseEmptyBuffer()
66 CredentialType.parse(getTestBuffer(), CredentialType.EXPECTED_LENGTH_VALUE - 1, false); in parseBufferWithInvalidLength()
77 CredentialType expected = in parseBufferForNonTunneledEAPMethod()
78 new CredentialType(AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, TEST_TYPE); in parseBufferForNonTunneledEAPMethod()
79 CredentialType actual = CredentialType.parse( in parseBufferForNonTunneledEAPMethod()
80 getTestBuffer(), CredentialType.EXPECTED_LENGTH_VALUE, false); in parseBufferForNonTunneledEAPMethod()
92 CredentialType expected = new CredentialType( in parseBufferForTunneledEAPMethod()
94 CredentialType actual = CredentialType.parse( in parseBufferForTunneledEAPMethod()
[all …]
DEAPMethodTest.java56 TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
57 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_USIM)); in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
58 TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
59 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_CERTIFICATE)); in TEST_DATA1_CREDENTIAL_TYPE_PARAMS.add()
61 TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
63 CredentialType.CREDENTIAL_TYPE_NFC)); in TEST_DATA1_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
110 TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add()
111 AuthParam.PARAM_TYPE_CREDENTIAL_TYPE, CredentialType.CREDENTIAL_TYPE_USIM)); in TEST_DATA2_CREDENTIAL_TYPE_PARAMS.add()
112 TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( in TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
114 CredentialType.CREDENTIAL_TYPE_NFC)); in TEST_DATA2_TUNNELED_CREDENTIAL_TYPE_PARAMS.add()
/packages/modules/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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java140 private enum CredentialType { enum in PasspointProviderTest
272 CredentialType credentialType, boolean isLegacy) throws Exception { in generateTestPasspointConfiguration()
286 if (credentialType == CredentialType.USER) { in generateTestPasspointConfiguration()
299 } else if (credentialType == CredentialType.CERT) { in generateTestPasspointConfiguration()
313 } else if (credentialType == CredentialType.SIM) { in generateTestPasspointConfiguration()
481 CredentialType.USER, false); in verifyModifyOriginalConfig()
501 CredentialType.USER, false); in verifyModifyRetrievedConfig()
521 CredentialType.CERT, false); in installCertsAndKeysSuccess()
570 CredentialType.CERT, false); in installCertsAndKeysFailure()
615 CredentialType.CERT, false); in uninstallCertsAndKeys()
[all …]
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPresenceCredential.java49 public @interface CredentialType {} annotation in PresenceCredential
73 private final @CredentialType int mType;
80 @CredentialType int type, in PresenceCredential()
92 PresenceCredential(@CredentialType int type, Parcel in) { in PresenceCredential()
107 public @CredentialType int getType() { in getType()
/packages/modules/Wifi/service/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()
/packages/apps/Settings/src/com/android/settings/password/
DSetupSkipDialog.java58 public static SetupSkipDialog newInstance(@LockPatternUtils.CredentialType int credentialType, in newInstance()
84 @LockPatternUtils.CredentialType int credentialType, boolean isSuw, boolean hasFace, in getBiometricsBuilder()
120 @LockPatternUtils.CredentialType in onCreateDialogBuilder()
DConfirmDeviceCredentialActivity.java240 final @LockPatternUtils.CredentialType int credentialType = Utils.getCredentialType( in onCreate()
380 private String getTitleFromCredentialType(@LockPatternUtils.CredentialType int credentialType, in getTitleFromCredentialType()
/packages/apps/Settings/src/com/android/settings/
DUtils.java784 public static @LockPatternUtils.CredentialType int getCredentialType(Context context, in getCredentialType()
794 int userId, @LockPatternUtils.CredentialType int credentialType) { in getConfirmCredentialStringForUser()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp1019 "com.android.server.wifi.hotspot2.anqp.eap.CredentialType",
1020 "com.android.server.wifi.hotspot2.anqp.eap.CredentialType$*",
1021 "com.android.server.wifi.hotspot2.anqp.eap.CredentialType.**",