Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApStoreDataTest.java294 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in SoftApStoreDataTest
298 mSoftApStoreData.deserializeData(in, in.getDepth(), in deserializeData()
311 deserializeData(new byte[0]); in deserializeEmptyStoreData()
374 deserializeData(TEST_CONFIG_STRING_WITH_ALL_CONFIG_LAST_VERSION.getBytes()); in deserializeSoftAp()
376 deserializeData(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_R.getBytes()); in deserializeSoftAp()
419 deserializeData(TEST_CONFIG_STRING_WITH_INT_TYPE_SHUTDOWNTIMOUTMILLIS in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt()
448 deserializeData(TEST_CONFIG_STRING_FROM_WIFICONFIGURATION.getBytes()); in deserializeOldBandSoftAp()
470 deserializeData(TEST_CONFIG_STRING_WITH_NEW_BAND_DESIGN_IN_R.getBytes()); in deserializeNewBandSoftApButNoNewConfig()
503 deserializeData(serializedData); in serializeDeserializeSoftAp()
540 deserializeData(serializedData); in serializeDeserializeSoftApWpa3Sae()
[all …]
DNetworkListStoreDataTest.java421 private List<WifiConfiguration> deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkListStoreDataTest
425 mNetworkListSharedStoreData.deserializeData(in, in.getDepth(), in deserializeData()
516 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
563 networkList, deserializeData(xmlData)); in deserializeSharedConfigurations()
630 List<WifiConfiguration> deserializedConfigs = deserializeData(xmlData); in parseNetworkWithUnknownTag()
652 deserializeData(xmlData); in parseNetworkWithMismatchConfigKey()
673 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
698 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorUidResetsToSystem()
726 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
753 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
[all …]
DNetworkSuggestionStoreDataTest.java272 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkSuggestionStoreDataTest
276 mNetworkSuggestionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
406 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
421 deserializeData(preRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
426 deserializeData(postRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
451 deserializeData(preRFormatXml.getBytes()); in deserializeEmptySuggestion()
456 deserializeData(postRFormatXml.getBytes()); in deserializeEmptySuggestion()
500 mNetworkSuggestionStoreData.deserializeData(null, 0, in testDeserializeNullData()
511 deserializeData(serializeData()); in assertSerializeDeserialize()
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()
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()
DWakeupConfigStoreDataTest.java91 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in WakeupConfigStoreDataTest
95 mWakeupConfigData.deserializeData(in, in.getDepth(), in deserializeData()
116 deserializeData(bytes); in deserializeSerializedData_emptySet()
158 deserializeData(bytes); in deserializeSerializedData()
192 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, in hasBeenReadIsTrueWhenUserStoreIsLoaded()
DWifiCarrierInfoStoreManagerDataTest.java77 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in WifiCarrierInfoStoreManagerDataTest
81 mWifiCarrierInfoStoreManagerData.deserializeData(in, in.getDepth(), in deserializeData()
119 mWifiCarrierInfoStoreManagerData.deserializeData(null, 0, in testDeserializeOnNewDeviceOrNewUser()
135 deserializeData(serializeData()); in assertSerializeDeserialize()
DWifiConfigStoreTest.java473 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
475 verify(userStoreData, never()).deserializeData(any(), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
502 verify(userStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
504 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
669 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
670 verify(storeData2).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
688 verify(storeData1).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
691 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
711 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
714 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
[all …]
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()
DImsiPrivacyProtectionExemptionStoreDataTest.java63 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in ImsiPrivacyProtectionExemptionStoreDataTest
67 mImsiPrivacyProtectionExemptionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
100 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()
/packages/modules/Wifi/service/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.java237 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigUserStoreDataTest
241 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
280 deserializeData(data); in serializeAndDeserializeUserStoreData()
293 deserializeData(new byte[0]); in deserializeEmptyUserStoreData()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java612 deserializeData(sharedDataBytes, sharedStoreFile); in readFromSharedStoreFiles()
641 deserializeData(userDataBytes, userStoreFile); in readFromUserStoreFiles()
716 storeData.deserializeData(null, 0, version, encryptionUtil); in indicateNoDataForStoreDatas()
734 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() method in WifiConfigStore
990 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, @Version int version, in deserializeData() method
1001 deserializeData(in, outerTagDepth, version, encryptionUtil); in deserializeDataForSection()
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
DWifiCarrierInfoStoreManagerData.java114 public void deserializeData(XmlPullParser in, int outerTagDepth, int version, in deserializeData() method in WifiCarrierInfoStoreManagerData
DImsiPrivacyProtectionExemptionStoreData.java80 public void deserializeData(XmlPullParser in, int outerTagDepth, int version, in deserializeData() method in ImsiPrivacyProtectionExemptionStoreData
DNetworkRequestStoreData.java99 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkRequestStoreData
DWakeupConfigStoreData.java177 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in WakeupConfigStoreData
DNetworkListStoreData.java82 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in NetworkListStoreData
DSoftApStoreData.java174 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in SoftApStoreData
DWifiSettingsConfigStore.java350 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in WifiSettingsConfigStore.StoreData
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java87 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigSharedStoreData
DPasspointConfigUserStoreData.java122 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in PasspointConfigUserStoreData

12