Home
last modified time | relevance | path

Searched refs:resolveInfo (Results 1 – 25 of 56) 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 …]
DRegisteredT3tIdentifiersCache.java91 NfcFServiceInfo resolveInfo; in resolveNfcid2() local
92 resolveInfo = mForegroundT3tIdentifiersCache.get(nfcid2); in resolveNfcid2()
94 "Resolved to: " + (resolveInfo == null ? "null" : resolveInfo.toString())); in resolveNfcid2()
95 return resolveInfo; in resolveNfcid2()
/packages/apps/Settings/src/com/android/settings/
DTrustAgentUtils.java47 public static boolean checkProvidePermission(ResolveInfo resolveInfo, PackageManager pm) { in checkProvidePermission() argument
48 String packageName = resolveInfo.serviceInfo.packageName; in checkProvidePermission()
65 public static ComponentName getComponentName(ResolveInfo resolveInfo) { in getComponentName() argument
66 if (resolveInfo == null || resolveInfo.serviceInfo == null) return null; in getComponentName()
67 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getComponentName()
71 PackageManager pm, ResolveInfo resolveInfo) { in getSettingsComponent() argument
72 if (resolveInfo == null || resolveInfo.serviceInfo == null in getSettingsComponent()
73 || resolveInfo.serviceInfo.metaData == null) return null; in getSettingsComponent()
79 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, TRUST_AGENT_META_DATA); in getSettingsComponent()
84 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponent()
[all …]
DTrustAgentSettings.java153 ResolveInfo resolveInfo = resolveInfos.get(i); in findAvailableTrustAgents() local
154 if (resolveInfo.serviceInfo == null) continue; in findAvailableTrustAgents()
155 if (!TrustAgentUtils.checkProvidePermission(resolveInfo, pm)) continue; in findAvailableTrustAgents()
156 ComponentName name = TrustAgentUtils.getComponentName(resolveInfo); in findAvailableTrustAgents()
158 agentInfo.label = resolveInfo.loadLabel(pm); in findAvailableTrustAgents()
159 agentInfo.icon = resolveInfo.loadIcon(pm); in findAvailableTrustAgents()
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()
DCreateShortcut.java59 ResolveInfo resolveInfo = itemForPosition(position).resolveInfo; in onListItemClick() local
60 ActivityInfo activityInfo = resolveInfo.activityInfo; in onListItemClick()
/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.java130 ResolveInfo resolveInfo = mAvailableVoiceInteractions.get(i); in buildUi() local
132 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi()
135 + resolveInfo.serviceInfo.packageName + "/" in buildUi()
136 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); in buildUi()
140 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
158 ResolveInfo resolveInfo = mAvailableRecognition.get(i); in buildUi() local
159 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
160 resolveInfo.serviceInfo.name); in buildUi()
164 ServiceInfo si = resolveInfo.serviceInfo; in buildUi()
206 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/TvSettings/Settings/src/com/android/tv/settings/
DPreferenceUtils.java48 for (final ResolveInfo resolveInfo : list) { in resolveSystemActivityOrRemove()
49 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in resolveSystemActivityOrRemove()
54 resolveInfo.activityInfo.packageName, in resolveSystemActivityOrRemove()
55 resolveInfo.activityInfo.name)); in resolveSystemActivityOrRemove()
59 preference.setTitle(resolveInfo.loadLabel(pm)); in resolveSystemActivityOrRemove()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTestUtils.java69 ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfo() local
70 resolveInfo.serviceInfo = new ServiceInfo(); in createResolveInfo()
71 resolveInfo.serviceInfo.packageName = packageName; in createResolveInfo()
72 resolveInfo.serviceInfo.name = name; in createResolveInfo()
73 return resolveInfo; in createResolveInfo()
/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/Settings/tests/app/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/TV/tests/unit/src/com/android/tv/data/
DTvInputNewComparatorTest.java87 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testComparator() local
91 resolveInfo, id, "test1", TvInputInfo.TYPE_TUNER, false); in testComparator()
93 resolveInfo, id, "test2", TvInputInfo.TYPE_DISPLAY_PORT, true); in testComparator()
95 resolveInfo, id, "test", TvInputInfo.TYPE_HDMI, true); in testComparator()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java89 for (ResolveInfo resolveInfo : resolveInfos) { in getSmsComponent()
90 if (smsPackage.equals(resolveInfo.activityInfo.packageName)) { in getSmsComponent()
91 return new ComponentName(smsPackage, resolveInfo.activityInfo.name); in getSmsComponent()
/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/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java179 ResolveInfo resolveInfo = (ResolveInfo) o; in setWidgetsAndShortcuts() local
180 componentName = new ComponentName(resolveInfo.activityInfo.packageName, in setWidgetsAndShortcuts()
181 resolveInfo.activityInfo.name); in setWidgetsAndShortcuts()
182 packageName = resolveInfo.activityInfo.packageName; in setWidgetsAndShortcuts()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java214 private ComponentName getComponentName(ResolveInfo resolveInfo) { in getComponentName() argument
215 if (resolveInfo == null || resolveInfo.activityInfo == null) return null; in getComponentName()
216 return new ComponentName(resolveInfo.activityInfo.packageName, in getComponentName()
217 resolveInfo.activityInfo.name); in getComponentName()
DInCallScreenShowActivation.java196 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, in isWizardRunning() local
203 Log.v(LOG_TAG, "resolvInfo = " + resolveInfo + ", provisioned = " + provisioned in isWizardRunning()
206 return resolveInfo != null && !provisioned && runningSetupWizard; in isWizardRunning()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java225 ResolveInfo resolveInfo = null; in createReceiver()
245 resolveInfo = rInfo; in createReceiver()
260 if(resolveInfo != null) { in createReceiver()
261 if(D) Log.d(TAG,"Found " + resolveInfo.providerInfo.packageName in createReceiver()
263 BluetoothMapAccountItem app = mLoader.createAppItem(resolveInfo, in createReceiver()
/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.java174 for (ResolveInfo resolveInfo : list) { in doInBackground()
177 info = new WallpaperInfo(mContext, resolveInfo); in doInBackground()
179 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground()
182 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); in doInBackground()

123