/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapData.java | 102 @EapType public final int eapType; field in EapData 115 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() argument 116 this.eapType = eapType; in EapData() 147 return eapType == eapData.eapType in equals() 158 return Objects.hash(eapType, Arrays.hashCode(eapTypeData)); in hashCode() 167 b.put((byte) eapType); in encodeToByteBuffer() 177 public static boolean isSupportedEapType(int eapType) { in isSupportedEapType() argument 178 return SUPPORTED_TYPES.contains(eapType); in isSupportedEapType() 185 if (!isSupportedEapType(this.eapType)) { in validate()
|
D | EapMessage.java | 134 int eapType = Byte.toUnsignedInt(buffer.get()); in decode() local 135 if (!EapData.isSupportedEapType(eapType)) { in decode() 136 LOG.e(TAG, "Decoding EAP packet with unsupported EAP-Type: " + eapType); in decode() 138 "Unsupported eapType=" + eapType); in decode() 148 eapData = new EapData(eapType, eapDataBytes); in decode()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 136 eapMessage.eapData.eapType, in decode() 137 "UNKNOWN (" + eapMessage.eapData.eapType + ")"); in decode() 148 && eapMessage.eapData.eapType == EAP_NAK) { in decode() 202 switch (message.eapData.eapType) { in process() 233 switch (message.eapData.eapType) { in process() 309 } else if (eapMessage.eapData.eapType == EAP_NOTIFICATION) { in process() 315 int eapType = eapMessage.eapData.eapType; in process() local 316 mEapMethodStateMachine = buildEapMethodStateMachine(eapType); in process() 334 private EapMethodStateMachine buildEapMethodStateMachine(@EapMethod int eapType) { in buildEapMethodStateMachine() argument 335 EapMethodConfig eapMethodConfig = mEapSessionConfig.getEapConfigs().get(eapType); in buildEapMethodStateMachine() [all …]
|
D | EapMethodStateMachine.java | 97 } else if (message.eapData.eapType == EAP_NOTIFICATION) { in handleEapSuccessFailureNotification() 106 + message.eapData.eapType)); in handleEapSuccessFailureNotification() 107 } else if (message.eapData.eapType != getEapMethod()) { in handleEapSuccessFailureNotification() 110 + ", received " + message.eapData.eapType)); in handleEapSuccessFailureNotification()
|
D | EapMsChapV2MethodStateMachine.java | 437 int eapType = message.eapData.eapType; in process() local 438 if (eapType == EAP_NOTIFICATION) { in process() 445 eapType, "UNKNOWN (" + eapType + ")")); in process() 451 + eapType)); in process() 475 int eapType = message.eapData.eapType; in process() local 479 + EAP_TYPE_STRING.getOrDefault(eapType, "UNKNOWN (" + eapType + ")")); in process() 482 "Expected EAP Type " + getEapMethod() + ", received " + eapType)); in process()
|
D | EapTtlsMethodStateMachine.java | 820 if (message.eapData.eapType == EAP_NOTIFICATION) { in handleEapSuccessFailureNotification() 822 } else if (message.eapData.eapType != EAP_TYPE_TTLS) { in handleEapSuccessFailureNotification() 829 + message.eapData.eapType)); in handleEapSuccessFailureNotification()
|
D | EapSimAkaMethodStateMachine.java | 179 int eapType, in buildResponseMessage() argument 184 EapData eapData = new EapData(eapType, eapSimTypeData.encode()); in buildResponseMessage()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 284 public void setEapType(int eapType) { in setEapType() argument 285 mEapType = eapType; in setEapType() 704 public void setEapType(int eapType) { in setEapType() argument 705 mEapType = eapType; in setEapType()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 1135 int eapType, WifiEnterpriseConfig config) { in buildSimCredentialFromEnterpriseConfig() argument 1142 simCredential.setEapType(eapType); in buildSimCredentialFromEnterpriseConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 750 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider() argument 755 switch (eapType) { in createMockProvider() 766 simCredential.setEapType(eapType); in createMockProvider() 785 int eapType = SAVED_PASSPOINT_PROVIDERS_TYPE.keyAt(i); in setAndIncrementMetrics() local 788 providers.put(Integer.toString(eapType) + j, createMockProvider(eapType, false)); in setAndIncrementMetrics() 791 providers.put(Integer.toString(eapType) + j, createMockProvider(eapType, true)); in setAndIncrementMetrics()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 2161 private int toMetricEapType(int eapType) { in toMetricEapType() argument 2162 switch (eapType) { in toMetricEapType() 5260 int eapType; in updateSavedPasspointProfilesInfo() local 5268 eapType = EAPConstants.EAP_TTLS; in updateSavedPasspointProfilesInfo() 5270 eapType = EAPConstants.EAP_TLS; in updateSavedPasspointProfilesInfo() 5272 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo() 5274 eapType = -1; in updateSavedPasspointProfilesInfo() 5276 switch (eapType) { in updateSavedPasspointProfilesInfo()
|