Home
last modified time | relevance | path

Searched refs:ResolveInfo (Results 1 – 13 of 13) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowResolveInfo.java5 import android.content.pm.ResolveInfo;
19 public static ResolveInfo newResolveInfo(String displayName, String packageName) { in newResolveInfo()
31 …public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityNa… in newResolveInfo()
32 ResolveInfo resInfo = new ResolveInfo(); in newResolveInfo()
48 public static ResolveInfo newResolveInfo(ResolveInfo orig) { in newResolveInfo()
49 ResolveInfo copy; in newResolveInfo()
51 copy = new ResolveInfo(orig); in newResolveInfo()
53 copy = new ResolveInfo(); in newResolveInfo()
DShadowApplicationPackageManager.java67 import android.content.pm.ResolveInfo;
287 protected ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity()
297 List<ResolveInfo> candidates = queryIntentActivities(intent, flags); in resolveActivity()
355 protected List<ResolveInfo> queryIntentServices(Intent intent, int flags) { in queryIntentServices()
356 List<ResolveInfo> result = new ArrayList<>(); in queryIntentServices()
357 List<ResolveInfo> resolveInfoList = queryOverriddenIntents(intent, flags); in queryIntentServices()
365 ResolveInfo resolvedService = resolveServiceForExplicitIntent(intent); in queryIntentServices()
381 private List<ResolveInfo> filterResolvedComponent( in filterResolvedComponent()
382 List<ResolveInfo> resolveInfoList, in filterResolvedComponent()
384 Function<ResolveInfo, ComponentInfo> componentInfoFn) { in filterResolvedComponent() argument
[all …]
DShadowPackageManager.java59 import android.content.pm.ResolveInfo;
126 private static final Map<Intent, List<ResolveInfo>> resolveInfoForIntent =
272 public void setResolveInfosForIntent(Intent intent, List<ResolveInfo> info) { in setResolveInfosForIntent()
274 for (ResolveInfo resolveInfo : info) { in setResolveInfosForIntent()
284 public void addResolveInfoForIntent(Intent intent, List<ResolveInfo> info) { in addResolveInfoForIntent()
295 public void addResolveInfoForIntent(Intent intent, ResolveInfo info) { in addResolveInfoForIntent()
319 public void addResolveInfoForIntentNoDefaults(Intent intent, ResolveInfo info) { in addResolveInfoForIntentNoDefaults()
321 List<ResolveInfo> infoList = resolveInfoForIntent.get(intent); in addResolveInfoForIntentNoDefaults()
330 List<ResolveInfo> infoList = resolveInfoForIntent.get(intent); in removeResolveInfosForIntent()
336 for (Iterator<ResolveInfo> iterator = infoList.iterator(); iterator.hasNext(); ) { in removeResolveInfosForIntent()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java69 import android.content.pm.ResolveInfo;
353 …List<ResolveInfo> receiverInfos = packageManager.queryBroadcastReceivers(intent, PackageManager.GE… in testQueryBroadcastReceiverSucceeds()
366 …List<ResolveInfo> receiverInfos = packageManager.queryBroadcastReceivers(intent, PackageManager.GE… in testQueryBroadcastReceiverFailsForMissingPackageName()
374 …List<ResolveInfo> receiverInfos = packageManager.queryBroadcastReceivers(intent, PackageManager.GE… in testQueryBroadcastReceiver_matchAllWithoutIntentFilter()
377 for (ResolveInfo receiverInfo : receiverInfos) { in testQueryBroadcastReceiver_matchAllWithoutIntentFilter()
661 List<ResolveInfo> activities = packageManager.queryIntentActivities(i, 0); in queryIntentActivities_EmptyResult()
670 ResolveInfo info = new ResolveInfo(); in queryIntentActivities_Match()
678 List<ResolveInfo> activities = packageManager.queryIntentActivities(i, 0); in queryIntentActivities_Match()
688 ResolveInfo info = new ResolveInfo(); in queryIntentActivities_ServiceMatch()
696 List<ResolveInfo> activities = packageManager.queryIntentActivities(i, 0); in queryIntentActivities_ServiceMatch()
[all …]
DShadowResolveInfoTest.java5 import android.content.pm.ResolveInfo;
14 private ResolveInfo mResolveInfo;
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/testing/
DFakeContextBuilder.java31 import android.content.pm.ResolveInfo;
97 (Answer<ResolveInfo>) in build()
119 private static ResolveInfo getResolveInfo(ComponentName component) { in getResolveInfo()
120 final ResolveInfo info; in getResolveInfo()
126 info = new ResolveInfo(); in getResolveInfo()
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DLabeledIntent.java25 import android.content.pm.ResolveInfo;
95 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); in resolve()
159 @Nullable ResolveInfo resolveInfo, in createRemoteAction()
187 @Nullable ResolveInfo resolveInfo, PackageManager packageManager) { in resolveDescription()
221 @Nullable ResolveInfo resolveInfo, PackageManager packageManager) { in getApplicationName()
266 CharSequence chooseTitle(LabeledIntent labeledIntent, @Nullable ResolveInfo resolveInfo); in chooseTitle()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreterConfiguration.java27 import android.content.pm.ResolveInfo;
81 List<ResolveInfo> resolveInfos = mmPackageManager.queryIntentActivities(intent, 0); in discoverForType()
82 for (ResolveInfo info : resolveInfos) { in discoverForType()
98 List<ResolveInfo> resolveInfos = mmPackageManager.queryIntentActivities(intent, 0); in discoverAll()
99 for (ResolveInfo info : resolveInfos) { in discoverAll()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DApplicationManagerFacade.java25 import android.content.pm.ResolveInfo;
67 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentActivities(intent, 0); in getLaunchableApplications()
69 for (ResolveInfo info : resolveInfos) { in getLaunchableApplications()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DPartner.java24 import android.content.pm.ResolveInfo;
187 List<ResolveInfo> receivers; in get()
202 for (ResolveInfo info : receivers) { in get()
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/
DFutureActivity.java22 import android.content.pm.ResolveInfo;
64 for (ResolveInfo resolve : getPackageManager().queryIntentActivities(intent, 0)) { in onCreate()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java29 import android.content.pm.ResolveInfo;
398 private static ResolveInfo createResolveInfo(String packageName, boolean handleAllWebDataURI) { in createResolveInfo()
399 ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfo()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DSampleChooserActivity.java24 import android.content.pm.ResolveInfo;