Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java286 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() local
298 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
301 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
319 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
327 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
335 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
337 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
345 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local
357 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
369 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java161 XmlSerializer out, final Map<String, PerAppInfo> networkSuggestionsMap, in serializeNetworkSuggestionsMap() argument
164 if (networkSuggestionsMap == null) { in serializeNetworkSuggestionsMap()
167 for (Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in serializeNetworkSuggestionsMap()
263 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in parseNetworkSuggestionsMap() local
353 networkSuggestionsMap.put(packageName, perAppInfo); in parseNetworkSuggestionsMap()
359 return networkSuggestionsMap; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java455 public void fromDeserialized(Map<String, PerAppInfo> networkSuggestionsMap) { in fromDeserialized() argument
457 mActiveNetworkSuggestionsPerApp.putAll(networkSuggestionsMap); in fromDeserialized()
459 for (Map.Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in fromDeserialized()