/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 333 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible() 335 verify(storeData, never()).deserializeData(eq(null), anyInt(), eq(false)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible() 357 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoStoreFiles() 359 verify(storeData, times(2)).deserializeData(eq(null), anyInt(), eq(false)); in testReadWithNoStoreFiles() 531 verify(storeData1).deserializeData(notNull(), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 532 verify(storeData1, never()).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 533 verify(storeData1).deserializeData(eq(null), anyInt(), eq(false)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 534 verify(storeData2).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 535 verify(storeData2).deserializeData(eq(null), anyInt(), eq(false)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 543 verify(storeData1).deserializeData(eq(null), anyInt(), eq(true)); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() [all …]
|
D | NetworkListStoreDataTest.java | 221 private List<WifiConfiguration> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in NetworkListStoreDataTest 225 mNetworkListStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData() 302 assertTrue(deserializeData(new byte[0], true /* shared */).isEmpty()); in deserializeEmptyData() 303 assertTrue(deserializeData(new byte[0], false /* shared */).isEmpty()); in deserializeEmptyData() 340 networkList, deserializeData(xmlData, true /* shared */)); in deserializeSharedConfigurations() 367 networkList, deserializeData(xmlData, false /* shared */)); in deserializeUserConfigurations() 434 deserializeData(xmlData, true); in parseNetworkWithUnknownTag() 452 deserializeData(xmlData, true); in parseNetworkWithMismatchConfigKey() 472 deserializeData(xmlString.getBytes(StandardCharsets.UTF_8), true /* shared */); in parseNetworkListWithOneNetworkIllegalArgException() 497 List<WifiConfiguration> deserializedNetworks = deserializeData(xmlData, true); in parseNetworkWithInvalidCreatorUidResetsToSystem() [all …]
|
D | SsidSetStoreDataTest.java | 94 private void deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in SsidSetStoreDataTest 98 mSsidSetStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData() 120 deserializeData(new byte[0], true /* shared */); in deserializeShareData() 143 deserializeData(new byte[0], false /* shared */); in deserializeEmptyStoreData() 182 deserializeData(TEST_SSID_SET_XML_BYTES, false /* shared */); in deserializeSsidSet() 200 deserializeData(ssidSet.getBytes(StandardCharsets.UTF_8), false /* shared */); in parseSetWithUnknownTag()
|
D | WakeupConfigStoreDataTest.java | 86 private void deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in WakeupConfigStoreDataTest 90 mWakeupConfigData.deserializeData(in, in.getDepth(), shared); in deserializeData() 108 deserializeData(new byte[0], true /* shared */); in deserializeShareDataThrowsException() 127 deserializeData(bytes, false /* shared */); in deserializeSerializedData_emptySet() 163 deserializeData(bytes, false /* shared */); in deserializeSerializedData() 197 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, false /* shared */); in hasBeenReadIsTrueWhenUserStoreIsLoaded() 206 mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */, true /* shared */); in hasBeenReadIsFalseWhenSharedStoreIsLoaded()
|
D | DeletedEphemeralSsidsStoreDataTest.java | 85 private Set<String> deserializeData(byte[] data, boolean shared) throws Exception { in deserializeData() method in DeletedEphemeralSsidsStoreDataTest 89 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), shared); in deserializeData() 114 deserializeData(new byte[0], true /* shared */); in deserializeShareData() 136 assertTrue(deserializeData(new byte[0], false /* shared */).isEmpty()); in deserializeEmptyData() 176 assertEquals(ssidList, deserializeData(TEST_SSID_LIST_XML_BYTES, false /* shared */)); in deserializeSsidList()
|
D | WakeupControllerTest.java | 143 mWakeupConfigStoreData.deserializeData(null, 0, false); in readUserStore()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStore.java | 360 deserializeData(sharedDataBytes, true); in read() 362 deserializeData(userDataBytes, false); in read() 387 deserializeData(userDataBytes, false); in switchUserStoreAndRead() 405 storeData.deserializeData(null, 0, shareData); in indicateNoDataForStoreDatas() 417 private void deserializeData(byte[] dataBytes, boolean shareData) in deserializeData() method in WifiConfigStore 438 storeData.deserializeData(in, rootTagDepth + 1, shareData); in deserializeData() 598 void deserializeData(@Nullable XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method
|
D | DeletedEphemeralSsidsStoreData.java | 54 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in DeletedEphemeralSsidsStoreData
|
D | SsidSetStoreData.java | 92 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in SsidSetStoreData
|
D | WakeupConfigStoreData.java | 148 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in WakeupConfigStoreData
|
D | NetworkListStoreData.java | 84 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in NetworkListStoreData
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointConfigStoreDataTest.java | 223 private void deserializeData(byte[] data, boolean share) throws Exception { in deserializeData() method in PasspointConfigStoreDataTest 227 mConfigStoreData.deserializeData(in, in.getDepth(), share); in deserializeData() 251 deserializeData(data, false); in serializeAndDeserializeUserStoreData() 272 deserializeData(data, true); in serializeAndDeserializeShareStoreData() 284 deserializeData(new byte[0], false); in deserializeEmptyUserStoreData() 296 deserializeData(new byte[0], true); in deserializeEmptyShareStoreData()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointConfigStoreData.java | 126 public void deserializeData(XmlPullParser in, int outerTagDepth, boolean shared) in deserializeData() method in PasspointConfigStoreData
|