Searched refs:appInfo1 (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionStoreDataTest.java | 337 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_NAME_1, TEST_FEATURE_ID); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local 341 appInfo1.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 343 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion1, appInfo1, true); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 344 appInfo1.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 345 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 367 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_NAME_1, TEST_FEATURE_ID); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() local 374 appInfo1.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 376 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion1, appInfo1, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 377 appInfo1.extNetworkSuggestions.put(ewns1.hashCode(), ewns1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 379 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion2, appInfo1, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 2201 PerAppInfo appInfo1 = new PerAppInfo(TEST_UID_1, TEST_PACKAGE_1, TEST_FEATURE); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() local 2202 appInfo1.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 2207 ExtendedWifiNetworkSuggestion.fromWns(networkSuggestion1, appInfo1, true); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 2208 appInfo1.extNetworkSuggestions.put(ewns.hashCode(), ewns); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() 2210 put(TEST_PACKAGE_1, appInfo1); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | AppUpdateManagerTest.java | 119 ApplicationInfo appInfo1 = new ApplicationInfo(); in testReconcileUninstalledApps() local 120 appInfo1.packageName = app1; in testReconcileUninstalledApps() 122 mockInstalledApplications(Collections.singletonList(appInfo1)); in testReconcileUninstalledApps() 258 ApplicationInfo appInfo1 = new ApplicationInfo(); in testReconcileUninstalledApps_handleTopicsWithoutContributor() local 259 appInfo1.packageName = app1; in testReconcileUninstalledApps_handleTopicsWithoutContributor() 261 mockInstalledApplications(List.of(appInfo1)); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 334 ApplicationInfo appInfo1 = new ApplicationInfo(); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() local 335 appInfo1.packageName = app1; in testReconcileUninstalledApps_contributorDeletionsToSameTopic() 337 mockInstalledApplications(List.of(appInfo1)); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() 649 ApplicationInfo appInfo1 = new ApplicationInfo(); in testReconcileInstalledApps() local [all …]
|
D | TopicsWorkerTest.java | 1071 ApplicationInfo appInfo1 = new ApplicationInfo(); in testReconcileApplicationUpdate() local 1072 appInfo1.packageName = app1; in testReconcileApplicationUpdate() 1079 .thenReturn(List.of(appInfo1, appInfo3)); in testReconcileApplicationUpdate() 1082 .thenReturn(List.of(appInfo1, appInfo3)); in testReconcileApplicationUpdate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 117 final ApplicationInfo appInfo1 = ApplicationTestUtils.buildInfo(APP_UID, APP_1, 0, 0); in testMultipleAppsForOneTypeOfDefault() local 129 .thenReturn(Collections.singletonList(new UserAppInfo(user, appInfo1))); in testMultipleAppsForOneTypeOfDefault() 133 Arrays.asList(new UserAppInfo(user, appInfo1), in testMultipleAppsForOneTypeOfDefault()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 91 ApplicationInfo appInfo1 = createAppInfo(PACKAGE_NAME_1, 0, 1, 10, in testLoadingApps() local 97 .thenReturn(Arrays.asList(appInfo1, appInfo2)); in testLoadingApps()
|