Home
last modified time | relevance | path

Searched refs:HSIconFileElement (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DHSIconFileElementTest.java50 if (statusCode != HSIconFileElement.STATUS_CODE_SUCCESS) { in getTestData()
70 HSIconFileElement.parse(ByteBuffer.allocate(0)); in parseEmptyBuffer()
81 ByteBuffer buffer = ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_SUCCESS)); in parseTruncatedBuffer()
83 HSIconFileElement.parse(buffer); in parseTruncatedBuffer()
94 ByteBuffer buffer = ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_SUCCESS)); in parseBufferWithIconData()
95 HSIconFileElement expected = new HSIconFileElement( in parseBufferWithIconData()
96 HSIconFileElement.STATUS_CODE_SUCCESS, TEST_ICON_TYPE, TEST_ICON_DATA); in parseBufferWithIconData()
97 assertEquals(expected, HSIconFileElement.parse(buffer)); in parseBufferWithIconData()
109 ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_FILE_NOT_FOUND)); in parseBufferWithoutIconData()
110 HSIconFileElement expected = in parseBufferWithoutIconData()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSIconFileElement.java44 public class HSIconFileElement extends ANQPElement { class
59 public HSIconFileElement(int statusCode, String iconType, byte[] iconData) { in HSIconFileElement() method in HSIconFileElement
74 public static HSIconFileElement parse(ByteBuffer payload) in parse()
81 return new HSIconFileElement(status, null, null); in parse()
94 return new HSIconFileElement(status, iconType, iconData); in parse()
102 if (!(thatObject instanceof HSIconFileElement)) { in equals()
105 HSIconFileElement that = (HSIconFileElement) thatObject; in equals()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp666 "com.android.server.wifi.hotspot2.anqp.HSIconFileElement",
667 "com.android.server.wifi.hotspot2.anqp.HSIconFileElement$*",
668 "com.android.server.wifi.hotspot2.anqp.HSIconFileElement.**",