Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 54) sorted by relevance

123

/libcore/support/src/test/java/tests/support/
DSupport_GetResource.java22 public static String getResourceURL(String resource) { in getResourceURL() argument
23 return "http://" + Support_Configuration.TestResources + resource; in getResourceURL()
DSupport_GetLocal.java31 import tests.support.resource.Support_Resources;
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java18 package tests.support.resource;
47 File resource = new File(ANDROID_BUILD_TOP + "/libcore/support/src/test/java" + path); in getStream() local
48 if (resource.exists()) { in getStream()
50 return new FileInputStream(resource); in getStream()
52 throw new IllegalArgumentException("Couldn't open: " + resource, ex); in getStream()
160 public static String getResourceURL(String resource) { in getResourceURL() argument
161 return "http://" + Support_Configuration.TestResources + resource; in getResourceURL()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java203 for (URL resource : createServiceFileIterator()) { in _newFactory()
204 if (debug) debugPrintln("looking into " + resource); in _newFactory()
206 xpf = loadFromServicesFile(uri, resource.toExternalForm(), resource.openStream()); in _newFactory()
210 debugPrintln("failed to read "+resource); in _newFactory()
331 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID); in createServiceFileIterator() local
332 return Collections.singleton(resource); in createServiceFileIterator()
/libcore/support/src/test/java/tests/resources/subfolder/tests/resources/
Dhyts_resource.properties1 property=resource
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java223 for (URL resource : createServiceFileIterator()) { in _newFactory()
224 if (debug) debugPrintln("looking into " + resource); in _newFactory()
226 sf = loadFromServicesFile(schemaLanguage,resource.toExternalForm(), in _newFactory()
227 resource.openStream()); in _newFactory()
231 debugPrintln("failed to read "+resource); in _newFactory()
/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/
Dtest.properties1 This is just a resource file for getResource() tests
Dtest#.properties1 This is a resource file with a # in the name
/libcore/libart/src/main/java/java/lang/
DClassLoader.java401 URL resource = parent.getResource(resName); in getResource() local
402 if (resource == null) { in getResource()
403 resource = findResource(resName); in getResource()
405 return resource; in getResource()
/libcore/luni/src/test/etc/loading-test2-jar/
DREADME.txt6 resources in any sane way. To update the resource, use the script
/libcore/luni/src/test/etc/loading-test-jar/
DREADME.txt6 resources in any sane way. To update the resource, use the script
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java33 import tests.support.resource.Support_Resources;
488 URL resource = getClass().getResource("/simple.xml"); in test_parseLjava_lang_String() local
489 Document d = db.parse(resource.toString()); in test_parseLjava_lang_String()
517 resource = getClass().getResource("/wrong.xml"); in test_parseLjava_lang_String()
518 db.parse(resource.toString()); in test_parseLjava_lang_String()
/libcore/
DJavaLibrary.mk48 define all-core-resource-dirs
54 core_resource_dirs := $(call all-core-resource-dirs,main)
55 test_resource_dirs := $(call all-core-resource-dirs,test)
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarInputStreamTest.java28 import tests.support.resource.Support_Resources;
DOldJarEntryTest.java26 import tests.support.resource.Support_Resources;
DOldJarFileTest.java27 import tests.support.resource.Support_Resources;
DOldManifestTest.java29 import tests.support.resource.Support_Resources;
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipInputStreamTest.java37 import tests.support.resource.Support_Resources;
DOldZipFileTest.java27 import tests.support.resource.Support_Resources;
DOldZipInputStreamTest.java30 import tests.support.resource.Support_Resources;
/libcore/luni/src/test/java/libcore/xml/
DNodeTest.java24 import tests.support.resource.Support_Resources;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DCheckedInputStreamTest.java26 import tests.support.resource.Support_Resources;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarEntryTest.java29 import tests.support.resource.Support_Resources;
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory3Test.java29 import tests.support.resource.Support_Resources;
DCertificateFactory4Test.java22 import tests.support.resource.Support_Resources;

123