/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetResource.java | 22 public static String getResourceURL(String resource) { argument 23 return "http://" + Support_Configuration.TestResources + resource;
|
H A D | Support_GetLocal.java | 31 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathFactoryFinder.java | 89 * to be used to load resource, {@link SchemaFactory}, and 203 for (URL resource : createServiceFileIterator()) { 204 if (debug) debugPrintln("looking into " + resource); 206 xpf = loadFromServicesFile(uri, resource.toExternalForm(), resource.openStream()); 210 debugPrintln("failed to read "+resource); 331 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID); 332 return Collections.singleton(resource); 364 * @return the source location of the resource, or null if it wasn't found
|
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 18 package tests.support.resource; 47 File resource = new File(ANDROID_BUILD_TOP + "/libcore/support/src/test/java" + path); 48 if (resource.exists()) { 50 return new FileInputStream(resource); 52 throw new IllegalArgumentException("Couldn't open: " + resource, ex); 56 throw new IllegalArgumentException("No such resource: " + path); 160 public static String getResourceURL(String resource) { argument 161 return "http://" + Support_Configuration.TestResources + resource; 165 * Util method to load resource files 167 * @param name - name of resource fil [all...] |
/libcore/luni/src/main/java/javax/xml/validation/ |
H A D | SchemaFactoryFinder.java | 93 * to be used to load resource, {@link SchemaFactory}, and 223 for (URL resource : createServiceFileIterator()) { 224 if (debug) debugPrintln("looking into " + resource); 226 sf = loadFromServicesFile(schemaLanguage,resource.toExternalForm(), 227 resource.openStream()); 231 debugPrintln("failed to read "+resource); 404 * @return the source location of the resource, or null if it wasn't found
|
/libcore/libdvm/src/main/java/java/lang/ |
H A D | ClassLoader.java | 129 * Finds the URL of the resource with the specified name. The system class 130 * loader's resource lookup algorithm is used to find the resource. 132 * @return the {@code URL} object for the requested resource or {@code null} 133 * if the resource can not be found. 135 * the name of the resource to find. 143 * Returns an enumeration of URLs for the resource with the specified name. 144 * The system class loader's resource lookup algorithm is used to find the 145 * resource. 150 * the name of the resource t [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | ClassLoader.java | 141 * Finds the URL of the resource with the specified name. The system class 142 * loader's resource lookup algorithm is used to find the resource. 144 * @return the {@code URL} object for the requested resource or {@code null} 145 * if the resource can not be found. 147 * the name of the resource to find. 155 * Returns an enumeration of URLs for the resource with the specified name. 156 * The system class loader's resource lookup algorithm is used to find the 157 * resource. 162 * the name of the resource t [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldJarInputStreamTest.java | 28 import tests.support.resource.Support_Resources;
|
H A D | OldJarEntryTest.java | 26 import tests.support.resource.Support_Resources;
|
H A D | OldJarFileTest.java | 27 import tests.support.resource.Support_Resources;
|
H A D | DalvikExecTest.java | 32 import tests.support.resource.Support_Resources; 115 // Now add a resource file: 143 * dumping its contents read as a simple text resource. 170 // Now add a resource file: 209 * in the 'cts_dalvikExecTest_classes.dex' resource file.
|
H A D | OldManifestTest.java | 29 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | NodeTest.java | 24 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
H A D | DocumentBuilderTest.java | 33 import tests.support.resource.Support_Resources; 488 URL resource = getClass().getResource("/simple.xml"); 489 Document d = db.parse(resource.toString()); 517 resource = getClass().getResource("/wrong.xml"); 518 db.parse(resource.toString());
|
/libcore/luni/src/main/native/ |
H A D | java_lang_ProcessManager.cpp | 24 #include <sys/resource.h>
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldZipFileTest.java | 21 import tests.support.resource.Support_Resources; 78 // the file hyts_zipFile.zip in setup must be included as a resource
|
H A D | OldZipInputStreamTest.java | 30 import tests.support.resource.Support_Resources;
|
/libcore/ |
H A D | JavaLibrary.mk | 48 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) 171 # resource with a "#" in its name, but Perforce doesn't
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | CertificateFactory3Test.java | 29 import tests.support.resource.Support_Resources;
|
H A D | CertificateFactory4Test.java | 22 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLClassLoaderTest.java | 40 import tests.support.resource.Support_Resources; 91 String[] resValues = { "This is a test resource file.", 92 "This is a resource from a subdir"}; 124 assertEquals("Returned incorrect resource/or in wrong order", 222 assertNotNull("Failed to locate resource", res); 225 assertEquals("Returned incorrect resource", new String(Support_TestWebData.test1), 255 assertNull("Found inexistant resource", 257 assertNotNull("Couldn't find resource from directory", 259 assertNotNull("Couldn't find resource from jar", 262 assertNotNull("Couldn't find resource fro [all...] |
H A D | OldJarURLConnectionTest.java | 40 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | ResourceBundleTest.java | 32 import tests.support.resource.Support_Resources; 131 "resource", bundle.getString("property"));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldRuntimeTest.java | 29 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | ZipFileTest.java | 21 import tests.support.resource.Support_Resources; 51 // the file hyts_zipFile.zip in setup must be included as a resource
|