/cts/tests/tests/content/src/android/content/pm/cts/ |
ResolveInfoTest.java | 27 import android.content.pm.ResolveInfo; 32 @TestTargetClass(ResolveInfo.class) 67 method = "ResolveInfo", 79 new ResolveInfo(); 84 ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 87 assertEquals(expectedLabel, resolveInfo.loadLabel(pm).toString()); 88 assertNotNull(resolveInfo.loadIcon(pm)); 89 assertTrue(resolveInfo.getIconResource() != 0); 90 assertNotNull(resolveInfo.toString()) [all...] |
PackageManagerTest.java | 37 import android.content.pm.ResolveInfo; 124 List<ResolveInfo> listWithDiff = mPackageManager.queryIntentActivityOptions( 129 List<ResolveInfo> listInSame = mPackageManager.queryIntentActivityOptions( 134 List<ResolveInfo> intentActivities = 149 List<ResolveInfo> services = mPackageManager.queryIntentServices(serviceIntent, 156 List<ResolveInfo> broadcastReceivers = new ArrayList<ResolveInfo>(); 172 private void checkActivityInfoName(String expectedName, List<ResolveInfo> resolves) { 175 Iterator<ResolveInfo> infoIterator = resolves.iterator(); 187 private void checkServiceInfoName(String expectedName, List<ResolveInfo> resolves) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 23 import android.content.pm.ResolveInfo; 64 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); 67 ResolveInfo resolveInfo = list.get(i); 68 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) 73 resolveInfo.activityInfo.packageName, 74 resolveInfo.activityInfo.name)); 78 preference.setTitle(resolveInfo.loadLabel(pm));
|
VoiceInputOutputSettings.java | 25 import android.content.pm.ResolveInfo; 67 private HashMap<String, ResolveInfo> mAvailableRecognizersMap; 81 mAvailableRecognizersMap = new HashMap<String, ResolveInfo>(); 87 List<ResolveInfo> availableRecognitionServices = getPackageManager().queryIntentServices( 102 ResolveInfo resolveInfo = availableRecognitionServices.get(0); 104 new ComponentName(resolveInfo.serviceInfo.packageName, 105 resolveInfo.serviceInfo.name).flattenToShortString(); 107 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); 124 private void populateRecognizerPreference(List<ResolveInfo> recognizers) [all...] |
ActivityPicker.java | 30 import android.content.pm.ResolveInfo; 184 List<ResolveInfo> list = packageManager.queryIntentActivities(baseIntent, 186 Collections.sort(list, new ResolveInfo.DisplayNameComparator(packageManager)); 190 ResolveInfo resolveInfo = list.get(i); 191 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); 232 * {@link ResolveInfo} object. 234 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { 235 label = resolveInfo.loadLabel(pm) [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
RecordUtils.java | 27 import android.content.pm.ResolveInfo; 68 List<ResolveInfo> activities = pm.queryIntentActivities(intent, flags); 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, 108 ActivityInfo activityInfo = resolveInfo.activityInfo; 110 intent.setAction(resolveInfo.filter.getAction(0)) [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 29 import android.content.pm.ResolveInfo; 82 public final ResolveInfo resolveInfo; 85 ComponentInfo(ResolveInfo resolveInfo, String[] techs) { 86 this.resolveInfo = resolveInfo; 93 out.append(resolveInfo); 143 List<ResolveInfo> resolveInfos = pm.queryIntentActivities(new Intent(mAction), 145 for (ResolveInfo resolveInfo : resolveInfos) [all...] |
NfcService.java | 41 import android.content.pm.ResolveInfo; [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 22 import android.content.pm.ResolveInfo; 89 public void getTitleAndIcon(ApplicationInfo application, ResolveInfo info) { 104 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); 107 if (resolveInfo == null || component == null) { 111 CacheEntry entry = cacheLocked(component, resolveInfo); 116 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo) { 118 if (resolveInfo == null || component == null) { 122 CacheEntry entry = cacheLocked(component, resolveInfo); [all...] |
LauncherModel.java | 32 import android.content.pm.ResolveInfo; [all...] |
/packages/apps/Phone/src/com/android/phone/ |
OtaStartupReceiver.java | 23 import android.content.pm.ResolveInfo; 87 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, 94 Log.v(TAG, "resolvInfo = " + resolveInfo + ", provisioned = " + provisioned 97 return resolveInfo != null && !provisioned && runningSetupWizard;
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 23 import android.content.pm.ResolveInfo; 64 public ResolveInfo resolveInfo; 71 ListItem(PackageManager pm, ResolveInfo resolveInfo, IconResizer resizer) { 72 this.resolveInfo = resolveInfo; 73 label = resolveInfo.loadLabel(pm); 74 ComponentInfo ci = resolveInfo.activityInfo; 75 if (ci == null) ci = resolveInfo.serviceInfo [all...] |
ContextImpl.java | 55 import android.content.pm.ResolveInfo; [all...] |
/development/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 26 import android.content.pm.ResolveInfo; 86 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); 89 ResolveInfo resolveInfo = list.get(i); 90 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) 95 resolveInfo.activityInfo.packageName, 96 resolveInfo.activityInfo.name));
|
/frameworks/base/core/java/android/accounts/ |
AccountAuthenticatorCache.java | 21 import android.content.pm.ResolveInfo; 79 List<ResolveInfo> resolveInfos = pm.queryIntentServices( 82 for (ResolveInfo resolveInfo: resolveInfos) { 83 android.content.pm.ServiceInfo si = resolveInfo.serviceInfo;
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 27 import android.content.pm.ResolveInfo; 108 args = {android.content.Context.class, android.content.pm.ResolveInfo.class} 132 List<ResolveInfo> ris = pm.queryIntentServices(intent, PackageManager.GET_META_DATA); 134 ResolveInfo resolveInfo = ris.get(i); 135 mInputMethodInfo = new InputMethodInfo(mContext, resolveInfo); 136 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo());
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 30 import android.content.pm.ResolveInfo; 226 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 227 if (resolveInfo != null) { 228 final ActivityInfo activityInfo = resolveInfo.activityInfo;
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListActivity.java | 23 import android.content.pm.ResolveInfo; 79 List<ResolveInfo> list = mPackageManager.queryIntentServices( 97 Collections.sort(list, new Comparator<ResolveInfo>() { 104 public int compare(ResolveInfo info1, ResolveInfo info2) { 111 ResolveInfo resolveInfo = list.get(i); 112 ComponentInfo ci = resolveInfo.serviceInfo; 115 info = new WallpaperInfo(this, resolveInfo);
|
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 256 List<ResolveInfo> resolveInfos = pm.queryIntentServices(new Intent(mInterfaceName), 258 for (ResolveInfo resolveInfo : resolveInfos) { 260 ServiceInfo<V> info = parseServiceInfo(resolveInfo); 262 Log.w(TAG, "Unable to load service info " + resolveInfo.toString()); 267 Log.w(TAG, "Unable to load service info " + resolveInfo.toString(), e); 269 Log.w(TAG, "Unable to load service info " + resolveInfo.toString(), e); 380 private ServiceInfo<V> parseServiceInfo(ResolveInfo service)
|
/development/samples/Home/src/com/example/android/home/ |
Home.java | 29 import android.content.pm.ResolveInfo; 383 final ResolveInfo resolveInfo = manager.resolveActivity(intent, 0); 385 if (resolveInfo == null) { 390 final ActivityInfo activityInfo = resolveInfo.activityInfo; 489 final List<ResolveInfo> apps = manager.queryIntentActivities(mainIntent, 0); 490 Collections.sort(apps, new ResolveInfo.DisplayNameComparator(manager)); 502 ResolveInfo info = apps.get(i);
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbDeviceSettingsManager.java | 29 import android.content.pm.ResolveInfo; 293 private boolean packageMatchesLocked(ResolveInfo info, String metaDataName, 324 private final ArrayList<ResolveInfo> getAccessoryMatchesLocked( 326 ArrayList<ResolveInfo> matches = new ArrayList<ResolveInfo>(); 327 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentActivities(intent, 331 ResolveInfo resolveInfo = resolveInfos.get(i); 332 if (packageMatchesLocked(resolveInfo, intent.getAction(), accessory)) { 333 matches.add(resolveInfo); [all...] |
/frameworks/base/core/java/android/content/ |
SyncManager.java | 31 import android.content.pm.ResolveInfo; [all...] |
/external/webkit/JavaScriptCore/bytecode/ |
CodeBlock.cpp | 224 static void printGlobalResolveInfo(const GlobalResolveInfo& resolveInfo, unsigned instructionOffset) 226 printf(" [%4d] %s: %s\n", instructionOffset, "resolve_global", pointerToSourceString(resolveInfo.structure).UTF8String().c_str()); [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |