Searched refs:useLegacy (Results 1 – 15 of 15) sorted by relevance
9 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 …]
5 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()
5 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;20 assumeTrue(useLegacy()); in shouldIncludeStyleableAttributesThatDoNotHaveACorrespondingEntryInAttrClass()
6 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;35 assumeTrue(useLegacy()); in setUp()
10 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;34 assumeTrue(useLegacy()); in setup()
58 if (ShadowAssetManager.useLegacy()) { in loadStringValueAt()78 if (ShadowAssetManager.useLegacy()) { in getPositionDescription()
39 if (ShadowAssetManager.useLegacy()) { in pickShadowClass()
33 public static boolean useLegacy() { in useLegacy() method in ShadowAssetManager
340 return ShadowAssetManager.useLegacy(); in isLegacyAssetManager()
236 if (!useLegacy() && RuntimeEnvironment.getApiLevel() >= P) { in reset()
230 if (!useLegacy() && RuntimeEnvironment.getApiLevel() >= P) { in reset()
90 if (!useLegacy() && RuntimeEnvironment.getApiLevel() < P) { in reset()
1399 if (useLegacy()) { in reset()
3 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;136 if (useLegacy()) { in buildAttributeSet()
239 if (ShadowAssetManager.useLegacy()) { in setUpApplicationState()