Home
last modified time | relevance | path

Searched refs:networkSuggestionsMap (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java294 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() local
310 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
313 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
334 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
344 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
354 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
356 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
364 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local
380 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
396 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java164 XmlSerializer out, final Map<String, PerAppInfo> networkSuggestionsMap, in serializeNetworkSuggestionsMap() argument
167 if (networkSuggestionsMap == null) { in serializeNetworkSuggestionsMap()
170 for (Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in serializeNetworkSuggestionsMap()
269 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in parseNetworkSuggestionsMap() local
354 networkSuggestionsMap.put(packageName, perAppInfo); in parseNetworkSuggestionsMap()
360 return networkSuggestionsMap; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java519 public void fromDeserialized(Map<String, PerAppInfo> networkSuggestionsMap) { in fromDeserialized() argument
521 mActiveNetworkSuggestionsPerApp.putAll(networkSuggestionsMap); in fromDeserialized()
523 for (Map.Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in fromDeserialized()