Home
last modified time | relevance | path

Searched refs:resolveInfoList (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DExtraSettingsLoaderTest.java95 private Map<Preference, Bundle> executeLoadPreferences(List<ResolveInfo> resolveInfoList, in executeLoadPreferences() argument
101 anyInt())).thenReturn(resolveInfoList); in executeLoadPreferences()
148 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testLoadPreference_sortPreferences_byMetadata() local
149 resolveInfoList.add(resolveInfoSystem1); in testLoadPreference_sortPreferences_byMetadata()
150 resolveInfoList.add(resolveInfoSystem2); in testLoadPreference_sortPreferences_byMetadata()
153 executeLoadPreferences(resolveInfoList, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byMetadata()
178 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testLoadPreference_sortPreferences_byPackageName() local
179 resolveInfoList.add(resolveInfoSystem2); in testLoadPreference_sortPreferences_byPackageName()
180 resolveInfoList.add(resolveInfoSystem1); in testLoadPreference_sortPreferences_byPackageName()
183 executeLoadPreferences(resolveInfoList, FAKE_CATEGORY); in testLoadPreference_sortPreferences_byPackageName()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSendingTest.java131 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithNonNullReceiver_explicitBroadcastSent() local
134 setQueryBroadcastReceiversAsUserResult(resolveInfoList); in testBroadcast_oneConfiguredMigratorAppWithNonNullReceiver_explicitBroadcastSent()
159 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithNullReceiver_implicitBroadcastSent() local
162 setQueryBroadcastReceiversAsUserResult(resolveInfoList); in testBroadcast_oneConfiguredMigratorAppWithNullReceiver_implicitBroadcastSent()
187 List<android.content.pm.ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithoutReceiver_implicitBroadcastSent() local
189 setQueryBroadcastReceiversAsUserResult(resolveInfoList); in testBroadcast_oneConfiguredMigratorAppWithoutReceiver_implicitBroadcastSent()
214 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithMultipleReceivers_implicitBroadcastSent() local
220 setQueryBroadcastReceiversAsUserResult(resolveInfoList); in testBroadcast_oneConfiguredMigratorAppWithMultipleReceivers_implicitBroadcastSent()
309 List<ResolveInfo> resolveInfoList = in testBroadcast_multipleAppsIncludingConfiguredAppOneReceiver_explicitBroadcastSent() local
312 setQueryBroadcastReceiversAsUserResult(resolveInfoList); in testBroadcast_multipleAppsIncludingConfiguredAppOneReceiver_explicitBroadcastSent()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
DVoiceInputInfoProviderTest.java73 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in getInteractionInfoList_hasElement() local
74 resolveInfoList.add(resolveInfo); in getInteractionInfoList_hasElement()
78 PackageManager.GET_META_DATA)).thenReturn(resolveInfoList); in getInteractionInfoList_hasElement()
92 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in getRecognitionInfoList_hasElement() local
93 resolveInfoList.add(otherInfo); in getRecognitionInfoList_hasElement()
97 PackageManager.GET_META_DATA)).thenReturn(resolveInfoList); in getRecognitionInfoList_hasElement()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppLauncherUtilsTest.java479 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in mockPackageManagerQueries()
482 resolveInfoList.add(constructActivityResolveInfo(TEST_DISABLED_APP_1)); in mockPackageManagerQueries()
483 resolveInfoList.add(constructActivityResolveInfo(TEST_DISABLED_APP_2)); in mockPackageManagerQueries()
486 resolveInfoList.add(constructActivityResolveInfo(CUSTOM_MEDIA_PACKAGE)); in mockPackageManagerQueries()
488 resolveInfoList.add(constructActivityResolveInfo(TEST_VIDEO_MBS)); in mockPackageManagerQueries()
489 resolveInfoList.add(constructActivityResolveInfo(TEST_NDO_MBS_LAUNCHABLE)); in mockPackageManagerQueries()
490 resolveInfoList.add(constructActivityResolveInfo(TEST_NDO_MBS_NOT_LAUNCHABLE)); in mockPackageManagerQueries()
493 return resolveInfoList; in mockPackageManagerQueries()
518 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in mockTosPackageManagerQueries()
521 resolveInfoList.add(constructActivityResolveInfo(TEST_TOS_DISABLED_APP_1)); in mockTosPackageManagerQueries()
[all …]
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockControllerPackageUtils.java79 final List<ResolveInfo> resolveInfoList = pm.queryIntentServicesAsUser(intent, in findServiceInternal() local
84 if (resolveInfoList == null || resolveInfoList.isEmpty()) { in findServiceInternal()
92 for (ResolveInfo resolveInfo : resolveInfoList) { in findServiceInternal()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/customization/
DPartner.java49 final List<ResolveInfo> resolveInfoList = packageManager in Partner() local
51 if (resolveInfoList == null || resolveInfoList.isEmpty()) { in Partner()
54 mPackage = resolveInfoList.get(0).activityInfo.packageName; in Partner()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DConvertToEsimPreferenceController.java201 List<ResolveInfo> resolveInfoList = packageManager in findConversionSupportComponent() local
203 if (resolveInfoList == null || resolveInfoList.isEmpty()) { in findConversionSupportComponent()
206 for (ResolveInfo resolveInfo : resolveInfoList) { in findConversionSupportComponent()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java285 final List<ResolveInfo> resolveInfoList = in findEuiccService() local
287 final ComponentInfo bestComponent = findEuiccService(packageManager, resolveInfoList); in findEuiccService()
295 PackageManager packageManager, List<ResolveInfo> resolveInfoList) { in findEuiccService() argument
298 if (resolveInfoList != null) { in findEuiccService()
299 for (ResolveInfo resolveInfo : resolveInfoList) { in findEuiccService()
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DApplicationFeatureProviderImpl.java267 final List<ResolveInfo> resolveInfoList = in findEuiccService() local
269 final ComponentInfo bestComponent = findEuiccService(packageManager, resolveInfoList); in findEuiccService()
277 PackageManager packageManager, List<ResolveInfo> resolveInfoList) { in findEuiccService() argument
280 if (resolveInfoList != null) { in findEuiccService()
281 for (ResolveInfo resolveInfo : resolveInfoList) { in findEuiccService()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DRegisteredComponentCacheTest.java133 List<ResolveInfo> resolveInfoList = new ArrayList<ResolveInfo>(); in setUp()
134 resolveInfoList.add(resolveInfo); in setUp()
137 Mockito.any(UserHandle.class))).thenReturn(resolveInfoList); in setUp()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DLockTaskModePolicyHandler.java241 final List<ResolveInfo> resolveInfoList =
243 if (resolveInfoList.isEmpty()) {
249 final String packageName = resolveInfoList.get(0).activityInfo.packageName;
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java167 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in createFakeResolveInfos() local
169 resolveInfoList.add(createFakeResolveInfo(i)); in createFakeResolveInfos()
171 return resolveInfoList; in createFakeResolveInfos()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt122 val resolveInfoList = in <lambda>() constant
131 resolveInfoList.map { it.activityInfo.packageName }.distinct() in <lambda>()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java240 List<ResolveInfo> resolveInfoList = packageManager.queryIntentServices( in getInstalledSystemImePackages() local
244 for (ResolveInfo resolveInfo : resolveInfoList) { in getInstalledSystemImePackages()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java364 List<ResolveInfo> resolveInfoList = new ArrayList(); in testSuccess_Nfc() local
365 resolveInfoList.add(resolveInfo); in testSuccess_Nfc()
368 eq(0))).thenReturn(resolveInfoList); in testSuccess_Nfc()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java1088 ArrayList<ResolveInfo> resolveInfoList = new ArrayList<>(); in setupMockResolveInfo() local
1089 resolveInfoList.add(resolveInfo); in setupMockResolveInfo()
1094 .thenReturn(resolveInfoList); in setupMockResolveInfo()