Searched refs:appResources (Results 1 – 4 of 4) sorted by relevance
40 Resources appResources = ApplicationProvider.getApplicationContext().getResources(); in shouldSetUpSystemResources() local45 .isEqualTo(appResources.getString(android.R.string.copy)); in shouldSetUpSystemResources()47 assertThat(appResources.getString(R.string.howdy)).named("app resource") in shouldSetUpSystemResources()
112 Resources appResources = getApplicationContext().getResources(); in setQualifiers_updatesSystemAndAppResources() local116 assertThat(appResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()122 assertThat(appResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
231 Resources appResources = application.getResources(); in setUpApplicationState() local232 ReflectionHelpers.setField(loadedApk, "mResources", appResources); in setUpApplicationState()237 appResources.updateConfiguration(configuration, displayMetrics); in setUpApplicationState()240 populateAssetPaths(appResources.getAssets(), appManifest); in setUpApplicationState()
1401 Resources appResources = resources.get(appPackageName); in getResourcesForApplication() local1402 if (appResources == null) { in getResourcesForApplication()1403 appResources = new Resources(new AssetManager(), null, null); in getResourcesForApplication()1404 resources.put(appPackageName, appResources); in getResourcesForApplication()1406 return appResources; in getResourcesForApplication()