Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java443 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
445 verify(userStoreData, never()).deserializeData(any(), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
472 verify(userStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
474 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
631 verify(storeData1).deserializeData(notNull(), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
632 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
633 verify(storeData2).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
647 verify(storeData1).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
648 verify(storeData2).deserializeData(notNull(), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
649 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
[all …]
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()
DNetworkListStoreDataTest.java351 private List<WifiConfiguration> deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkListStoreDataTest
355 mNetworkListSharedStoreData.deserializeData(in, in.getDepth(), in deserializeData()
446 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
492 networkList, deserializeData(xmlData)); in deserializeSharedConfigurations()
557 List<WifiConfiguration> deserializedConfigs = deserializeData(xmlData); in parseNetworkWithUnknownTag()
580 deserializeData(xmlData); in parseNetworkWithMismatchConfigKey()
601 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
626 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorUidResetsToSystem()
654 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
681 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
[all …]
DSoftApStoreDataTest.java232 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in SoftApStoreDataTest
236 mSoftApStoreData.deserializeData(in, in.getDepth(), in deserializeData()
249 deserializeData(new byte[0]); in deserializeEmptyStoreData()
297 deserializeData(TEST_SOFTAP_CONFIG_XML_STRING_WITH_ALL_CONFIG.getBytes()); in deserializeSoftAp()
325 deserializeData(TEST_SOFTAP_CONFIG_XML_STRING_WITH_INT_TYPE_SHUTDOWNTIMOUTMILLIS in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt()
354 deserializeData(TEST_SOFTAP_CONFIG_XML_STRING.getBytes()); in deserializeOldBandSoftAp()
376 deserializeData(TEST_SOFTAP_CONFIG_XML_STRING_WITH_NEW_BAND_DESIGN.getBytes()); in deserializeNewBandSoftApButNoNewConfig()
409 deserializeData(serializedData); in serializeDeserializeSoftAp()
446 deserializeData(serializedData); in serializeDeserializeSoftApWpa3Sae()
483 deserializeData(serializedData); in serializeDeserializeSoftApWpa3SaeTransition()
[all …]
DNetworkSuggestionStoreDataTest.java264 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkSuggestionStoreDataTest
268 mNetworkSuggestionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
379 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
394 deserializeData(preRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
399 deserializeData(postRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
424 deserializeData(preRFormatXml.getBytes()); in deserializeEmptySuggestion()
429 deserializeData(postRFormatXml.getBytes()); in deserializeEmptySuggestion()
471 mNetworkSuggestionStoreData.deserializeData(null, 0, in testDeserializeNullData()
482 deserializeData(serializeData()); in assertSerializeDeserialize()
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()
DImsiPrivacyProtectionExemptionStoreDataTest.java69 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in ImsiPrivacyProtectionExemptionStoreDataTest
73 mImsiPrivacyProtectionExemptionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
111 deserializeData(serializeData()); in assertSerializeDeserialize()
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()
DWifiSettingsConfigStoreTest.java129 storeDataCaptor.getValue().deserializeData(in, in.getDepth(), -1, null); in testSaveAndLoadFromStore()
150 storeDataCaptor.getValue().deserializeData(null, -1, -1, null); in testLoadFromMigration()
DWakeupControllerTest.java160 mWakeupConfigStoreData.deserializeData(null, 0, in readUserStore()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreDataTest.java78 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigSharedStoreDataTest
82 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
103 deserializeData(data); in serializeAndDeserializeShareStoreData()
115 deserializeData(new byte[0]); in deserializeEmptyShareStoreData()
DPasspointConfigUserStoreDataTest.java235 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigUserStoreDataTest
239 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
278 deserializeData(data); in serializeAndDeserializeUserStoreData()
291 deserializeData(new byte[0]); in deserializeEmptyUserStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java611 deserializeData(sharedDataBytes, sharedStoreFile); in readFromSharedStoreFiles()
640 deserializeData(userDataBytes, userStoreFile); in readFromUserStoreFiles()
715 storeData.deserializeData(null, 0, version, encryptionUtil); in indicateNoDataForStoreDatas()
733 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() method in WifiConfigStore
769 storeData.deserializeData(in, rootTagDepth + 1, version, in deserializeData()
988 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, @Version int version, in deserializeData() method
DRandomizedMacStoreData.java57 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in RandomizedMacStoreData
DSsidSetStoreData.java91 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in SsidSetStoreData
DImsiPrivacyProtectionExemptionStoreData.java90 public void deserializeData(XmlPullParser in, int outerTagDepth, int version, in deserializeData() method in ImsiPrivacyProtectionExemptionStoreData
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
DSoftApStoreData.java147 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in SoftApStoreData
DWifiSettingsConfigStore.java332 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in WifiSettingsConfigStore.StoreData
DNetworkListStoreData.java82 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkListStoreData
DNetworkSuggestionStoreData.java122 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkSuggestionStoreData
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java87 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigSharedStoreData
DPasspointConfigUserStoreData.java117 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigUserStoreData

12