/packages/apps/Settings/src/com/android/settings/ |
D | DreamBackend.java | 103 for (ResolveInfo resolveInfo : resolveInfos) { in getDreamInfos() 104 if (resolveInfo.serviceInfo == null) in getDreamInfos() 107 dreamInfo.caption = resolveInfo.loadLabel(pm); in getDreamInfos() 108 dreamInfo.icon = resolveInfo.loadIcon(pm); in getDreamInfos() 109 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos() 111 dreamInfo.settingsComponentName = getSettingsComponentName(pm, resolveInfo); in getDreamInfos() 233 private static ComponentName getDreamComponentName(ResolveInfo resolveInfo) { in getDreamComponentName() argument 234 if (resolveInfo == null || resolveInfo.serviceInfo == null) in getDreamComponentName() 236 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getDreamComponentName() 239 …private static ComponentName getSettingsComponentName(PackageManager pm, ResolveInfo resolveInfo) { in getSettingsComponentName() argument [all …]
|
D | Utils.java | 135 ResolveInfo resolveInfo = list.get(i); in updatePreferenceToSpecificActivityOrRemove() local 136 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updatePreferenceToSpecificActivityOrRemove() 141 resolveInfo.activityInfo.packageName, in updatePreferenceToSpecificActivityOrRemove() 142 resolveInfo.activityInfo.name)); in updatePreferenceToSpecificActivityOrRemove() 146 preference.setTitle(resolveInfo.loadLabel(pm)); in updatePreferenceToSpecificActivityOrRemove() 197 ResolveInfo resolveInfo = list.get(i); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() local 198 if ((resolveInfo.activityInfo.applicationInfo.flags in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 207 .getResourcesForApplication(resolveInfo.activityInfo.packageName); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 208 Bundle metaData = resolveInfo.activityInfo.metaData; in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 224 title = resolveInfo.loadLabel(pm).toString(); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() [all …]
|
D | VoiceInputOutputSettings.java | 122 ResolveInfo resolveInfo = availableRecognitionServices.get(0); in populateOrRemoveRecognizerPrefs() local 124 new ComponentName(resolveInfo.serviceInfo.packageName, in populateOrRemoveRecognizerPrefs() 125 resolveInfo.serviceInfo.name).flattenToShortString(); in populateOrRemoveRecognizerPrefs() 127 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); in populateOrRemoveRecognizerPrefs() 164 ResolveInfo resolveInfo = recognizers.get(i); in populateRecognizerPreference() local 166 new ComponentName(resolveInfo.serviceInfo.packageName, in populateRecognizerPreference() 167 resolveInfo.serviceInfo.name).flattenToShortString(); in populateRecognizerPreference() 169 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); in populateRecognizerPreference() 171 entries[i] = resolveInfo.loadLabel(mFragment.getPackageManager()); in populateRecognizerPreference()
|
D | ActivityPicker.java | 190 ResolveInfo resolveInfo = list.get(i); in putIntentItems() local 191 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); in putIntentItems() 234 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { in Item() argument 235 label = resolveInfo.loadLabel(pm); in Item() 236 if (label == null && resolveInfo.activityInfo != null) { in Item() 237 label = resolveInfo.activityInfo.name; in Item() 240 icon = getResizer(context).createIconThumbnail(resolveInfo.loadIcon(pm)); in Item() 241 packageName = resolveInfo.activityInfo.applicationInfo.packageName; in Item() 242 className = resolveInfo.activityInfo.name; in Item()
|
D | AccessibilitySettings.java | 585 ResolveInfo resolveInfo = installedServiceInfos.get(i).getResolveInfo(); 587 resolveInfo.serviceInfo.packageName, 588 resolveInfo.serviceInfo.name); 759 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); 760 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) 761 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) {
|
D | NotificationAccessSettings.java | 223 ResolveInfo resolveInfo = installedServices.get(i); 224 ServiceInfo info = resolveInfo.serviceInfo;
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 88 public final ResolveInfo resolveInfo; field in RegisteredComponentCache.ComponentInfo 91 ComponentInfo(ResolveInfo resolveInfo, String[] techs) { in ComponentInfo() argument 92 this.resolveInfo = resolveInfo; in ComponentInfo() 99 out.append(resolveInfo); in toString() 159 for (ResolveInfo resolveInfo : resolveInfos) { in generateComponentsList() 161 parseComponentInfo(pm, resolveInfo, components); in generateComponentsList() 163 Log.w(TAG, "Unable to load component info " + resolveInfo.toString(), e); in generateComponentsList() 165 Log.w(TAG, "Unable to load component info " + resolveInfo.toString(), e); in generateComponentsList() 199 ResolveInfo resolveInfo, ArrayList<ComponentInfo> components) in parseTechLists() argument 219 components.add(new ComponentInfo(resolveInfo, techs)); in parseTechLists()
|
D | NfcDispatcher.java | 431 isComponentEnabled(pm, info.resolveInfo)) { in tryTech() 433 if (!matches.contains(info.resolveInfo)) { in tryTech() 434 matches.add(info.resolveInfo); in tryTech()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | RecordUtils.java | 85 for (ResolveInfo resolveInfo : activities) { in getViewsForIntent() 86 if (!resolveInfo.activityInfo.enabled) { in getViewsForIntent() 95 container.addView(buildActivityView(activity, resolveInfo, pm, inflater, container, in getViewsForIntent() 105 …private static View buildActivityView(Activity activity, ResolveInfo resolveInfo, PackageManager p… in buildActivityView() argument 108 ActivityInfo activityInfo = resolveInfo.activityInfo; in buildActivityView() 110 intent.setAction(resolveInfo.filter.getAction(0)); in buildActivityView() 118 icon.setImageDrawable(resolveInfo.loadIcon(pm)); in buildActivityView() 121 text.setText(resolveInfo.loadLabel(pm)); in buildActivityView()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallWidgetReceiver.java | 62 public ResolveInfo resolveInfo; field in InstallWidgetReceiver.WidgetMimeTypeHandlerData 66 resolveInfo = rInfo; in WidgetMimeTypeHandlerData() 141 final ResolveInfo resolveInfo = data.resolveInfo; in getView() local 145 Drawable d = resolveInfo.loadIcon(packageManager); in getView() 150 final CharSequence component = resolveInfo.loadLabel(packageManager); in getView()
|
D | IconCache.java | 164 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); in getIcon() local 167 if (resolveInfo == null || component == null) { in getIcon() 171 CacheEntry entry = cacheLocked(component, resolveInfo, null); in getIcon() 176 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo, in getIcon() argument 179 if (resolveInfo == null || component == null) { in getIcon() 183 CacheEntry entry = cacheLocked(component, resolveInfo, labelCache); in getIcon()
|
D | LauncherModel.java | 2179 ResolveInfo resolveInfo = null; in getShortcutInfo() local 2189 resolveInfo = i; in getShortcutInfo() 2192 if (resolveInfo == null) { in getShortcutInfo() 2193 resolveInfo = manager.resolveActivity(intent, 0); in getShortcutInfo() 2195 if (resolveInfo != null) { in getShortcutInfo() 2196 icon = mIconCache.getIcon(componentName, resolveInfo, labelCache); in getShortcutInfo() 2212 if (resolveInfo != null) { in getShortcutInfo() 2213 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(resolveInfo); in getShortcutInfo() 2217 info.title = resolveInfo.activityInfo.loadLabel(manager); in getShortcutInfo()
|
/packages/apps/Settings/tests/src/com/android/settings/ |
D | SettingsHookTests.java | 91 for (ResolveInfo resolveInfo : list) { in testOperatorIntentFilter() 92 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { in testOperatorIntentFilter() 109 for (ResolveInfo resolveInfo : list) { in testManufacturerIntentFilter() 110 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { in testManufacturerIntentFilter()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 89 ResolveInfo resolveInfo = list.get(i); in updatePreferenceToSpecificActivityOrRemove() local 90 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updatePreferenceToSpecificActivityOrRemove() 95 resolveInfo.activityInfo.packageName, in updatePreferenceToSpecificActivityOrRemove() 96 resolveInfo.activityInfo.name)); in updatePreferenceToSpecificActivityOrRemove()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 175 for (ResolveInfo resolveInfo : list) { in doInBackground() 178 info = new WallpaperInfo(mContext, resolveInfo); in doInBackground() 180 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground() 183 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | MockPackageManager.java | 45 ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfo() local 46 resolveInfo.activityInfo = activityInfo; in createResolveInfo() 47 return resolveInfo; in createResolveInfo()
|
/packages/apps/Phone/src/com/android/phone/ |
D | OtaStartupReceiver.java | 165 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, in shouldPostpone() local 172 Log.v(TAG, "resolvInfo = " + resolveInfo + ", provisioned = " + provisioned in shouldPostpone() 175 return resolveInfo != null && !provisioned && runningSetupWizard; in shouldPostpone()
|
D | RespondViaSmsManager.java | 384 for (ResolveInfo resolveInfo : infos) { in getPackagesWithInstantTextPermission() 385 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in getPackagesWithInstantTextPermission()
|
/packages/apps/Browser/src/com/android/browser/ |
D | UrlHandler.java | 206 for (ResolveInfo resolveInfo : handlers) { in isSpecializedHandlerAvailable() 207 IntentFilter filter = resolveInfo.filter; in isSpecializedHandlerAvailable()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 241 for (ResolveInfo resolveInfo : in getBroadcastReceiverComponents() 243 ActivityInfo activityInfo = resolveInfo.activityInfo; in getBroadcastReceiverComponents()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | AccountTypeManager.java | 734 ResolveInfo resolveInfo = packageManager.resolveActivity(invitableIntent, in findUsableInvitableAccountTypes() local 736 if (resolveInfo == null) { in findUsableInvitableAccountTypes()
|