Home
last modified time | relevance | path

Searched refs:useLegacyResources (Results 1 – 12 of 12) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSandboxFactory.java33 boolean useLegacyResources, DependencyResolver dependencyResolver) { in getSdkEnvironment() argument
34 SandboxKey key = new SandboxKey(sdkConfig, instrumentationConfig, useLegacyResources); in getSdkEnvironment()
61 private final boolean useLegacyResources; field in SandboxFactory.SandboxKey
64 InstrumentationConfiguration instrumentationConfiguration, boolean useLegacyResources) { in SandboxKey() argument
67 this.useLegacyResources = useLegacyResources; in SandboxKey()
79 return useLegacyResources == that.useLegacyResources in equals()
87 return Objects.hash(sdkConfig, instrumentationConfiguration, useLegacyResources); in hashCode()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java37 private static boolean useLegacyResources; field in RuntimeEnvironment
225 public static boolean useLegacyResources() { in useLegacyResources() method in RuntimeEnvironment
226 return useLegacyResources; in useLegacyResources()
235 public static void setUseLegacyResources(boolean useLegacyResources) { in setUseLegacyResources() argument
236 RuntimeEnvironment.useLegacyResources = useLegacyResources; in setUseLegacyResources()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DNativeObjRegistry.java171 private boolean useLegacyResources; field in NativeObjRegistry.Trace
178 this.useLegacyResources = (boolean) runtimeEnvClass.getMethod("useLegacyResources") in Trace()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DXmlPullParserTest.java70 if (!RuntimeEnvironment.useLegacyResources()) { in xmlParser()
90 if (!RuntimeEnvironment.useLegacyResources()) { in xmlParser()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DStyleResourceLoaderTest.java21 assumeTrue(RuntimeEnvironment.useLegacyResources()); in setUp()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAssetManager.java34 return RuntimeEnvironment.useLegacyResources(); in useLegacy()
DShadowArscResourcesImpl.java57 if (RuntimeEnvironment.useLegacyResources()) { in reset()
DShadowLegacyResourcesImpl.java47 if (RuntimeEnvironment.useLegacyResources()) { in reset()
DShadowArscApkAssets9.java155 + (RuntimeEnvironment.useLegacyResources() ? "legacy" : "binary") in loadFromPath()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerSelfTest.java30 if (RuntimeEnvironment.useLegacyResources()) { in shouldInitializeAndBindApplicationButNotCallOnCreate()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java125 if (RuntimeEnvironment.useLegacyResources()) { in setUpApplicationState()
395 if (RuntimeEnvironment.useLegacyResources()) { in setUpPackageStorage()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DXmlResourceParserImplTest.java275 assumeTrue(RuntimeEnvironment.useLegacyResources()); in testIsWhitespace()