Home
last modified time | relevance | path

Searched refs:useLegacy (Results 1 – 15 of 15) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java9 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
49 assumeTrue(!useLegacy()); in openFd_shouldProvideFileDescriptorForDeflatedAsset()
61 int expectedFileSize = useLegacy() ? 6559 : 5138; in openNonAssetShouldOpenRealAssetFromResources()
71 if (useLegacy()) { in openNonAssetShouldOpenFileFromAndroidJar()
82 assumeTrue(useLegacy()); in openNonAssetShouldThrowExceptionWhenFileDoesNotExist()
93 assumeTrue(useLegacy()); in unknownResourceIdsShouldReportPackagesSearched()
105 if (!useLegacy()) return; in forSystemResources_unknownResourceIdsShouldReportPackagesSearched()
116 if (!useLegacy()) return; in openNonAssetShouldOpenCorrectAssetBasedOnQualifierMdpi()
125 if (!useLegacy()) return; in openNonAssetShouldOpenCorrectAssetBasedOnQualifierHdpi()
181 if (!useLegacy()) return; in attrsToTypedArray_shouldAllowMockedAttributeSets()
[all …]
DShadowResourcesTest.java5 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
72 if (useLegacy()) { in openRawResourceFd_returnsNull_todo_FIX()
192 assumeTrue(useLegacy()); in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
219 if (!useLegacy()) { in getXml_shouldHavePackageContextForReferenceResolution()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceTableFactoryIntegrationTest.java5 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
20 assumeTrue(useLegacy()); in shouldIncludeStyleableAttributesThatDoNotHaveACorrespondingEntryInAttrClass()
DResourceLoaderTest.java6 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
35 assumeTrue(useLegacy()); in setUp()
DDrawableResourceLoaderTest.java10 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
34 assumeTrue(useLegacy()); in setup()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypedArray.java58 if (ShadowAssetManager.useLegacy()) { in loadStringValueAt()
78 if (ShadowAssetManager.useLegacy()) { in getPositionDescription()
DResourceModeShadowPicker.java39 if (ShadowAssetManager.useLegacy()) { in pickShadowClass()
DShadowAssetManager.java33 public static boolean useLegacy() { in useLegacy() method in ShadowAssetManager
DShadowResources.java340 return ShadowAssetManager.useLegacy(); in isLegacyAssetManager()
DShadowArscAssetManager10.java236 if (!useLegacy() && RuntimeEnvironment.getApiLevel() >= P) { in reset()
DShadowArscAssetManager9.java230 if (!useLegacy() && RuntimeEnvironment.getApiLevel() >= P) { in reset()
DShadowArscAssetManager.java90 if (!useLegacy() && RuntimeEnvironment.getApiLevel() < P) { in reset()
DShadowLegacyAssetManager.java1399 if (useLegacy()) { in reset()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectric.java3 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
136 if (useLegacy()) { in buildAttributeSet()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java239 if (ShadowAssetManager.useLegacy()) { in setUpApplicationState()