Home
last modified time | relevance | path

Searched refs:getResource (Results 1 – 21 of 21) sorted by relevance

/libcore/libart/src/main/java/java/lang/
DClassLoader.java151 return SystemClassLoader.loader.getResource(resName); in getSystemResource()
400 public URL getResource(String resName) { in getResource() method in ClassLoader
401 URL resource = parent.getResource(resName); in getResource()
442 URL url = getResource(resName); in getResourceAsStream()
786 return VMClassLoader.getResource(name); in findResource()
831 public URL getResource(String resName) { in getResource() method in BootClassLoader
DVMClassLoader.java35 static URL getResource(String name) { in getResource() method in VMClassLoader
DClass.java1317 public URL getResource(String resourceName) { in getResource() method in Class
1336 return loader.getResource(resourceName); in getResource()
/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/
Dtest.properties1 This is just a resource file for getResource() tests
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java85 assertNull(parentClassLoader.getResource(TEST_RESOURCE_NAME)); in test_testClassLoader_getResourceLjava_lang_String()
147 java.net.URL u = classLoader.getResource(resourceName); in assertGetResourceIsValid()
DClassTest.java425 URL res = getClass().getResource(name); in test_getResourceLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserTest.java133 private InputStream getResource(String name) { in getResource() method in SAXParserTest
165 getResource(SAXParserTestSupport.XML_WF + "staff.xml")); in initFiles()
168 getResource(SAXParserTestSupport.XML_WF + "staff.dtd")); in initFiles()
171 getResource(SAXParserTestSupport.XML_NWF + "staff.xml")); in initFiles()
174 getResource(SAXParserTestSupport.XML_NWF + "staff.dtd")); in initFiles()
177 getResource(SAXParserTestSupport.XML_WF_OUT_DH + "staff.out")); in initFiles()
179 getResource(SAXParserTestSupport.XML_WF_OUT_HB + "staff.out")); in initFiles()
DDocumentBuilderTest.java488 URL resource = getClass().getResource("/simple.xml"); in test_parseLjava_lang_String()
517 resource = getClass().getResource("/wrong.xml"); in test_parseLjava_lang_String()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java331 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID); in createServiceFileIterator()
370 URL it = loader.getResource(classnameAsResource); in which()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java298 return Collections.singleton(classLoader.getResource(SERVICE_ID)); in createServiceFileIterator()
411 URL it = loader.getResource(classnameAsResource); in which()
/libcore/support/src/test/java/tests/util/
DSerializationTester.java122 URL url = SerializationTester.class.getClassLoader().getResource(fileName); in readObject()
DClassLoaderBuilder.java128 URL manifest = classLoader.getResource(manifestFile); in getApplicationClassPath()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/
DFileURLConnectionTest.java44 final URL url = loader.getResource(resourceName); in createTempFileWithContent()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java164 URL url = getClass().getResource("/HelloWorld.txt"); in test_deleteOnExit()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java326 it = loader.getResource(classnameAsResource); in which()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java95 resolvedURI = getClass().getResource("/" + docURI); in resolveURI()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java66 resolvedURI = getClass().getResource("/" + docURI); in resolveURI()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java320 URL url = getClass().getClassLoader().getResource( in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly()
886 assertNull(getClass().getResource( in test_getResourceLjava_lang_String()
888 assertNull(getClass().getResource(getClass().getName() + "NonExistentResource")); in test_getResourceLjava_lang_String()
/libcore/luni/src/main/java/java/util/
DResourceBundle.java914 url = loader.getResource(resourceName); in newBundle()
991 URL url = loader.getResource(urlname); in needsReload()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DControlTest.java467 final URL srcFile = URLLoader.getResource(control.toResourceName( in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java1928 oinput = new ObjectInputStream(getClass().getResource( in testSerializationHarmonyRICompatible()