Home
last modified time | relevance | path

Searched refs:resolvePackageName (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowResolveInfo.java64 copy.resolvePackageName = orig.resolvePackageName; in newResolveInfo()
DShadowPackageManager.java220 static String resolvePackageName(String packageName, ComponentName componentName) { in resolvePackageName() method in ShadowPackageManager
344 if (resolveInfo.resolvePackageName != null) { in getPackageName()
345 return resolveInfo.resolvePackageName; in getPackageName()
DShadowApplicationPackageManager.java244 if (resolvePackageName(packageName, component).equals(provider.name)) { in getProviderInfo()
631 resolveInfo.resolvePackageName = componentInfo.applicationInfo.packageName; in buildResolveInfo()
711 if (resolvePackageName(packageName, className).equals(receiver.name)) { in getReceiverInfo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java779 assertThat(activities.get(0).resolvePackageName).isEqualTo("org.robolectric"); in queryIntentActivities_MatchWithExplicitIntent()
794 assertThat(activities.get(0).resolvePackageName).isEqualTo("org.robolectric"); in queryIntentActivities_MatchWithImplicitIntents()
807 assertThat(activities.get(0).resolvePackageName).isEqualTo("org.robolectric"); in queryIntentActivities_MatchWithAliasIntents()
890 assertThat(activities.get(0).resolvePackageName).isEqualTo(packageName); in queryIntentActivities_appHidden_includeUninstalled()
951 assertThat(services.get(0).resolvePackageName).isEqualTo("org.robolectric"); in queryIntentServices_MatchWithExplicitIntent()
991 assertThat(services.get(0).resolvePackageName).isEqualTo(packageName); in queryIntentServices_appHidden_includeUninstalled()
1053 assertThat(receivers.get(0).resolvePackageName).isEqualTo("org.robolectric"); in queryBroadcastReceivers_MatchWithExplicitIntent()
1074 assertThat(activities.get(0).resolvePackageName).isEqualTo(packageName); in queryBroadcastReceivers_appHidden_includeUninstalled()