Home
last modified time | relevance | path

Searched refs:deserializeData (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java333 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
335 verify(storeData, never()).deserializeData(eq(null), anyInt(), eq(false)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
357 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoStoreFiles()
359 verify(storeData, times(2)).deserializeData(eq(null), anyInt(), eq(false)); in testReadWithNoStoreFiles()
531 verify(storeData1).deserializeData(notNull(), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
532 verify(storeData1, never()).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
533 verify(storeData1).deserializeData(eq(null), anyInt(), eq(false)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
534 verify(storeData2).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
535 verify(storeData2).deserializeData(eq(null), anyInt(), eq(false)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
543 verify(storeData1).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
[all …]
DNetworkListStoreDataTest.java221 private List<WifiConfiguration> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in NetworkListStoreDataTest
225 mNetworkListStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData()
302 assertTrue(deserializeData(new byte[0], true /* shared */).isEmpty()); in deserializeEmptyData()
303 assertTrue(deserializeData(new byte[0], false /* shared */).isEmpty()); in deserializeEmptyData()
340 networkList, deserializeData(xmlData, true /* shared */)); in deserializeSharedConfigurations()
367 networkList, deserializeData(xmlData, false /* shared */)); in deserializeUserConfigurations()
434 deserializeData(xmlData, true); in parseNetworkWithUnknownTag()
452 deserializeData(xmlData, true); in parseNetworkWithMismatchConfigKey()
472 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8), true /* shared */); in parseNetworkListWithOneNetworkIllegalArgException()
497 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData, true); in parseNetworkWithInvalidCreatorUidResetsToSystem()
[all …]
DSsidSetStoreDataTest.java94 private void deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in SsidSetStoreDataTest
98 mSsidSetStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData()
120 deserializeData(new byte[0], true /* shared */); in deserializeShareData()
143 deserializeData(new byte[0], false /* shared */); in deserializeEmptyStoreData()
182 deserializeData(TEST_SSID_SET_XML_BYTES, false /* shared */); in deserializeSsidSet()
200 deserializeData(ssidSet.getBytes(StandardCharsets.UTF_8), false /* shared */); in parseSetWithUnknownTag()
DWakeupConfigStoreDataTest.java86 private void deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in WakeupConfigStoreDataTest
90 mWakeupConfigData.deserializeData(in, in.getDepth(), shared); in deserializeData()
108 deserializeData(new byte[0], true /* shared */); in deserializeShareDataThrowsException()
127 deserializeData(bytes, false /* shared */); in deserializeSerializedData_emptySet()
163 deserializeData(bytes, false /* shared */); in deserializeSerializedData()
197 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, false /* shared */); in hasBeenReadIsTrueWhenUserStoreIsLoaded()
206 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, true /* shared */); in hasBeenReadIsFalseWhenSharedStoreIsLoaded()
DDeletedEphemeralSsidsStoreDataTest.java85 private Set<String> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in DeletedEphemeralSsidsStoreDataTest
89 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData()
114 deserializeData(new byte[0], true /* shared */); in deserializeShareData()
136 assertTrue(deserializeData(new byte[0], false /* shared */).isEmpty()); in deserializeEmptyData()
176 assertEquals(ssidList, deserializeData(TEST_SSID_LIST_XML_BYTES, false /* shared */)); in deserializeSsidList()
DWakeupControllerTest.java143 mWakeupConfigStoreData.deserializeData(null, 0, false); in readUserStore()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java360 deserializeData(sharedDataBytes, true); in read()
362 deserializeData(userDataBytes, false); in read()
387 deserializeData(userDataBytes, false); in switchUserStoreAndRead()
405 storeData.deserializeData(null, 0, shareData); in indicateNoDataForStoreDatas()
417 private void deserializeData(byte[] dataBytes, boolean shareData) in deserializeData() method in WifiConfigStore
438 storeData.deserializeData(in, rootTagDepth + 1, shareData); in deserializeData()
598 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method
DDeletedEphemeralSsidsStoreData.java54 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in DeletedEphemeralSsidsStoreData
DSsidSetStoreData.java92 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in SsidSetStoreData
DWakeupConfigStoreData.java148 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in WakeupConfigStoreData
DNetworkListStoreData.java84 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in NetworkListStoreData
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigStoreDataTest.java223 private void deserializeData(byte[] data, boolean share) throws Exception { in deserializeData() method in PasspointConfigStoreDataTest
227 mConfigStoreData.deserializeData(in, in.getDepth(), share); in deserializeData()
251 deserializeData(data, false); in serializeAndDeserializeUserStoreData()
272 deserializeData(data, true); in serializeAndDeserializeShareStoreData()
284 deserializeData(new byte[0], false); in deserializeEmptyUserStoreData()
296 deserializeData(new byte[0], true); in deserializeEmptyShareStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigStoreData.java126 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in PasspointConfigStoreData