Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDeletedEphemeralSsidsStoreDataTest.java68 private byte[] serializeData(boolean shared) throws Exception { in serializeData() method in DeletedEphemeralSsidsStoreDataTest
72 mDeletedEphemeralSsidsStoreData.serializeData(out, shared); in serializeData()
102 serializeData(true /* shared */); in serializeShareData()
125 assertEquals(0, serializeData(false /* shared */).length); in serializeEmptyConfigs()
161 byte[] actualData = serializeData(false /* shared */); in serializeSsidList()
DSsidSetStoreDataTest.java78 private byte[] serializeData(boolean shared) throws Exception { in serializeData() method in SsidSetStoreDataTest
82 mSsidSetStoreData.serializeData(out, shared); in serializeData()
109 serializeData(true /* shared */); in serializeShareData()
132 assertEquals(0, serializeData(false /* shared */).length); in serializeEmptyConfigs()
168 byte[] actualData = serializeData(false /* shared */); in serializeSsidSet()
DWakeupConfigStoreDataTest.java71 private byte[] serializeData(boolean shared) throws Exception { in serializeData() method in WakeupConfigStoreDataTest
75 mWakeupConfigData.serializeData(out, shared); in serializeData()
99 serializeData(true /* shared */); in serializeShareDataThrowsException()
126 byte[] bytes = serializeData(false /* shared */); in deserializeSerializedData_emptySet()
162 byte[] bytes = serializeData(false /* shared */); in deserializeSerializedData()
DNetworkListStoreDataTest.java204 private byte[] serializeData(boolean shared) throws Exception { in serializeData() method in NetworkListStoreDataTest
208 mNetworkListStoreData.serializeData(out, shared); in serializeData()
290 assertEquals(0, serializeData(true /* shared */).length); in serializeEmptyConfigs()
291 assertEquals(0, serializeData(false /* shared */).length); in serializeEmptyConfigs()
327 assertTrue(Arrays.equals(expectedData, serializeData(true /* shared */))); in serializeSharedConfigurations()
354 assertTrue(Arrays.equals(expectedData, serializeData(false /* shared */))); in serializeUserConfigurations()
DWifiConfigStoreTest.java671 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in WifiConfigStoreTest.MockStoreData
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java252 byte[] sharedDataBytes = serializeData(true); in write()
255 byte[] userDataBytes = serializeData(false); in write()
276 private byte[] serializeData(boolean shareData) throws XmlPullParserException, IOException { in serializeData() method in WifiConfigStore
293 storeData.serializeData(out, shareData); in serializeData()
580 void serializeData(XmlSerializer out, boolean shared) in serializeData() method
DDeletedEphemeralSsidsStoreData.java43 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in DeletedEphemeralSsidsStoreData
DSsidSetStoreData.java80 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in SsidSetStoreData
DWakeupConfigStoreData.java97 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in WakeupConfigStoreData
DNetworkListStoreData.java74 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in NetworkListStoreData
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigStoreDataTest.java207 private byte[] serializeData(boolean share) throws Exception { in serializeData() method in PasspointConfigStoreDataTest
211 mConfigStoreData.serializeData(out, share); in serializeData()
247 byte[] data = serializeData(false); in serializeAndDeserializeUserStoreData()
269 byte[] data = serializeData(true); in serializeAndDeserializeShareStoreData()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigStoreData.java116 public void serializeData(XmlSerializer out, boolean shared) in serializeData() method in PasspointConfigStoreData