Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java425 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
427 verify(userStoreData, never()).deserializeData(any(), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
455 verify(userStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
457 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
632 verify(storeData1).deserializeData(notNull(), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
633 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
634 verify(storeData2).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
648 verify(storeData1).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
649 verify(storeData2).deserializeData(notNull(), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
650 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
[all …]
DNetworkListStoreDataTest.java229 private List<WifiConfiguration> deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkListStoreDataTest
233 mNetworkListSharedStoreData.deserializeData(in, in.getDepth(), in deserializeData()
308 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
351 networkList, deserializeData(xmlData)); in deserializeSharedConfigurations()
421 deserializeData(xmlData); in parseNetworkWithUnknownTag()
439 deserializeData(xmlData); in parseNetworkWithMismatchConfigKey()
459 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
484 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorUidResetsToSystem()
512 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
539 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
[all …]
DDeletedEphemeralSsidsStoreDataTest.java95 private Map<String, Long> deserializeData(byte[] data) throws Exception { in deserializeData() method in DeletedEphemeralSsidsStoreDataTest
99 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), in deserializeData()
124 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
166 assertEquals(ssidToTimeMap, deserializeData(TEST_SSID_LIST_XML_STRING_MAP.getBytes())); in deserializeSsidToTimeMap()
184 assertEquals(ssidToTimeMap, deserializeData(TEST_SSID_LIST_XML_STRING_SET.getBytes())); in deserializeSsidToTimeMapFromSet()
DRandomizedMacStoreDataTest.java78 private Map<String, String> deserializeData(byte[] data) throws Exception { in deserializeData() method in RandomizedMacStoreDataTest
82 mRandomizedMacStoreData.deserializeData(in, in.getDepth(), in deserializeData()
106 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
132 Map<String, String> deserializedMap = deserializeData(data); in testSerializeDeserialize()
DSsidSetStoreDataTest.java96 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in SsidSetStoreDataTest
100 mSsidSetStoreData.deserializeData(in, in.getDepth(), in deserializeData()
125 deserializeData(new byte[0]); in deserializeEmptyStoreData()
166 deserializeData(TEST_SSID_SET_XML_BYTES); in deserializeSsidSet()
184 deserializeData(ssidSet.getBytes(StandardCharsets.UTF_8)); in parseSetWithUnknownTag()
DWakeupConfigStoreDataTest.java89 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in WakeupConfigStoreDataTest
93 mWakeupConfigData.deserializeData(in, in.getDepth(), in deserializeData()
114 deserializeData(bytes); in deserializeSerializedData_emptySet()
150 deserializeData(bytes); in deserializeSerializedData()
184 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, in hasBeenReadIsTrueWhenUserStoreIsLoaded()
DNetworkRequestStoreDataTest.java92 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkRequestStoreDataTest
96 mNetworkRequestStoreData.deserializeData(in, in.getDepth(), in deserializeData()
195 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
205 deserializeData(serializeData()); in assertSerializeDeserialize()
DNetworkSuggestionStoreDataTest.java131 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkSuggestionStoreDataTest
135 mNetworkSuggestionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
256 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
265 deserializeData(serializeData()); in assertSerializeDeserialize()
DWakeupControllerTest.java154 mWakeupConfigStoreData.deserializeData(null, 0, in readUserStore()
DWifiNetworkFactoryTest.java2423 deserializeData(xmlData); in testStoreConfigSaveAndLoadPreserveOrder()
2930 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in WifiNetworkFactoryTest
2934 mNetworkRequestStoreData.deserializeData(in, in.getDepth(), in deserializeData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreDataTest.java77 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigSharedStoreDataTest
81 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
102 deserializeData(data); in serializeAndDeserializeShareStoreData()
114 deserializeData(new byte[0]); in deserializeEmptyShareStoreData()
DPasspointConfigUserStoreDataTest.java228 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigUserStoreDataTest
232 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
264 deserializeData(data); in serializeAndDeserializeUserStoreData()
277 deserializeData(new byte[0]); in deserializeEmptyUserStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java524 deserializeData(sharedDataBytes, mSharedStore); in read()
528 deserializeData(userDataBytes, userStoreFile); in read()
564 deserializeData(userDataBytes, userStoreFile); in switchUserStoresAndRead()
585 storeData.deserializeData(null, 0, version, encryptionUtil); in indicateNoDataForStoreDatas()
603 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() method in WifiConfigStore
638 storeData.deserializeData(in, rootTagDepth + 1, version, in deserializeData()
850 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, @Version int version, in deserializeData() method
DRandomizedMacStoreData.java55 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in RandomizedMacStoreData
DSsidSetStoreData.java89 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in SsidSetStoreData
DDeletedEphemeralSsidsStoreData.java59 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in DeletedEphemeralSsidsStoreData
DWakeupConfigStoreData.java147 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in WakeupConfigStoreData
DNetworkRequestStoreData.java99 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkRequestStoreData
DNetworkListStoreData.java80 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkListStoreData
DNetworkSuggestionStoreData.java112 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkSuggestionStoreData
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java85 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigSharedStoreData
DPasspointConfigUserStoreData.java115 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigUserStoreData