Home
last modified time | relevance | path

Searched refs:PerAppInfo (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java38 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo;
294 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
296 PerAppInfo appInfo = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_NAME_1, TEST_FEATURE_ID); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
313 Map<String, PerAppInfo> deserializedPerAppInfoMap = in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
335 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
337 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_NAME_1, TEST_FEATURE_ID); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
347 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_NAME_2, TEST_FEATURE_ID); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
365 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
367 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_NAME_1, TEST_FEATURE_ID); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
383 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_NAME_2, TEST_FEATURE_ID); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
DWifiNetworkSuggestionsManagerTest.java102 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo;
2001 Map<String, PerAppInfo> networkSuggestionsMapToWrite = mDataSource.toSerialize(); in testAddNetworkSuggestionsConfigStoreWrite()
2046 Map<String, PerAppInfo> networkSuggestionsMapToWrite = mDataSource.toSerialize(); in testAddNetworkSuggestionsConfigStoreWriteFailedByOOM()
2080 Map<String, PerAppInfo> networkSuggestionsMapToWrite = mDataSource.toSerialize(); in testRemoveNetworkSuggestionsConfigStoreWrite()
2099 PerAppInfo appInfo = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_1, TEST_FEATURE); in testCarrierConfigSsidListToDisableMacRandomizationDisabled()
2137 PerAppInfo appInfo = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_1, TEST_FEATURE); in testNetworkSuggestionsConfigStoreLoad()
2151 mDataSource.fromDeserialized(new HashMap<String, PerAppInfo>() {{ in testNetworkSuggestionsConfigStoreLoad()
2201 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_1, TEST_FEATURE); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2209 mDataSource.fromDeserialized(new HashMap<String, PerAppInfo>() {{ in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2216 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_2, TEST_FEATURE); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
[all …]
DNetworkSuggestionNominatorTest.java54 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo;
1964 PerAppInfo perAppInfo = new PerAppInfo(uids[i], packageNames[i], null); in buildNetworkSuggestions()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java32 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo;
91 Map<String, PerAppInfo> toSerialize(); in toSerialize()
98 void fromDeserialized(Map<String, PerAppInfo> networkSuggestions); in fromDeserialized()
164 XmlSerializer out, final Map<String, PerAppInfo> networkSuggestionsMap, in serializeNetworkSuggestionsMap()
170 for (Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in serializeNetworkSuggestionsMap()
265 private Map<String, PerAppInfo> parseNetworkSuggestionsMap(XmlPullParser in, int outerTagDepth, in parseNetworkSuggestionsMap()
269 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in parseNetworkSuggestionsMap()
275 PerAppInfo perAppInfo = null; in parseNetworkSuggestionsMap()
324 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
349 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
[all …]
DWifiNetworkSuggestionsManager.java211 public static class PerAppInfo { class in WifiNetworkSuggestionsManager
241 public PerAppInfo(int uid, @NonNull String packageName, @Nullable String featureId) { in PerAppInfo() method in WifiNetworkSuggestionsManager.PerAppInfo
278 if (!(other instanceof PerAppInfo)) return false; in equals()
279 PerAppInfo otherPerAppInfo = (PerAppInfo) other; in equals()
312 public final PerAppInfo perAppInfo;
319 @NonNull PerAppInfo perAppInfo, in ExtendedWifiNetworkSuggestion()
369 @NonNull PerAppInfo perAppInfo, boolean isAutoJoinEnabled) { in fromWns()
406 private final Map<String, PerAppInfo> mActiveNetworkSuggestionsPerApp = new HashMap<>();
520 public Map<String, PerAppInfo> toSerialize() { in toSerialize()
521 for (Map.Entry<String, PerAppInfo> entry : mActiveNetworkSuggestionsPerApp.entrySet()) { in toSerialize()
[all …]