Home
last modified time | relevance | path

Searched refs:serializeData (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DRandomizedMacStoreDataTest.java62 private byte[] serializeData() throws Exception { in serializeData() method in RandomizedMacStoreDataTest
66 mRandomizedMacStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
95 assertEquals(0, serializeData().length); in serializeEmptyMap()
131 byte[] data = serializeData(); in testSerializeDeserialize()
DSsidSetStoreDataTest.java81 private byte[] serializeData() throws Exception { in serializeData() method in SsidSetStoreDataTest
85 mSsidSetStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
114 assertEquals(0, serializeData().length); in serializeEmptyConfigs()
152 byte[] actualData = serializeData(); in serializeSsidSet()
DImsiPrivacyProtectionExemptionStoreDataTest.java57 private byte[] serializeData() throws Exception { in serializeData() method in ImsiPrivacyProtectionExemptionStoreDataTest
61 mImsiPrivacyProtectionExemptionStoreData.serializeData(out, null); in serializeData()
111 deserializeData(serializeData()); in assertSerializeDeserialize()
DWakeupConfigStoreDataTest.java75 private byte[] serializeData() throws Exception { in serializeData() method in WakeupConfigStoreDataTest
79 mWakeupConfigData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
113 byte[] bytes = serializeData(); in deserializeSerializedData_emptySet()
149 byte[] bytes = serializeData(); in deserializeSerializedData()
DNetworkListStoreDataTest.java335 private byte[] serializeData() throws Exception { in serializeData() method in NetworkListStoreDataTest
339 mNetworkListSharedStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
435 assertEquals(0, serializeData().length); in serializeEmptyConfigs()
477 byte[] serializedData = serializeData(); in serializeSharedConfigurations()
478 assertArrayEquals(expectedData, serializeData()); in serializeSharedConfigurations()
770 byte[] output1 = serializeData(); in testWifiConfigSaveToStoreOrder()
774 byte[] output2 = serializeData(); in testWifiConfigSaveToStoreOrder()
DNetworkRequestStoreDataTest.java80 private byte[] serializeData() throws Exception { in serializeData() method in NetworkRequestStoreDataTest
84 mNetworkRequestStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
205 deserializeData(serializeData()); in assertSerializeDeserialize()
DSoftApStoreDataTest.java217 private byte[] serializeData() throws Exception { in serializeData() method in SoftApStoreDataTest
221 mSoftApStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
286 byte[] actualData = serializeData(); in serializeSoftAp()
406 byte[] serializedData = serializeData(); in serializeDeserializeSoftAp()
443 byte[] serializedData = serializeData(); in serializeDeserializeSoftApWpa3Sae()
480 byte[] serializedData = serializeData(); in serializeDeserializeSoftApWpa3SaeTransition()
DNetworkSuggestionStoreDataTest.java252 private byte[] serializeData() throws Exception { in serializeData() method in NetworkSuggestionStoreDataTest
256 mNetworkSuggestionStoreData.serializeData(out, null); in serializeData()
482 deserializeData(serializeData()); in assertSerializeDeserialize()
DWifiConfigStoreTest.java731 verify(sharedStoreData).serializeData(any(), any()); in testWriteWithNoNewData()
732 verify(userStoreData).serializeData(any(), any()); in testWriteWithNoNewData()
733 verify(userStoreNetworkSuggestionsData, never()).serializeData(any(), any()); in testWriteWithNoNewData()
1040 public void serializeData(XmlSerializer out, WifiConfigStoreEncryptionUtil encryptionUtil) in serializeData() method in WifiConfigStoreTest.MockStoreData
DWifiNetworkFactoryTest.java2415 byte[] xmlData = serializeData(); in testStoreConfigSaveAndLoadPreserveOrder()
2937 private byte[] serializeData() throws Exception { in serializeData() method in WifiNetworkFactoryTest
2941 mNetworkRequestStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreDataTest.java63 private byte[] serializeData() throws Exception { in serializeData() method in PasspointConfigSharedStoreDataTest
67 mConfigStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
100 byte[] data = serializeData(); in serializeAndDeserializeShareStoreData()
DPasspointConfigUserStoreDataTest.java220 private byte[] serializeData() throws Exception { in serializeData() method in PasspointConfigUserStoreDataTest
224 mConfigStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
274 byte[] data = serializeData(); in serializeAndDeserializeUserStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java410 byte[] sharedDataBytes = serializeData(sharedStoreFile); in write()
418 byte[] userDataBytes = serializeData(userStoreFile); in write()
452 private byte[] serializeData(@NonNull StoreFile storeFile) in serializeData() method in WifiConfigStore
467 storeData.serializeData(out, storeFile.getEncryptionUtil()); in serializeData()
972 void serializeData(XmlSerializer out, in serializeData() method
DRandomizedMacStoreData.java48 public void serializeData(XmlSerializer out, in serializeData() method in RandomizedMacStoreData
DSsidSetStoreData.java81 public void serializeData(XmlSerializer out, in serializeData() method in SsidSetStoreData
DImsiPrivacyProtectionExemptionStoreData.java83 public void serializeData(XmlSerializer out, WifiConfigStoreEncryptionUtil encryptionUtil) in serializeData() method in ImsiPrivacyProtectionExemptionStoreData
DWakeupConfigStoreData.java99 public void serializeData(XmlSerializer out, in serializeData() method in WakeupConfigStoreData
DNetworkRequestStoreData.java92 public void serializeData(XmlSerializer out, in serializeData() method in NetworkRequestStoreData
DSoftApStoreData.java108 public void serializeData(XmlSerializer out, in serializeData() method in SoftApStoreData
DWifiSettingsConfigStore.java323 public void serializeData(XmlSerializer out, in serializeData() method in WifiSettingsConfigStore.StoreData
DNetworkListStoreData.java75 public void serializeData(XmlSerializer out, in serializeData() method in NetworkListStoreData
DNetworkSuggestionStoreData.java115 public void serializeData(XmlSerializer out, in serializeData() method in NetworkSuggestionStoreData
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java80 public void serializeData(XmlSerializer out, in serializeData() method in PasspointConfigSharedStoreData
DPasspointConfigUserStoreData.java110 public void serializeData(XmlSerializer out, in serializeData() method in PasspointConfigUserStoreData