HomeSort by relevance Sort by last modified time
    Searched defs:resolveInfo (Results 1 - 21 of 21) sorted by null

  /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 38 import android.content.pm.ResolveInfo;
127 List<ResolveInfo> listWithDiff = mPackageManager.queryIntentActivityOptions(
132 List<ResolveInfo> listInSame = mPackageManager.queryIntentActivityOptions(
137 List<ResolveInfo> intentActivities =
152 List<ResolveInfo> services = mPackageManager.queryIntentServices(serviceIntent,
159 List<ResolveInfo> broadcastReceivers = new ArrayList<ResolveInfo>();
175 private void checkActivityInfoName(String expectedName, List<ResolveInfo> resolves) {
178 Iterator<ResolveInfo> infoIterator = resolves.iterator();
190 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/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;
  /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...]
  /frameworks/policies/base/mid/com/android/internal/policy/impl/
RecentApplicationsDialog.java 30 import android.content.pm.ResolveInfo;
168 ResolveInfo homeInfo = pm.resolveActivity(
200 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0);
201 if (resolveInfo != null) {
202 final ActivityInfo activityInfo = resolveInfo.activityInfo;
  /frameworks/policies/base/phone/com/android/internal/policy/impl/
RecentApplicationsDialog.java 30 import android.content.pm.ResolveInfo;
216 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0);
217 if (resolveInfo != null) {
218 final ActivityInfo activityInfo = resolveInfo.activityInfo;
  /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));
  /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/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 54 import android.content.pm.ResolveInfo;
    [all...]
  /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/core/java/android/content/
SyncManager.java 31 import android.content.pm.ResolveInfo;
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 102 milliseconds