/libcore/libart/src/main/java/java/lang/ |
D | ClassLoader.java | 151 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
|
D | VMClassLoader.java | 35 static URL getResource(String name) { in getResource() method in VMClassLoader
|
D | Class.java | 1317 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/ |
D | test.properties | 1 This is just a resource file for getResource() tests
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassLoaderTest.java | 85 assertNull(parentClassLoader.getResource(TEST_RESOURCE_NAME)); in test_testClassLoader_getResourceLjava_lang_String() 147 java.net.URL u = classLoader.getResource(resourceName); in assertGetResourceIsValid()
|
D | ClassTest.java | 425 URL res = getClass().getResource(name); in test_getResourceLjava_lang_String()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTest.java | 133 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()
|
D | DocumentBuilderTest.java | 488 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/ |
D | XPathFactoryFinder.java | 331 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/ |
D | SchemaFactoryFinder.java | 298 return Collections.singleton(classLoader.getResource(SERVICE_ID)); in createServiceFileIterator() 411 URL it = loader.getResource(classnameAsResource); in which()
|
/libcore/support/src/test/java/tests/util/ |
D | SerializationTester.java | 122 URL url = SerializationTester.class.getClassLoader().getResource(fileName); in readObject()
|
D | ClassLoaderBuilder.java | 128 URL manifest = classLoader.getResource(manifestFile); in getApplicationClassPath()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 44 final URL url = loader.getResource(resourceName); in createTempFileWithContent()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 164 URL url = getClass().getResource("/HelloWorld.txt"); in test_deleteOnExit()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 326 it = loader.getResource(classnameAsResource); in which()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTest.java | 95 resolvedURI = getClass().getResource("/" + docURI); in resolveURI()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DOMTestCase.java | 66 resolvedURI = getClass().getResource("/" + docURI); in resolveURI()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 320 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/ |
D | ResourceBundle.java | 914 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/ |
D | ControlTest.java | 467 final URL srcFile = URLLoader.getResource(control.toResourceName( in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 1928 oinput = new ObjectInputStream(getClass().getResource( in testSerializationHarmonyRICompatible()
|