Home
last modified time | relevance | path

Searched refs:NAIRealmData (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java30 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
140 NAIRealmElement element = new NAIRealmElement(new ArrayList<NAIRealmData>()); in matchNAIRealmWithEmtpyRealmData()
153 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMatch()
156 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMatch()
174 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMethodMatch()
177 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMethodMatch()
202 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithExactMatch()
205 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithExactMatch()
229 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithEAPMethodMismatch()
232 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithEAPMethodMismatch()
[all …]
DPasspointProviderTest.java47 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
175 NAIRealmData realmData = new NAIRealmData(Arrays.asList(new String[] {realm}), in createNAIRealmElement()
177 return new NAIRealmElement(Arrays.asList(new NAIRealmData[] {realmData})); in createNAIRealmElement()
DPasspointManagerTest.java101 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
1743 List<NAIRealmData> realmDataList = new ArrayList<>(); in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch()
1744 realmDataList.add(new NAIRealmData(Arrays.asList(TEST_3GPP_FQDN), in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DNAIRealmData.java40 public class NAIRealmData { class
54 public NAIRealmData(List<String> realms, List<EAPMethod> eapMethods) { in NAIRealmData() method in NAIRealmData
67 public static NAIRealmData parse(ByteBuffer payload) throws ProtocolException { in parse()
90 return new NAIRealmData(realmList, eapMethodList); in parse()
106 if (!(thatObject instanceof NAIRealmData)) { in equals()
109 NAIRealmData that = (NAIRealmData) thatObject; in equals()
DNAIRealmElement.java39 private final List<NAIRealmData> mRealmDataList;
42 public NAIRealmElement(List<NAIRealmData> realmDataList) { in NAIRealmElement()
56 List<NAIRealmData> realmDataList = new ArrayList<>(); in parse()
61 realmDataList.add(NAIRealmData.parse(payload)); in parse()
68 public List<NAIRealmData> getRealmDataList() { in getRealmDataList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DNAIRealmDataTest.java41 NAIRealmData.parse(ByteBuffer.wrap(new byte[0])); in parseEmptyBuffer()
54 NAIRealmData.parse(buffer); in parseTruncatedBuffer()
66 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithUTF8EncodedNAIRealmData()
79 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithNonUTF8EncodedNAIRealmData()
DNAIRealmDataTestUtil.java71 public static final NAIRealmData TEST_REALM_DATA =
72 new NAIRealmData(Arrays.asList(TEST_REALMS), TEST_EAP_METHOD_LIST);
106 String realmsStr = String.join(NAIRealmData.NAI_REALM_STRING_SEPARATOR, TEST_REALMS); in getNAIRealmData()
112 stream.write((byte) (utfEncoding ? NAIRealmData.NAI_ENCODING_UTF8_MASK : 0)); in getNAIRealmData()
DNAIRealmElementTest.java76 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithSingleNAIRealmData()
92 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithMultipleNAIRealmData()
DANQPParserTest.java348 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java24 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
115 for (NAIRealmData realmData : element.getRealmDataList()) { in matchNAIRealm()
136 for (NAIRealmData realmData : element.getRealmDataList()) { in getCarrierEapMethodFromMatchingNAIRealm()
174 private static boolean matchNAIRealmData(NAIRealmData realmData, String realm) { in matchNAIRealmData()
185 NAIRealmData realmData) { in getEapMethodForNAIRealmWithCarrier()