Home
last modified time | relevance | path

Searched refs:RoamingConsortiumElement (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DRoamingConsortiumElementTest.java96 private RoamingConsortiumElement getDefaultElement() { in getDefaultElement()
102 return new RoamingConsortiumElement(oiList); in getDefaultElement()
113 RoamingConsortiumElement element = RoamingConsortiumElement.parse(ByteBuffer.allocate(0)); in parseEmptyBuffer()
127 RoamingConsortiumElement.parse(buffer); in parseTruncatedBuffer()
139 RoamingConsortiumElement expectedElement = getDefaultElement(); in parseBufferWithDefaultTestData()
142 assertEquals(expectedElement, RoamingConsortiumElement.parse(buffer)); in parseBufferWithDefaultTestData()
154 buffer.put((byte) (RoamingConsortiumElement.MINIMUM_OI_LENGTH - 1)); in parseBufferWithOILengthLessThanMinimum()
156 RoamingConsortiumElement.parse(buffer); in parseBufferWithOILengthLessThanMinimum()
168 buffer.put((byte) (RoamingConsortiumElement.MAXIMUM_OI_LENGTH + 1)); in parseBufferWithOILengthMoreThanMaximum()
170 RoamingConsortiumElement.parse(buffer); in parseBufferWithOILengthMoreThanMaximum()
DANQPParserTest.java332 RoamingConsortiumElement expected = new RoamingConsortiumElement(Arrays.asList(ois)); in parseRoamingConsortium()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DRoamingConsortiumElement.java27 public class RoamingConsortiumElement extends ANQPElement { class
37 public RoamingConsortiumElement(List<Long> ois) { in RoamingConsortiumElement() method in RoamingConsortiumElement
50 public static RoamingConsortiumElement parse(ByteBuffer payload) in parse()
60 return new RoamingConsortiumElement(OIs); in parse()
72 if (!(thatObject instanceof RoamingConsortiumElement)) { in equals()
75 RoamingConsortiumElement that = (RoamingConsortiumElement) thatObject; in equals()
DANQPParser.java64 return RoamingConsortiumElement.parse(payload); in parseElement()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java32 import com.android.server.wifi.hotspot2.anqp.RoamingConsortiumElement;
116 RoamingConsortiumElement element = in matchRoamingConsortium()
117 new RoamingConsortiumElement(Arrays.asList(new Long[] {oi})); in matchRoamingConsortium()
437 RoamingConsortiumElement element = in matchAnyHomeOi()
438 new RoamingConsortiumElement(Arrays.asList(anqpOis)); in matchAnyHomeOi()
452 RoamingConsortiumElement element = in matchAnyHomeOiNegative()
453 new RoamingConsortiumElement(Arrays.asList(anqpOis)); in matchAnyHomeOiNegative()
467 RoamingConsortiumElement element = in matchAllHomeOi()
468 new RoamingConsortiumElement(Arrays.asList(anqpOis)); in matchAllHomeOi()
482 RoamingConsortiumElement element = in matchAllHomeOiNegative()
[all …]
DPasspointProviderTest.java49 import com.android.server.wifi.hotspot2.anqp.RoamingConsortiumElement;
186 private RoamingConsortiumElement createRoamingConsortiumElement(Long[] rcOIs) { in createRoamingConsortiumElement()
187 return new RoamingConsortiumElement(Arrays.asList(rcOIs)); in createRoamingConsortiumElement()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java26 import com.android.server.wifi.hotspot2.anqp.RoamingConsortiumElement;
81 public static boolean matchRoamingConsortium(RoamingConsortiumElement element, in matchRoamingConsortium()
DPasspointProvider.java40 import com.android.server.wifi.hotspot2.anqp.RoamingConsortiumElement;
597 RoamingConsortiumElement roamingConsortiumElement, in matchOis()
678 if (matchOis(mConfig.getHomeSp().getMatchAllOis(), (RoamingConsortiumElement) in matchFqdnAndRcoi()
689 if (matchOis(mConfig.getHomeSp().getMatchAnyOis(), (RoamingConsortiumElement) in matchFqdnAndRcoi()
700 if (matchOis(mConfig.getHomeSp().getRoamingConsortiumOis(), (RoamingConsortiumElement) in matchFqdnAndRcoi()