/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | RegisteredAidCache.java | 127 AidResolveInfo resolveInfo = mAidCache.get(matches.firstKey()); 129 resolveInfo.aid = matches.firstKey(); 130 return resolveInfo; 147 AidResolveInfo resolveInfo = null; 162 resolveInfo = mAidCache.get(aid); 164 if (resolveInfo.services == null || resolveInfo.services.size() == 0) return false; 166 if (resolveInfo.defaultService != null) { 167 return service.equals(resolveInfo.defaultService.getComponent()); 168 } else if (resolveInfo [all...] |
H A D | HostEmulationManager.java | 164 AidResolveInfo resolveInfo = mAidCache.resolveAidPrefix(selectAid); 165 if (resolveInfo == null || resolveInfo.services.size() == 0) { 170 mLastSelectedAid = resolveInfo.aid; 171 if (resolveInfo.defaultService != null) { 174 if (resolveInfo.defaultService.requiresUnlock() && 176 String category = mAidCache.getCategoryForAid(resolveInfo.aid); 179 launchTapAgain(resolveInfo.defaultService, category); 182 resolvedService = resolveInfo.defaultService.getComponent(); 184 for (ApduServiceInfo service : resolveInfo [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | RecordUtils.java | 85 for (ResolveInfo resolveInfo : activities) { 86 if (!resolveInfo.activityInfo.enabled) { 95 container.addView(buildActivityView(activity, resolveInfo, pm, inflater, container, 105 private static View buildActivityView(Activity activity, ResolveInfo resolveInfo, PackageManager pm, argument 108 ActivityInfo activityInfo = resolveInfo.activityInfo; 110 intent.setAction(resolveInfo.filter.getAction(0)); 118 icon.setImageDrawable(resolveInfo.loadIcon(pm)); 121 text.setText(resolveInfo.loadLabel(pm));
|
/packages/apps/Settings/tests/src/com/android/settings/ |
H A D | SettingsHookTests.java | 91 for (ResolveInfo resolveInfo : list) { 92 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { 109 for (ResolveInfo resolveInfo : list) { 110 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | MockPackageManager.java | 45 ResolveInfo resolveInfo = new ResolveInfo(); 46 resolveInfo.activityInfo = activityInfo; 47 return resolveInfo;
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | RegisteredComponentCache.java | 88 public final ResolveInfo resolveInfo; field in class:RegisteredComponentCache.ComponentInfo 91 ComponentInfo(ResolveInfo resolveInfo, String[] techs) { argument 92 this.resolveInfo = resolveInfo; 99 out.append(resolveInfo); 159 for (ResolveInfo resolveInfo : resolveInfos) { 161 parseComponentInfo(pm, resolveInfo, components); 163 Log.w(TAG, "Unable to load component info " + resolveInfo.toString(), e); 165 Log.w(TAG, "Unable to load component info " + resolveInfo.toString(), e); 199 ResolveInfo resolveInfo, ArrayLis 198 parseTechLists(Resources res, String packageName, XmlPullParser parser, ResolveInfo resolveInfo, ArrayList<ComponentInfo> components) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | DreamBackend.java | 103 for (ResolveInfo resolveInfo : resolveInfos) { 104 if (resolveInfo.serviceInfo == null) 107 dreamInfo.caption = resolveInfo.loadLabel(pm); 108 dreamInfo.icon = resolveInfo.loadIcon(pm); 109 dreamInfo.componentName = getDreamComponentName(resolveInfo); 111 dreamInfo.settingsComponentName = getSettingsComponentName(pm, resolveInfo); 233 private static ComponentName getDreamComponentName(ResolveInfo resolveInfo) { argument 234 if (resolveInfo == null || resolveInfo.serviceInfo == null) 236 return new ComponentName(resolveInfo 239 getSettingsComponentName(PackageManager pm, ResolveInfo resolveInfo) argument [all...] |
H A D | VoiceInputOutputSettings.java | 122 ResolveInfo resolveInfo = availableRecognitionServices.get(0); 124 new ComponentName(resolveInfo.serviceInfo.packageName, 125 resolveInfo.serviceInfo.name).flattenToShortString(); 127 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); 164 ResolveInfo resolveInfo = recognizers.get(i); 166 new ComponentName(resolveInfo.serviceInfo.packageName, 167 resolveInfo.serviceInfo.name).flattenToShortString(); 169 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); 171 entries[i] = resolveInfo.loadLabel(mFragment.getPackageManager());
|
H A D | Utils.java | 135 ResolveInfo resolveInfo = list.get(i); 136 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) 141 resolveInfo.activityInfo.packageName, 142 resolveInfo.activityInfo.name)); 146 preference.setTitle(resolveInfo.loadLabel(pm)); 197 ResolveInfo resolveInfo = list.get(i); 198 if ((resolveInfo.activityInfo.applicationInfo.flags 207 .getResourcesForApplication(resolveInfo.activityInfo.packageName); 208 Bundle metaData = resolveInfo.activityInfo.metaData; 224 title = resolveInfo [all...] |
H A D | ActivityPicker.java | 190 ResolveInfo resolveInfo = list.get(i); 191 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); 234 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { argument 235 label = resolveInfo.loadLabel(pm); 236 if (label == null && resolveInfo.activityInfo != null) { 237 label = resolveInfo.activityInfo.name; 240 icon = getResizer(context).createIconThumbnail(resolveInfo.loadIcon(pm)); 241 packageName = resolveInfo.activityInfo.applicationInfo.packageName; 242 className = resolveInfo.activityInfo.name;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InstallWidgetReceiver.java | 62 public ResolveInfo resolveInfo; field in class:InstallWidgetReceiver.WidgetMimeTypeHandlerData 66 resolveInfo = rInfo; 141 final ResolveInfo resolveInfo = data.resolveInfo; 145 Drawable d = resolveInfo.loadIcon(packageManager); 150 final CharSequence component = resolveInfo.loadLabel(packageManager);
|
H A D | IconCache.java | 164 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); 167 if (resolveInfo == null || component == null) { 171 CacheEntry entry = cacheLocked(component, resolveInfo, null); 176 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo, argument 179 if (resolveInfo == null || component == null) { 183 CacheEntry entry = cacheLocked(component, resolveInfo, labelCache);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InstallWidgetReceiver.java | 62 public ResolveInfo resolveInfo; field in class:InstallWidgetReceiver.WidgetMimeTypeHandlerData 66 resolveInfo = rInfo; 138 final ResolveInfo resolveInfo = data.resolveInfo; 142 Drawable d = resolveInfo.loadIcon(packageManager); 147 final CharSequence component = resolveInfo.loadLabel(packageManager);
|
H A D | IconCache.java | 181 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); 184 if (resolveInfo == null || component == null) { 188 CacheEntry entry = cacheLocked(component, resolveInfo, null); 193 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo, argument 196 if (resolveInfo == null || component == null) { 200 CacheEntry entry = cacheLocked(component, resolveInfo, labelCache);
|
H A D | LiveWallpaperListAdapter.java | 161 for (ResolveInfo resolveInfo : list) { 164 info = new WallpaperInfo(mContext, resolveInfo); 166 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); 169 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e);
|
H A D | ThirdPartyWallpaperPickerListAdapter.java | 50 public ThirdPartyWallpaperTile(ResolveInfo resolveInfo) { argument 51 mResolveInfo = resolveInfo;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | PhoneCapabilityTester.java | 89 for (ResolveInfo resolveInfo : resolveInfos) { 90 if (smsPackage.equals(resolveInfo.activityInfo.packageName)) { 91 return new ComponentName(smsPackage, resolveInfo.activityInfo.name);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | InCallScreenShowActivation.java | 166 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, 173 Log.v(LOG_TAG, "resolvInfo = " + resolveInfo + ", provisioned = " + provisioned 176 return resolveInfo != null && !provisioned && runningSetupWizard;
|
H A D | OtaStartupReceiver.java | 165 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, 172 Log.v(TAG, "resolvInfo = " + resolveInfo + ", provisioned = " + provisioned 175 return resolveInfo != null && !provisioned && runningSetupWizard;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AbstractConversationWebViewClient.java | 124 for (ResolveInfo resolveInfo: resolvedActivities) { 125 final ActivityInfo activityInfo = resolveInfo.activityInfo;
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
H A D | SpareParts.java | 89 ResolveInfo resolveInfo = list.get(i); 90 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) 95 resolveInfo.activityInfo.packageName, 96 resolveInfo.activityInfo.name));
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperListAdapter.java | 175 for (ResolveInfo resolveInfo : list) { 178 info = new WallpaperInfo(mContext, resolveInfo); 180 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e); 183 Log.w(LOG_TAG, "Skipping wallpaper " + resolveInfo.serviceInfo, e);
|
/packages/apps/Settings/src/com/android/settings/location/ |
H A D | SettingsInjector.java | 120 for (ResolveInfo resolveInfo : resolveInfos) { 122 InjectedSetting setting = parseServiceInfo(resolveInfo, pm); 124 Log.w(TAG, "Unable to load service info " + resolveInfo); 129 Log.w(TAG, "Unable to load service info " + resolveInfo, e); 131 Log.w(TAG, "Unable to load service info " + resolveInfo, e);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ToggleAccessibilityServicePreferenceFragment.java | 144 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); 145 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) 146 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) {
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | UrlHandler.java | 206 for (ResolveInfo resolveInfo : handlers) { 207 IntentFilter filter = resolveInfo.filter;
|