Home
last modified time | relevance | path

Searched refs:resolveInfo (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java146 AidResolveInfo resolveInfo = new AidResolveInfo(); in resolveAid() local
159 resolveInfo.category = CardEmulation.CATEGORY_OTHER; in resolveAid()
168 if (resolveInfo.defaultService != null) { in resolveAid()
173 resolveInfo.defaultService = entryResolveInfo.defaultService; in resolveAid()
174 resolveInfo.category = entryResolveInfo.category; in resolveAid()
177 if (!resolveInfo.services.contains(serviceInfo)) { in resolveAid()
178 resolveInfo.services.add(serviceInfo); in resolveAid()
184 resolveInfo = mAidCache.get(aid); in resolveAid()
186 if (DBG) Log.d(TAG, "Resolved to: " + resolveInfo); in resolveAid()
187 return resolveInfo; in resolveAid()
[all …]
DHostEmulationManager.java160 AidResolveInfo resolveInfo = mAidCache.resolveAid(selectAid); in onHostEmulationData() local
161 if (resolveInfo == null || resolveInfo.services.size() == 0) { in onHostEmulationData()
167 if (resolveInfo.defaultService != null) { in onHostEmulationData()
170 ApduServiceInfo defaultServiceInfo = resolveInfo.defaultService; in onHostEmulationData()
175 launchTapAgain(resolveInfo.defaultService, resolveInfo.category); in onHostEmulationData()
188 for (ApduServiceInfo serviceInfo : resolveInfo.services) { in onHostEmulationData()
200 launchResolver((ArrayList<ApduServiceInfo>)resolveInfo.services, null, in onHostEmulationData()
201 resolveInfo.category); in onHostEmulationData()
494 AidResolveInfo resolveInfo = mAidCache.resolveAid(mLastSelectedAid); in handleMessage() local
496 if (resolveInfo.services.size() > 0) { in handleMessage()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDreamInfoAction.java74 DreamInfoAction(ResolveInfo resolveInfo, ComponentName activeDream, PackageManager pm) { in DreamInfoAction() argument
75 this(resolveInfo, activeDream, (String) resolveInfo.loadLabel(pm), getDreamComponentName( in DreamInfoAction()
76 resolveInfo), getSettingsComponentName(resolveInfo, pm)); in DreamInfoAction()
79 private DreamInfoAction(ResolveInfo resolveInfo, ComponentName activeDream, String title, in DreamInfoAction() argument
81 this(resolveInfo, dreamComponentName.equals(activeDream), title, dreamComponentName, in DreamInfoAction()
85 protected DreamInfoAction(ResolveInfo resolveInfo, boolean checked, String title, in DreamInfoAction() argument
89 mResolveInfo = resolveInfo; in DreamInfoAction()
140 private static ComponentName getDreamComponentName(ResolveInfo resolveInfo) { in getDreamComponentName() argument
141 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in getDreamComponentName()
144 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getDreamComponentName()
[all …]
/packages/apps/Settings/src/com/android/settings/
DDreamBackend.java103 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 …]
DTrustAgentUtils.java45 public static boolean checkProvidePermission(ResolveInfo resolveInfo, PackageManager pm) { in checkProvidePermission() argument
46 String packageName = resolveInfo.serviceInfo.packageName; in checkProvidePermission()
63 public static ComponentName getComponentName(ResolveInfo resolveInfo) { in getComponentName() argument
64 if (resolveInfo == null || resolveInfo.serviceInfo == null) return null; in getComponentName()
65 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getComponentName()
69 PackageManager pm, ResolveInfo resolveInfo) { in getSettingsComponent() argument
70 if (resolveInfo == null || resolveInfo.serviceInfo == null in getSettingsComponent()
71 || resolveInfo.serviceInfo.metaData == null) return null; in getSettingsComponent()
77 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, TRUST_AGENT_META_DATA); in getSettingsComponent()
82 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponent()
[all …]
DActivityPicker.java190 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()
DUtils.java186 ResolveInfo resolveInfo = list.get(i); in updatePreferenceToSpecificActivityOrRemove() local
187 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updatePreferenceToSpecificActivityOrRemove()
192 resolveInfo.activityInfo.packageName, in updatePreferenceToSpecificActivityOrRemove()
193 resolveInfo.activityInfo.name)); in updatePreferenceToSpecificActivityOrRemove()
197 preference.setTitle(resolveInfo.loadLabel(pm)); in updatePreferenceToSpecificActivityOrRemove()
224 ResolveInfo resolveInfo = list.get(i); in updateTileToSpecificActivityFromMetaDataOrRemove() local
225 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in updateTileToSpecificActivityFromMetaDataOrRemove()
234 resolveInfo.activityInfo.packageName); in updateTileToSpecificActivityFromMetaDataOrRemove()
235 Bundle metaData = resolveInfo.activityInfo.metaData; in updateTileToSpecificActivityFromMetaDataOrRemove()
256 title = resolveInfo.loadLabel(pm).toString(); in updateTileToSpecificActivityFromMetaDataOrRemove()
[all …]
DTrustAgentSettings.java148 ResolveInfo resolveInfo = resolveInfos.get(i); in findAvailableTrustAgents() local
149 if (resolveInfo.serviceInfo == null) continue; in findAvailableTrustAgents()
150 if (!TrustAgentUtils.checkProvidePermission(resolveInfo, pm)) continue; in findAvailableTrustAgents()
151 ComponentName name = TrustAgentUtils.getComponentName(resolveInfo); in findAvailableTrustAgents()
153 agentInfo.label = resolveInfo.loadLabel(pm); in findAvailableTrustAgents()
154 agentInfo.icon = resolveInfo.loadIcon(pm); in findAvailableTrustAgents()
DSecuritySettings.java451 ResolveInfo resolveInfo = resolveInfos.get(i); in getActiveTrustAgents() local
452 if (resolveInfo.serviceInfo == null) continue; in getActiveTrustAgents()
453 if (!TrustAgentUtils.checkProvidePermission(resolveInfo, pm)) continue; in getActiveTrustAgents()
455 TrustAgentUtils.getSettingsComponent(pm, resolveInfo); in getActiveTrustAgents()
458 TrustAgentUtils.getComponentName(resolveInfo)) || in getActiveTrustAgents()
461 null, TrustAgentUtils.getComponentName(resolveInfo)) == null) { in getActiveTrustAgents()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAssistPreference.java117 ResolveInfo resolveInfo = getContext().getPackageManager().resolveService( in getDefaultRecognizer() local
120 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in getDefaultRecognizer()
125 return new ComponentName(resolveInfo.serviceInfo.packageName, in getDefaultRecognizer()
126 resolveInfo.serviceInfo.name).flattenToShortString(); in getDefaultRecognizer()
146 ResolveInfo resolveInfo = services.get(i); in addAssistServices() local
148 new VoiceInteractionServiceInfo(pm, resolveInfo.serviceInfo); in addAssistServices()
154 new ComponentName(resolveInfo.serviceInfo.packageName, in addAssistServices()
155 resolveInfo.serviceInfo.name), in addAssistServices()
167 ResolveInfo resolveInfo = activities.get(i); in addAssistActivities() local
169 new ComponentName(resolveInfo.activityInfo.packageName, in addAssistActivities()
[all …]
DUsageAccessDetails.java136 ResolveInfo resolveInfo = mPm.resolveActivityAsUser(mSettingsIntent, in refreshUi() local
138 if (resolveInfo != null) { in refreshUi()
142 Bundle metaData = resolveInfo.activityInfo.metaData; in refreshUi()
143 mSettingsIntent.setComponent(new ComponentName(resolveInfo.activityInfo.packageName, in refreshUi()
144 resolveInfo.activityInfo.name)); in refreshUi()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java88 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()
/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputHelper.java129 ResolveInfo resolveInfo = mAvailableVoiceInteractions.get(i); in buildUi() local
131 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi()
134 + resolveInfo.serviceInfo.packageName + "/" in buildUi()
135 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); in buildUi()
139 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
157 ResolveInfo resolveInfo = mAvailableRecognition.get(i); in buildUi() local
158 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
159 resolveInfo.serviceInfo.name); in buildUi()
163 ServiceInfo si = resolveInfo.serviceInfo; in buildUi()
205 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java85 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/Settings/src/com/android/settings/search/
DDynamicIndexableContentMonitor.java118 ResolveInfo resolveInfo = accessibilityService.getResolveInfo(); in register() local
119 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in register()
122 mAccessibilityServices.add(resolveInfo.serviceInfo.packageName); in register()
133 ResolveInfo resolveInfo = printService.getResolveInfo(); in register() local
134 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in register()
137 mPrintServices.add(resolveInfo.serviceInfo.packageName); in register()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallWidgetReceiver.java62 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java318 SelectableAppInfo(PackageManager packageManager, ResolveInfo resolveInfo) { in SelectableAppInfo() argument
319 packageName = resolveInfo.activityInfo.packageName; in SelectableAppInfo()
320 appName = resolveInfo.activityInfo.applicationInfo.loadLabel(packageManager); in SelectableAppInfo()
321 CharSequence label = resolveInfo.activityInfo.loadLabel(packageManager); in SelectableAppInfo()
323 int activityIconRes = getIconResource(resolveInfo.activityInfo); in SelectableAppInfo()
324 info = resolveInfo.activityInfo.applicationInfo; in SelectableAppInfo()
326 : getIconResource(resolveInfo.activityInfo.applicationInfo); in SelectableAppInfo()
/packages/apps/Settings/tests/src/com/android/settings/
DSettingsHookTests.java86 for (ResolveInfo resolveInfo : list) { in testOperatorIntentFilter()
87 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { in testOperatorIntentFilter()
104 for (ResolveInfo resolveInfo : list) { in testManufacturerIntentFilter()
105 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { in testManufacturerIntentFilter()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java219 ResolveInfo resolveInfo = null; in createReceiver()
239 resolveInfo = rInfo; in createReceiver()
254 if(resolveInfo != null) { in createReceiver()
255 if(D) Log.d(TAG,"Found " + resolveInfo.providerInfo.packageName in createReceiver()
257 BluetoothMapAccountItem app = mLoader.createAppItem(resolveInfo, in createReceiver()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java209 private ComponentName getComponentName(ResolveInfo resolveInfo) { in getComponentName() argument
210 if (resolveInfo == null || resolveInfo.activityInfo == null) return null; in getComponentName()
211 return new ComponentName(resolveInfo.activityInfo.packageName, in getComponentName()
212 resolveInfo.activityInfo.name); in getComponentName()
/packages/apps/Settings/src/com/android/settings/location/
DSettingsInjector.java126 for (ResolveInfo resolveInfo : resolveInfos) { in getSettings()
128 InjectedSetting setting = parseServiceInfo(resolveInfo, userHandle, pm); in getSettings()
130 Log.w(TAG, "Unable to load service info " + resolveInfo); in getSettings()
135 Log.w(TAG, "Unable to load service info " + resolveInfo, e); in getSettings()
137 Log.w(TAG, "Unable to load service info " + resolveInfo, e); in getSettings()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java139 ResolveInfo resolveInfo = (ResolveInfo) o; in setWidgetsAndShortcuts() local
140 componentName = new ComponentName(resolveInfo.activityInfo.packageName, in setWidgetsAndShortcuts()
141 resolveInfo.activityInfo.name); in setWidgetsAndShortcuts()
142 packageName = resolveInfo.activityInfo.packageName; in setWidgetsAndShortcuts()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DLiveWallpaperListAdapter.java159 for (ResolveInfo resolveInfo : list) { in doInBackground()
162 info = new WallpaperInfo(mContext, resolveInfo); in doInBackground()
164 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground()
167 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java89 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/
DLiveWallpaperListAdapter.java175 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()

123