Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java347 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_NAME_2, TEST_FEATURE_ID); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
351 appInfo2.hasUserApproved = true; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
353 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion2, appInfo2, true); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
354 appInfo2.extNetworkSuggestions.put(ewns2.hashCode(), ewns2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
355 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
383 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_NAME_2, TEST_FEATURE_ID); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local
390 appInfo2.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
392 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion3, appInfo2, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
393 appInfo2.extNetworkSuggestions.put(ewns3.hashCode(), ewns3); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
395 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion4, appInfo2, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
DWifiNetworkSuggestionsManagerTest.java2216 PerAppInfo appInfo2 = new PerAppInfo(TEST_UID_2, TEST_PACKAGE_2, TEST_FEATURE); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() local
2217 appInfo2.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2222 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion2, appInfo2, true); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2223 appInfo2.extNetworkSuggestions.put(ewns2.hashCode(), ewns2); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2225 put(TEST_PACKAGE_2, appInfo2); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java118 final ApplicationInfo appInfo2 = ApplicationTestUtils.buildInfo(APP_UID, APP_2, 0, 0); in testMultipleAppsForOneTypeOfDefault() local
134 new UserAppInfo(user, appInfo2))); in testMultipleAppsForOneTypeOfDefault()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java93 ApplicationInfo appInfo2 = createAppInfo(PACKAGE_NAME_2, 0, 100, 1000, in testLoadingApps() local
97 .thenReturn(Arrays.asList(appInfo1, appInfo2)); in testLoadingApps()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DAppUpdateManagerTest.java651 ApplicationInfo appInfo2 = new ApplicationInfo(); in testReconcileInstalledApps() local
652 appInfo2.packageName = app2; in testReconcileInstalledApps()
654 mockInstalledApplications(List.of(appInfo1, appInfo2)); in testReconcileInstalledApps()