Searched refs:getResourcesForApplication (Results 1 – 8 of 8) sorted by relevance
142 return manager.getResourcesForApplication( in getResourcesByPackageName()145 return manager.getResourcesForApplication( in getResourcesByPackageName()
46 Resources resources = packageManager.getResourcesForApplication(otherPackage); in decodeImageResource()
63 res = pm.getResourcesForApplication(packageName); in decode()
72 res = pm.getResourcesForApplication(packageName); in init()
166 res = pm.getResourcesForApplication(packageName); in initialiseDecoder()
209 final Resources res = pm.getResourcesForApplication(appInfo); in get()
830 protected Resources getResourcesForApplication(@NonNull ApplicationInfo applicationInfo) in getResourcesForApplication() method in ShadowApplicationPackageManager832 return getResourcesForApplication(applicationInfo.packageName); in getResourcesForApplication()1426 return getResourcesForApplication(activityName.getPackageName()); in getResourcesForActivity()1429 protected Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in ShadowApplicationPackageManager
1883 .getResourcesForApplication("org.robolectric") in getResourcesForApplication_currentApplication()1893 packageManager.getResourcesForApplication("non.existent.package"); in getResourcesForApplication_unknownPackage()1910 assertThat(packageManager.getResourcesForApplication("another.package")).isNotNull(); in getResourcesForApplication_anotherPackage()1911 assertThat(packageManager.getResourcesForApplication("another.package")) in getResourcesForApplication_anotherPackage()