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.java154 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() local
167 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
170 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
188 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
197 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
206 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
208 assertSerializeDeserialize(networkSuggestionsMap); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
216 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local
230 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
244 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java151 XmlSerializer out, final Map<String, PerAppInfo> networkSuggestionsMap, in serializeNetworkSuggestionsMap() argument
154 if (networkSuggestionsMap == null) { in serializeNetworkSuggestionsMap()
157 for (Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in serializeNetworkSuggestionsMap()
237 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in parseNetworkSuggestionsMap() local
255 networkSuggestionsMap.put(packageName, perAppInfo); in parseNetworkSuggestionsMap()
261 return networkSuggestionsMap; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java320 public void fromDeserialized(Map<String, PerAppInfo> networkSuggestionsMap) { in fromDeserialized() argument
321 mActiveNetworkSuggestionsPerApp.putAll(networkSuggestionsMap); in fromDeserialized()
323 for (Map.Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in fromDeserialized()