Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DNAIRealmElementTest.java78 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithSingleNAIRealmData() local
79 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithSingleNAIRealmData()
80 NAIRealmElement expected = new NAIRealmElement(realmDataList); in parseBufferWithSingleNAIRealmData()
94 List<NAIRealmData> realmDataList = new ArrayList<>(); in parseBufferWithMultipleNAIRealmData() local
95 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()
96 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()
97 NAIRealmElement expected = new NAIRealmElement(realmDataList); in parseBufferWithMultipleNAIRealmData()
DANQPParserTest.java106 private static byte[] getNAIRealmPayload(byte[][] realmDataList) throws IOException { in getNAIRealmPayload() argument
109 stream.write((byte) (realmDataList.length & 0xFF)); in getNAIRealmPayload()
110 stream.write((byte) ((realmDataList.length >> 8) & 0xFF)); in getNAIRealmPayload()
111 for (byte[] realmData : realmDataList) { in getNAIRealmPayload()
350 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement() local
351 NAIRealmElement expected = new NAIRealmElement(Arrays.asList(realmDataList)); in parseNAIRealmElement()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DNAIRealmElement.java42 public NAIRealmElement(List<NAIRealmData> realmDataList) { in NAIRealmElement() argument
44 mRealmDataList = realmDataList; in NAIRealmElement()
56 List<NAIRealmData> realmDataList = new ArrayList<>(); in parse() local
61 realmDataList.add(NAIRealmData.parse(payload)); in parse()
65 return new NAIRealmElement(realmDataList); in parse()