Searched refs:resolvePackageName (Results 1 – 4 of 4) sorted by relevance
64 copy.resolvePackageName = orig.resolvePackageName; in newResolveInfo()
220 static String resolvePackageName(String packageName, ComponentName componentName) { in resolvePackageName() method in ShadowPackageManager344 if (resolveInfo.resolvePackageName != null) { in getPackageName()345 return resolveInfo.resolvePackageName; in getPackageName()
244 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()
779 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()