/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/ |
D | TestUtil.java | 238 List<ResolveInfo> resolveInfos = in getAdServicesPackageName() local 244 if (resolveInfos != null && BuildCompat.isAtLeastT()) { in getAdServicesPackageName() 245 resolveInfos = in getAdServicesPackageName() 246 resolveInfos.stream() in getAdServicesPackageName() 254 if (resolveInfos == null || resolveInfos.isEmpty()) { in getAdServicesPackageName() 262 if (resolveInfos.size() > 1) { in getAdServicesPackageName() 266 MEASUREMENT_SERVICE_NAME, resolveInfos); in getAdServicesPackageName() 271 final ServiceInfo serviceInfo = resolveInfos.get(0).serviceInfo; in getAdServicesPackageName()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 124 List<ResolveInfo> resolveInfos = context.getPackageManager().queryIntentServices(intent, in fromPackageAndServiceName() local 126 if (resolveInfos.isEmpty()) { in fromPackageAndServiceName() 132 wallpaperInfo = new android.app.WallpaperInfo(context, resolveInfos.get(0)); in fromPackageAndServiceName() 134 Log.w(TAG, "Skipping wallpaper " + resolveInfos.get(0).serviceInfo, e); in fromPackageAndServiceName() 197 List<ResolveInfo> resolveInfos = getAllOnDevice(context); in getAll() local 201 for (int i = 0; i < resolveInfos.size(); i++) { in getAll() 202 ResolveInfo resolveInfo = resolveInfos.get(i); in getAll() 229 List<ResolveInfo> resolveInfos; in getFromSpecifiedPackage() local 231 resolveInfos = getAllContainingServiceNames(context, serviceNames); in getFromSpecifiedPackage() 233 resolveInfos = getAllOnDevice(context); in getFromSpecifiedPackage() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiContext.java | 110 List<ResolveInfo> resolveInfos; in getApkPkgNameForAction() local 112 resolveInfos = getPackageManager().queryIntentActivitiesAsUser( in getApkPkgNameForAction() 117 resolveInfos = getPackageManager().queryIntentActivities( in getApkPkgNameForAction() 121 Log.i(TAG, "Got resolveInfos for " + action + ": " + resolveInfos); in getApkPkgNameForAction() 124 resolveInfos.removeIf(info -> in getApkPkgNameForAction() 127 if (resolveInfos.isEmpty()) { in getApkPkgNameForAction() 131 if (resolveInfos.size() > 1) { in getApkPkgNameForAction() 134 + resolveInfos.stream() in getApkPkgNameForAction() 140 ResolveInfo info = resolveInfos.get(0); in getApkPkgNameForAction()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbContext.java | 62 List<ResolveInfo> resolveInfos = getPackageManager().queryIntentActivities( in getUwbOverlayApkPkgName() local 67 resolveInfos.removeIf(info -> in getUwbOverlayApkPkgName() 70 if (resolveInfos.isEmpty()) { in getUwbOverlayApkPkgName() 77 if (resolveInfos.size() > 1) { in getUwbOverlayApkPkgName() 80 + resolveInfos.stream() in getUwbOverlayApkPkgName() 86 ResolveInfo info = resolveInfos.get(0); in getUwbOverlayApkPkgName()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSettingsFooterPreferenceController.java | 137 List<ResolveInfo> resolveInfos = in getFooterData() local 140 if (resolveInfos == null) { in getFooterData() 146 Log.d(TAG, "Found broadcast receivers: " + resolveInfos); in getFooterData() 149 List<FooterData> footerDataList = new ArrayList<>(resolveInfos.size()); in getFooterData() 150 for (ResolveInfo resolveInfo : resolveInfos) { in getFooterData()
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApk.java | 158 List<ResolveInfo> resolveInfos = in loadResourcesApkContext() local 162 if (resolveInfos.size() > 1) { in loadResourcesApkContext() 165 final int resolveInfosSize = resolveInfos.size(); in loadResourcesApkContext() 167 ResolveInfo resolveInfo = resolveInfos.get(i); in loadResourcesApkContext() 179 final int resolveInfosSize = resolveInfos.size(); in loadResourcesApkContext() 181 ResolveInfo resolveInfo = resolveInfos.get(i); in loadResourcesApkContext()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v35/ |
D | WalletRoleBehavior.java | 123 List<ResolveInfo> resolveInfos = packageManager in resolvePackageNames() local 127 int resolveInfosSize = resolveInfos.size(); in resolvePackageNames() 129 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in resolvePackageNames() 146 List<ResolveInfo> resolveInfos = userPackageManager.queryIntentServices(intent, in getQualifyingApduServicesAsUser() local 150 int resolveInfosSize = resolveInfos.size(); in getQualifyingApduServicesAsUser() 152 ResolveInfo resolveInfo = resolveInfos.get(i); in getQualifyingApduServicesAsUser()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesSupportHelper.java | 72 List<ResolveInfo> resolveInfos = in isAndroidServiceAvailable() local 75 if (resolveInfos == null) { in isAndroidServiceAvailable() 82 intent.getAction(), resolveInfos.size()); in isAndroidServiceAvailable() 84 if (resolveInfos.size() == 1) { in isAndroidServiceAvailable()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | MoreSettingsPreferenceController.java | 49 final List<ResolveInfo> resolveInfos = mPm.queryIntentActivities( in getAvailabilityStatus() local 52 if (resolveInfos == null || resolveInfos.isEmpty()) { in getAvailabilityStatus()
|
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/ |
D | RegistrationProxy.java | 83 final List<ResolveInfo> resolveInfos = context.getPackageManager().queryIntentServices( in IRemoteProvisioningConnection() local 85 if (resolveInfos == null || resolveInfos.size() == 0) { in IRemoteProvisioningConnection() 89 if (resolveInfos.size() > 1) { in IRemoteProvisioningConnection() 92 + resolveInfos.stream().map( in IRemoteProvisioningConnection() 98 final ServiceInfo serviceInfo = resolveInfos.get(0).serviceInfo; in IRemoteProvisioningConnection()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | AutofillHelper.java | 53 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillCandidates() local 55 for (ResolveInfo info : resolveInfos) { in getAutofillCandidates() 112 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillSettingsIntent() local 115 for (ResolveInfo resolveInfo : resolveInfos) { in getAutofillSettingsIntent()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/ |
D | AutofillHelper.java | 55 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillCandidates() local 57 for (ResolveInfo info : resolveInfos) { in getAutofillCandidates() 114 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillSettingsIntent() local 117 for (ResolveInfo resolveInfo : resolveInfos) { in getAutofillSettingsIntent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/v35/ |
D | ChangeDefaultCardEmulationActivity.java | 64 List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(queryIntent, in setDefaultPaymentChangeHandlerDialogComponent() local 66 int resolveInfosSize = resolveInfos.size(); in setDefaultPaymentChangeHandlerDialogComponent() 68 ResolveInfo resolveInfo = resolveInfos.get(i); in setDefaultPaymentChangeHandlerDialogComponent()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 99 List<ResolveInfo> resolveInfos = in resolvePackageInfo() local 102 if (resolveInfos.size() > 1) { in resolvePackageInfo() 106 for (ResolveInfo resolveInfo : resolveInfos) { in resolvePackageInfo() 118 for (ResolveInfo resolveInfo : resolveInfos) { in resolvePackageInfo()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | PreferredActivity.java | 101 List<ResolveInfo> resolveInfos = userPackageManager.queryIntentActivities(intent, in configureAsUser() local 106 int resolveInfosSize = resolveInfos.size(); in configureAsUser() 109 ResolveInfo resolveInfo = resolveInfos.get(resolveInfosIndex); in configureAsUser()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SearchFeatureProvider.java | 114 final List<ResolveInfo> resolveInfos = in initSearchToolbar() local 117 if (resolveInfos.isEmpty()) { in initSearchToolbar() 121 final ComponentName searchComponentName = resolveInfos.get(0) in initSearchToolbar()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppOpenByDefaultPreferenceControllerTest.java | 176 final List<ResolveInfo> resolveInfos = ImmutableList.of(resolveInfo); in updateState_isBrowserApp_shouldNotShowPreference() local 179 .thenReturn(resolveInfos); in updateState_isBrowserApp_shouldNotShowPreference() 196 final List<ResolveInfo> resolveInfos = ImmutableList.of(resolveInfo); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary() local 199 .thenReturn(resolveInfos); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TopLevelWallpaperPreferenceController.java | 127 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0 /* flags */); in canResolveWallpaperComponent() local 128 return resolveInfos != null && !resolveInfos.isEmpty(); in canResolveWallpaperComponent()
|
D | WallpaperPreferenceController.java | 132 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0 /* flags */); in canResolveWallpaperComponent() local 133 return resolveInfos != null && !resolveInfos.isEmpty(); in canResolveWallpaperComponent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/data/repository/ |
D | ImageEffectsRepositoryImpl.kt | 260 val resolveInfos = in <lambda>() constant 266 if (resolveInfos.isEmpty()) { in <lambda>() 272 val wallpaperInfo = WallpaperInfo(context, resolveInfos[0]) in <lambda>() 300 Log.w(TAG, "Skipping wallpaper " + resolveInfos[0].serviceInfo, e) in <lambda>() 303 Log.w(TAG, "Skipping wallpaper " + resolveInfos[0].serviceInfo, e) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ZenServiceListing.java | 122 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser( in getActivities() local 127 for (int i = 0, count = resolveInfos.size(); i < count; i++) { in getActivities() 128 ResolveInfo resolveInfo = resolveInfos.get(i); in getActivities()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | DtaServiceConnectorTest.java | 97 List<ResolveInfo> resolveInfos = new ArrayList<>(); in setUp() 98 resolveInfos.add(resolveInfo); in setUp() 101 resolveInfos); in setUp()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailProviderListPreference.java | 121 List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0); in initVoicemailProviders() local 122 for (int i = 0; i < resolveInfos.size(); i++) { in initVoicemailProviders() 123 final ResolveInfo ri= resolveInfos.get(i); in initVoicemailProviders()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | IntentHelper.java | 38 List<ResolveInfo> resolveInfos = in getGalleryIntent() local 40 if (resolveInfos.size() == 0) { in getGalleryIntent()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAutofillPicker.java | 201 final List<ResolveInfo> resolveInfos = mPm.queryIntentServicesAsUser( in getCandidates() local 204 for (ResolveInfo info : resolveInfos) { in getCandidates() 286 final List<ResolveInfo> resolveInfos = mContext.getPackageManager() in getIntent() local 290 for (ResolveInfo resolveInfo : resolveInfos) { in getIntent()
|