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
311 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
314 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
335 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
345 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
355 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
357 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
365 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local
381 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
397 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.java539 public void fromDeserialized(Map<String, PerAppInfo> networkSuggestionsMap) { in fromDeserialized() argument
541 mActiveNetworkSuggestionsPerApp.putAll(networkSuggestionsMap); in fromDeserialized()
543 for (Map.Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in fromDeserialized()