Home
last modified time | relevance | path

Searched refs:serializeData (Results 1 – 21 of 21) 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()
DDeletedEphemeralSsidsStoreDataTest.java78 private byte[] serializeData() throws Exception { in serializeData() method in DeletedEphemeralSsidsStoreDataTest
82 mDeletedEphemeralSsidsStoreData.serializeData( in serializeData()
113 assertEquals(0, serializeData().length); in serializeEmptyConfigs()
151 byte[] actualData = serializeData(); in serializeSsidToTimeMap()
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()
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()
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()
DNetworkSuggestionStoreDataTest.java119 private byte[] serializeData() throws Exception { in serializeData() method in NetworkSuggestionStoreDataTest
123 mNetworkSuggestionStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
265 deserializeData(serializeData()); in assertSerializeDeserialize()
DNetworkListStoreDataTest.java213 private byte[] serializeData() throws Exception { in serializeData() method in NetworkListStoreDataTest
217 mNetworkListSharedStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
297 assertEquals(0, serializeData().length); in serializeEmptyConfigs()
338 assertTrue(Arrays.equals(expectedData, serializeData())); in serializeSharedConfigurations()
DWifiConfigStoreTest.java732 verify(sharedStoreData).serializeData(any(), any()); in testWriteWithNoNewData()
733 verify(userStoreData).serializeData(any(), any()); in testWriteWithNoNewData()
734 verify(userStoreNetworkSuggestionsData, never()).serializeData(any(), any()); in testWriteWithNoNewData()
927 public void serializeData(XmlSerializer out, WifiConfigStoreEncryptionUtil encryptionUtil) in serializeData() method in WifiConfigStoreTest.MockStoreData
DWifiNetworkFactoryTest.java2420 byte[] xmlData = serializeData(); in testStoreConfigSaveAndLoadPreserveOrder()
2915 private byte[] serializeData() throws Exception { in serializeData() method in WifiNetworkFactoryTest
2919 mNetworkRequestStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreDataTest.java62 private byte[] serializeData() throws Exception { in serializeData() method in PasspointConfigSharedStoreDataTest
66 mConfigStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
99 byte[] data = serializeData(); in serializeAndDeserializeShareStoreData()
DPasspointConfigUserStoreDataTest.java213 private byte[] serializeData() throws Exception { in serializeData() method in PasspointConfigUserStoreDataTest
217 mConfigStoreData.serializeData(out, mock(WifiConfigStoreEncryptionUtil.class)); in serializeData()
260 byte[] data = serializeData(); in serializeAndDeserializeUserStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java400 byte[] sharedDataBytes = serializeData(mSharedStore); in write()
407 byte[] userDataBytes = serializeData(userStoreFile); in write()
441 private byte[] serializeData(@NonNull StoreFile storeFile) in serializeData() method in WifiConfigStore
456 storeData.serializeData(out, storeFile.getEncryptionUtil()); in serializeData()
834 void serializeData(XmlSerializer out, in serializeData() method
DRandomizedMacStoreData.java46 public void serializeData(XmlSerializer out, in serializeData() method in RandomizedMacStoreData
DSsidSetStoreData.java79 public void serializeData(XmlSerializer out, in serializeData() method in SsidSetStoreData
DDeletedEphemeralSsidsStoreData.java50 public void serializeData(XmlSerializer out, in serializeData() method in DeletedEphemeralSsidsStoreData
DWakeupConfigStoreData.java99 public void serializeData(XmlSerializer out, in serializeData() method in WakeupConfigStoreData
DNetworkRequestStoreData.java92 public void serializeData(XmlSerializer out, in serializeData() method in NetworkRequestStoreData
DNetworkListStoreData.java73 public void serializeData(XmlSerializer out, in serializeData() method in NetworkListStoreData
DNetworkSuggestionStoreData.java105 public void serializeData(XmlSerializer out, in serializeData() method in NetworkSuggestionStoreData
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java78 public void serializeData(XmlSerializer out, in serializeData() method in PasspointConfigSharedStoreData
DPasspointConfigUserStoreData.java108 public void serializeData(XmlSerializer out, in serializeData() method in PasspointConfigUserStoreData