Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java31 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
138 NAIRealmElement element = new NAIRealmElement(new ArrayList<NAIRealmData>()); in matchNAIRealmWithEmtpyRealmData()
151 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMatch()
154 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMatch()
172 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMethodMatch()
175 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMethodMatch()
200 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithExactMatch()
203 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithExactMatch()
227 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithEAPMethodMismatch()
230 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithEAPMethodMismatch()
[all …]
DPasspointProviderTest.java54 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
235 NAIRealmData realmData = new NAIRealmData(Arrays.asList(new String[]{realm}), in createNAIRealmElement()
237 return new NAIRealmElement(Arrays.asList(new NAIRealmData[]{realmData})); in createNAIRealmElement()
/packages/modules/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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DNAIRealmDataTest.java43 NAIRealmData.parse(ByteBuffer.wrap(new byte[0])); in parseEmptyBuffer()
56 NAIRealmData.parse(buffer); in parseTruncatedBuffer()
68 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithUTF8EncodedNAIRealmData()
81 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.java78 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithSingleNAIRealmData()
94 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithMultipleNAIRealmData()
DANQPParserTest.java350 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java24 import com.android.server.wifi.hotspot2.anqp.NAIRealmData;
117 for (NAIRealmData realmData : element.getRealmDataList()) { in matchNAIRealm()
154 private static boolean matchNAIRealmData(NAIRealmData realmData, String realm) { in matchNAIRealmData()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp989 "com.android.server.wifi.hotspot2.anqp.NAIRealmData",
990 "com.android.server.wifi.hotspot2.anqp.NAIRealmData$*",
991 "com.android.server.wifi.hotspot2.anqp.NAIRealmData.**",