Home
last modified time | relevance | path

Searched refs:IPAddressTypeAvailabilityElement (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DIPAddressTypeAvailabilityElementTest.java36 IPAddressTypeAvailabilityElement.IPV4_PUBLIC;
38 IPAddressTypeAvailabilityElement.IPV6_AVAILABLE;
51 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0)); in parseBufferEmptyBuffer()
63 IPAddressTypeAvailabilityElement.EXPECTED_BUFFER_LENGTH + 1); in parseBufferWithExcessData()
67 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0)); in parseBufferWithExcessData()
79 IPAddressTypeAvailabilityElement.EXPECTED_BUFFER_LENGTH); in parseBufferWithTestData()
83 IPAddressTypeAvailabilityElement expectedElement = new IPAddressTypeAvailabilityElement( in parseBufferWithTestData()
85 assertEquals(expectedElement, IPAddressTypeAvailabilityElement.parse(buffer)); in parseBufferWithTestData()
DANQPParserTest.java295 int ipAddressAvailability = IPAddressTypeAvailabilityElement.IPV4_PUBLIC << 2 in parseIPAddressTypeAvailabilityElement()
296 | IPAddressTypeAvailabilityElement.IPV6_AVAILABLE; in parseIPAddressTypeAvailabilityElement()
299 IPAddressTypeAvailabilityElement expected = new IPAddressTypeAvailabilityElement( in parseIPAddressTypeAvailabilityElement()
300 IPAddressTypeAvailabilityElement.IPV4_PUBLIC, in parseIPAddressTypeAvailabilityElement()
301 IPAddressTypeAvailabilityElement.IPV6_AVAILABLE); in parseIPAddressTypeAvailabilityElement()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIPAddressTypeAvailabilityElement.java37 public class IPAddressTypeAvailabilityElement extends ANQPElement { class
83 public IPAddressTypeAvailabilityElement(int v4Availability, int v6Availability) { in IPAddressTypeAvailabilityElement() method in IPAddressTypeAvailabilityElement
96 public static IPAddressTypeAvailabilityElement parse(ByteBuffer payload) in parse()
114 return new IPAddressTypeAvailabilityElement(v4Availability, v6Availability); in parse()
130 if (!(thatObject instanceof IPAddressTypeAvailabilityElement)) { in equals()
133 IPAddressTypeAvailabilityElement that = (IPAddressTypeAvailabilityElement) thatObject; in equals()
DANQPParser.java66 return IPAddressTypeAvailabilityElement.parse(payload); in parseElement()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp983 "com.android.server.wifi.hotspot2.anqp.IPAddressTypeAvailabilityElement",
984 "com.android.server.wifi.hotspot2.anqp.IPAddressTypeAvailabilityElement$*",
985 "com.android.server.wifi.hotspot2.anqp.IPAddressTypeAvailabilityElement.**",