Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApStoreDataTest.java347 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in SoftApStoreDataTest
351 mSoftApStoreData.deserializeData(in, in.getDepth(), in deserializeData()
364 deserializeData(new byte[0]); in deserializeEmptyStoreData()
489 deserializeData(TEST_CONFIG_STRING_WITH_ALL_CONFIG_LAST_VERSION.getBytes()); in deserializeSoftAp()
491 deserializeData(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_S.getBytes()); in deserializeSoftAp()
493 deserializeData(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_R.getBytes()); in deserializeSoftAp()
539 deserializeData(TEST_CONFIG_STRING_WITH_INT_TYPE_SHUTDOWNTIMOUTMILLIS in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt()
568 deserializeData(TEST_CONFIG_STRING_WITH_OLD_SSID_DESIGN.getBytes()); in deserializeOldSsidSoftAp()
590 deserializeData(TEST_CONFIG_STRING_FROM_WIFICONFIGURATION.getBytes()); in deserializeOldBandSoftAp()
612 deserializeData(TEST_CONFIG_STRING_WITH_NEW_BAND_DESIGN_IN_R.getBytes()); in deserializeNewBandSoftApButNoNewConfig()
[all …]
DNetworkListStoreDataTest.java624 private List<WifiConfiguration> deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkListStoreDataTest
628 mNetworkListSharedStoreData.deserializeData(in, in.getDepth(), in deserializeData()
720 assertTrue(deserializeData(new byte[0]).isEmpty()); in deserializeEmptyData()
767 networkList, deserializeData(xmlData)); in deserializeSharedConfigurations()
835 List<WifiConfiguration> deserializedConfigs = deserializeData(xmlData); in parseNetworkWithUnknownTag()
858 deserializeData(xmlData); in parseNetworkWithMismatchConfigKey()
879 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8)); in parseNetworkListWithOneNetworkIllegalArgException()
904 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorUidResetsToSystem()
932 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
959 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()
407 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
422 deserializeData(preRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
427 deserializeData(postRFormatXml.getBytes()); in deserializeFromPreRAndPostRFormat()
452 deserializeData(preRFormatXml.getBytes()); in deserializeEmptySuggestion()
457 deserializeData(postRFormatXml.getBytes()); in deserializeEmptySuggestion()
501 mNetworkSuggestionStoreData.deserializeData(null, 0, in testDeserializeNullData()
512 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()
DImsiPrivacyProtectionExemptionStoreDataTest.java64 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in ImsiPrivacyProtectionExemptionStoreDataTest
68 mImsiPrivacyProtectionExemptionStoreData.deserializeData(in, in.getDepth(), in deserializeData()
99 mImsiPrivacyProtectionExemptionStoreData.deserializeData(null, 0, in testDeserializeNullData()
109 deserializeData(serializeData()); in assertSerializeDeserialize()
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.java79 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in WifiCarrierInfoStoreManagerDataTest
83 mWifiCarrierInfoStoreManagerData.deserializeData(in, in.getDepth(), in deserializeData()
121 mWifiCarrierInfoStoreManagerData.deserializeData(null, 0, in testDeserializeOnNewDeviceOrNewUser()
138 deserializeData(serializeData()); in assertSerializeDeserialize()
DNetworkRequestStoreDataTest.java91 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in NetworkRequestStoreDataTest
95 mNetworkRequestStoreData.deserializeData(in, in.getDepth(), in deserializeData()
191 deserializeData(TEST_CORRUPT_DATA_INVALID_SSID.getBytes()); in deserializeCorruptData()
201 deserializeData(serializeData()); in assertSerializeDeserialize()
DWifiConfigStoreTest.java394 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
396 verify(userStoreData, never()).deserializeData(any(), anyInt(), anyInt(), any()); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
423 verify(userStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
425 verify(sharedStoreData).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWithNoStoreFiles()
590 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
591 verify(storeData2).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
609 verify(storeData1).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
612 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
632 verify(storeData1, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
635 verify(storeData2, never()).deserializeData(eq(null), anyInt(), anyInt(), any()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
[all …]
DWifiRoamingConfigStoreTest.java124 storeDataCaptor.getValue().deserializeData(in, in.getDepth(), -1, null); in testSaveAndLoadFromStore()
133 storeDataCaptor.getValue().deserializeData(in, in.getDepth(), -1, null); in testSaveAndLoadFromStore()
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.java238 private void deserializeData(byte[] data) throws Exception { in deserializeData() method in PasspointConfigUserStoreDataTest
242 mConfigStoreData.deserializeData(in, in.getDepth(), in deserializeData()
282 deserializeData(data); in serializeAndDeserializeUserStoreData()
298 deserializeData(new byte[0]); in deserializeEmptyUserStoreData()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigStore.java642 deserializeData(sharedDataBytes, sharedStoreFile); in readFromSharedStoreFiles()
652 deserializeData(userDataBytes, userStoreFile); in readFromUserStoreFiles()
720 storeData.deserializeData(null); in indicateNoDataForStoreDatas()
731 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) { in deserializeData() method in UwbConfigStore
747 storeData.deserializeData(uwbConfig); in deserializeData()
896 void deserializeData(UwbConfigProto.UwbConfig uwbConfig); in deserializeData() method
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java537 deserializeData(sharedDataBytes, sharedStoreFile); in readFromSharedStoreFiles()
566 deserializeData(userDataBytes, userStoreFile); in readFromUserStoreFiles()
639 storeData.deserializeData(null, 0, version, encryptionUtil); in indicateNoDataForStoreDatas()
657 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() method in WifiConfigStore
915 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, @Version int version, in deserializeData() method
926 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
DSoftApStoreData.java97 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in SoftApStoreData
DImsiPrivacyProtectionExemptionStoreData.java81 public void deserializeData(XmlPullParser in, int outerTagDepth, int version, in deserializeData() method in ImsiPrivacyProtectionExemptionStoreData
DWifiCarrierInfoStoreManagerData.java121 public void deserializeData(XmlPullParser in, int outerTagDepth, int version, in deserializeData() method in WifiCarrierInfoStoreManagerData
DWifiRoamingConfigStore.java176 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() method in WifiRoamingConfigStore.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
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DServiceProfileDataTest.java85 mServiceProfileData.deserializeData(uwbConfig); in testDeserializeData()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DServiceProfileData.java194 public void deserializeData(@Nullable UwbConfigProto.UwbConfig uwbConfig) { in deserializeData() method in ServiceProfileData

12