Searched refs:PerAppInfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionStoreDataTest.java | 30 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo; 154 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 156 PerAppInfo appInfo = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 169 Map<String, PerAppInfo> deserializedPerAppInfoMap = in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 188 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 190 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 199 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 216 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 218 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 232 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 60 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo; 1226 Map<String, PerAppInfo> networkSuggestionsMapToWrite = mDataSource.toSerialize(); in testAddNetworkSuggestionsConfigStoreWrite() 1272 Map<String, PerAppInfo> networkSuggestionsMapToWrite = mDataSource.toSerialize(); in testRemoveNetworkSuggestionsConfigStoreWrite() 1288 PerAppInfo appInfo = new PerAppInfo(TEST_PACKAGE_1); in testNetworkSuggestionsConfigStoreLoad() 1295 mDataSource.fromDeserialized(new HashMap<String, PerAppInfo>() {{ in testNetworkSuggestionsConfigStoreLoad() 1324 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_1); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 1331 mDataSource.fromDeserialized(new HashMap<String, PerAppInfo>() {{ in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 1338 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_2); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 1345 mDataSource.fromDeserialized(new HashMap<String, PerAppInfo>() {{ in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 1683 PerAppInfo appInfo = new PerAppInfo(TEST_PACKAGE_1); in testAppOpsChangeAfterConfigStoreLoad() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 121 public static class PerAppInfo { class in WifiNetworkSuggestionsManager 138 public PerAppInfo(@NonNull String packageName) { in PerAppInfo() method in WifiNetworkSuggestionsManager.PerAppInfo 146 if (!(other instanceof PerAppInfo)) return false; in equals() 147 PerAppInfo otherPerAppInfo = (PerAppInfo) other; in equals() 168 public final PerAppInfo perAppInfo; 171 @NonNull PerAppInfo perAppInfo) { in ExtendedWifiNetworkSuggestion() 207 @NonNull WifiNetworkSuggestion wns, @NonNull PerAppInfo perAppInfo) { in fromWns() 215 private final Map<String, PerAppInfo> mActiveNetworkSuggestionsPerApp = new HashMap<>(); 311 public Map<String, PerAppInfo> toSerialize() { in toSerialize() 320 public void fromDeserialized(Map<String, PerAppInfo> networkSuggestionsMap) { in fromDeserialized() [all …]
|
D | NetworkSuggestionStoreData.java | 31 import com.android.server.wifi.WifiNetworkSuggestionsManager.PerAppInfo; 78 Map<String, PerAppInfo> toSerialize(); in toSerialize() 85 void fromDeserialized(Map<String, PerAppInfo> networkSuggestions); in fromDeserialized() 151 XmlSerializer out, final Map<String, PerAppInfo> networkSuggestionsMap, in serializeNetworkSuggestionsMap() 157 for (Entry<String, PerAppInfo> entry : networkSuggestionsMap.entrySet()) { in serializeNetworkSuggestionsMap() 233 private Map<String, PerAppInfo> parseNetworkSuggestionsMap(XmlPullParser in, int outerTagDepth, in parseNetworkSuggestionsMap() 237 Map<String, PerAppInfo> networkSuggestionsMap = new HashMap<>(); in parseNetworkSuggestionsMap() 248 PerAppInfo perAppInfo = new PerAppInfo(packageName); in parseNetworkSuggestionsMap() 272 @Nullable WifiConfigStoreEncryptionUtil encryptionUtil, PerAppInfo perAppInfo) in parseExtNetworkSuggestions()
|