HomeSort by relevance Sort by last modified time
    Searched refs:EAPMethod (Results 1 - 10 of 10) sorted by null

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
EAPMethod.java 38 public class EAPMethod {
43 public EAPMethod(int methodID, Map<Integer, Set<AuthParam>> authParams) {
49 * Parse a EAPMethod from the given buffer.
52 * @return {@link EAPMethod}
56 public static EAPMethod parse(ByteBuffer payload) throws ProtocolException {
70 return new EAPMethod(methodID, authParams);
138 if (!(thatObject instanceof EAPMethod)) {
141 EAPMethod that = (EAPMethod) thatObject;
152 return "EAPMethod{mEAPMethodID=" + mEAPMethodID + " mAuthParams=" + mAuthParams + "}"
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
NAIRealmData.java 21 import com.android.server.wifi.hotspot2.anqp.eap.EAPMethod;
37 * | Length | Encoding | NAIRealm Length | NAIRealm | EAPMethod Count | EAPMethod #1 (optional) |
51 private final List<EAPMethod> mEAPMethods;
54 public NAIRealmData(List<String> realms, List<EAPMethod> eapMethods) {
85 List<EAPMethod> eapMethodList = new ArrayList<>();
87 eapMethodList.add(EAPMethod.parse(payload));
97 public List<EAPMethod> getEAPMethods() {
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/
EAPMethodTest.java 35 * Unit tests for {@link com.android.server.wifi.hotspot2.anqp.eap.EAPMethod}.
67 private static final EAPMethod TEST_DATA1_EAP_METHOD = new EAPMethod(
130 private static final EAPMethod TEST_DATA2_EAP_METHOD = new EAPMethod(
140 EAPMethod.parse(ByteBuffer.wrap(new byte[0]));
152 EAPMethod.parse(buffer);
156 * Verify that the expected EAPMethod is return when parsing a buffer contained
163 assertEquals(TEST_DATA1_EAP_METHOD, EAPMethod.parse(ByteBuffer.wrap(TEST_DATA1_BYTES)));
167 * Verify that the expected EAPMethod is return when parsing a buffer containe
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
ANQPMatcherTest.java 34 import com.android.server.wifi.hotspot2.anqp.eap.EAPMethod;
153 Arrays.asList(new String[] {realm}), new ArrayList<EAPMethod>());
174 EAPMethod method = new EAPMethod(eapMethodID, new HashMap<Integer, Set<AuthParam>>());
176 Arrays.asList(new String[] {anqpRealm}), Arrays.asList(new EAPMethod[] {method}));
197 EAPMethod method = new EAPMethod(eapMethodID, new HashMap<Integer, Set<AuthParam>>());
199 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method}));
226 EAPMethod method = new EAPMethod(eapMethodID, authMap)
    [all...]
PasspointProviderTest.java 48 import com.android.server.wifi.hotspot2.anqp.eap.EAPMethod;
143 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap);
145 Arrays.asList(new EAPMethod[] {eapMethod}));
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
NAIRealmDataTestUtil.java 23 import com.android.server.wifi.hotspot2.anqp.eap.EAPMethod;
53 * Setup expected EAPMethod list.
58 private static final List<EAPMethod> TEST_EAP_METHOD_LIST = new ArrayList<>();
65 TEST_EAP_METHOD_LIST.add(new EAPMethod(EAPConstants.EAP_TLS, TEST_EAP_METHOD_AUTH_PARAMS));
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
ANQPMatcher.java 27 import com.android.server.wifi.hotspot2.anqp.eap.EAPMethod;
172 for (EAPMethod eapMethod : realmData.getEAPMethods()) {
173 eapMethodMatch = matchEAPMethod(eapMethod, eapMethodID, authParam);
190 * Match the given EAPMethod against the authentication method of a provider.
197 private static int matchEAPMethod(EAPMethod method, int eapMethodID, AuthParam authParam) {
  /frameworks/opt/net/wifi/tests/wifitests/assets/
r1.PerProviderSubscription.conf 14 9:EAPMethod+
81 9:EAPMethod+
r2.PerProviderSubscription.conf 64 9:EAPMethod+
83 9:EAPMethod+
ruckus.PerProviderSubscription.conf 64 9:EAPMethod+

Completed in 197 milliseconds