Home
last modified time | relevance | path

Searched refs:NAIRealmDataTestUtil (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DNAIRealmDataTest.java54 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseTruncatedBuffer()
67 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseBufferWithUTF8EncodedNAIRealmData()
68 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithUTF8EncodedNAIRealmData()
80 NAIRealmDataTestUtil.TEST_REAML_WITH_NON_UTF8_DATA_BYTES); in parseBufferWithNonUTF8EncodedNAIRealmData()
81 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithNonUTF8EncodedNAIRealmData()
DNAIRealmElementTest.java46 int dataLength = NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES.length * dataCount; in getTestBufferWithNAIRealmData()
51 buffer.put(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in getTestBufferWithNAIRealmData()
79 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithSingleNAIRealmData()
95 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()
96 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()
DNAIRealmDataTestUtil.java39 public class NAIRealmDataTestUtil { class
DANQPParserTest.java349 byte[][] testBytes = new byte[][] {NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES}; in parseNAIRealmElement()
350 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement()