Searched refs:NAIRealmData (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 30 import com.android.server.wifi.hotspot2.anqp.NAIRealmData; 142 NAIRealmElement element = new NAIRealmElement(new ArrayList<NAIRealmData>()); in matchNAIRealmWithEmtpyRealmData() 156 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMatch() 159 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMatch() 181 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithMethodMatch() 184 Arrays.asList(new NAIRealmData[]{realmData})); in matchNAIRealmWithMethodMatch() 204 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithRealmMethodMatch() 207 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithRealmMethodMatch() 233 NAIRealmData realmData = new NAIRealmData( in matchNAIRealmWithExactMatch() 236 Arrays.asList(new NAIRealmData[] {realmData})); in matchNAIRealmWithExactMatch() [all …]
|
D | PasspointProviderTest.java | 47 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()
|
D | PasspointManagerTest.java | 101 import com.android.server.wifi.hotspot2.anqp.NAIRealmData; 1741 List<NAIRealmData> realmDataList = new ArrayList<>(); in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch() 1742 realmDataList.add(new NAIRealmData(Arrays.asList(TEST_3GPP_FQDN), in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | NAIRealmData.java | 40 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()
|
D | NAIRealmElement.java | 39 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/ |
D | NAIRealmDataTest.java | 41 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()
|
D | NAIRealmDataTestUtil.java | 71 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()
|
D | NAIRealmElementTest.java | 76 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithSingleNAIRealmData() 92 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithMultipleNAIRealmData()
|
D | ANQPParserTest.java | 348 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPMatcher.java | 24 import com.android.server.wifi.hotspot2.anqp.NAIRealmData; 114 for (NAIRealmData realmData : element.getRealmDataList()) { in matchNAIRealm() 139 for (NAIRealmData realmData : element.getRealmDataList()) { in getCarrierEapMethodFromMatchingNAIRealm() 179 private static int matchNAIRealmData(NAIRealmData realmData, String realm, int eapMethodID, in matchNAIRealmData() 214 NAIRealmData realmData) { in getEapMethodForNAIRealmWithCarrier()
|