Searched refs:getResourcesForApplication (Results 1 – 8 of 8) sorted by relevance
46 Resources resources = packageManager.getResourcesForApplication(otherPackage); in decodeImageResource()
329 return manager.getResourcesForApplication( in getResourcesByPackageName()332 return manager.getResourcesForApplication( in getResourcesByPackageName()
63 res = pm.getResourcesForApplication(packageName); in decode()
72 res = pm.getResourcesForApplication(packageName); in init()
166 res = pm.getResourcesForApplication(packageName); in initialiseDecoder()
165 final Resources res = pm.getResourcesForApplication(appInfo); in get()
809 protected Resources getResourcesForApplication(@NonNull ApplicationInfo applicationInfo) in getResourcesForApplication() method in ShadowApplicationPackageManager811 return getResourcesForApplication(applicationInfo.packageName); in getResourcesForApplication()1393 return getResourcesForApplication(activityName.getPackageName()); in getResourcesForActivity()1396 protected Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in ShadowApplicationPackageManager
1843 .getResourcesForApplication("org.robolectric") in getResourcesForApplication_currentApplication()1853 packageManager.getResourcesForApplication("non.existent.package"); in getResourcesForApplication_unknownPackage()1870 assertThat(packageManager.getResourcesForApplication("another.package")).isNotNull(); in getResourcesForApplication_anotherPackage()1871 assertThat(packageManager.getResourcesForApplication("another.package")) in getResourcesForApplication_anotherPackage()