/libcore/dalvik/src/main/java/dalvik/system/ |
D | DelegateLastClassLoader.java | 158 URL resource = Object.class.getClassLoader().getResource(name); in getResource() local 159 if (resource != null) { in getResource() 160 return resource; in getResource() 163 resource = findResource(name); in getResource() 164 if (resource != null) { in getResource() 165 return resource; in getResource()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | ClassLoaderTestSupport.java | 42 for (String resource: resources) { in setupAndCopyResources() 43 File resourceFile = new File(srcDir, resource); in setupAndCopyResources() 44 copyResource(resource, resourceFile); in setupAndCopyResources() 46 resourcesMap.put(resource, resourceFile); in setupAndCopyResources()
|
D | DelegateLastClassLoaderTest.java | 262 String resource = readResource(cl, "android/icu/ICUConfig.properties"); in testLookupOrder_bootOverride() local 263 assertFalse("NOT ICU".equals(resource)); in testLookupOrder_bootOverride()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 18 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() 156 public static String getResourceURL(String resource) { in getResourceURL() argument 157 return "http://" + Support_Configuration.TestResources + resource; in getResourceURL()
|
/libcore/luni/src/test/java/dalvik/system/ |
D | create_test_jar.sh | 24 echo -ne "child" > ./resource.txt 25 jar cf ./child.jar classes.dex resource.txt 48 echo -ne "parent" > ./resource.txt 50 jar cf ./parent.jar classes.dex resource.txt resource2.txt
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetResource.java | 22 public static String getResourceURL(String resource) { in getResourceURL() argument 23 return "http://" + Support_Configuration.TestResources + resource; in getResourceURL()
|
D | Support_GetLocal.java | 31 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactoryFinder.java | 200 for (URL resource : createServiceFileIterator()) { in _newFactory() 201 if (debug) debugPrintln("looking into " + resource); in _newFactory() 203 xpf = loadFromServicesFile(uri, resource.toExternalForm(), resource.openStream()); in _newFactory() 207 debugPrintln("failed to read "+resource); in _newFactory() 328 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID); in createServiceFileIterator() local 329 return Collections.singleton(resource); in createServiceFileIterator()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SchemaFactoryFinder.java | 220 for (URL resource : createServiceFileIterator()) { in _newFactory() 221 if (debug) debugPrintln("looking into " + resource); in _newFactory() 223 sf = loadFromServicesFile(schemaLanguage,resource.toExternalForm(), in _newFactory() 224 resource.openStream()); in _newFactory() 228 debugPrintln("failed to read "+resource); in _newFactory()
|
/libcore/support/src/test/java/tests/resources/subfolder/tests/resources/ |
D | hyts_resource.properties | 1 property=resource
|
/libcore/harmony-tests/src/test/resources/tests/resources/control_test/ |
D | hyts_resource.properties | 1 property=resource
|
/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/ |
D | test.properties | 1 This is just a resource file for getResource() tests
|
D | test#.properties | 1 This is a resource file with a # in the name
|
D | test?.properties | 1 This is a resource file with a ? in the name
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderTest.java | 35 import tests.support.resource.Support_Resources; 491 URL resource = getClass().getResource("/simple.xml"); in test_parseLjava_lang_String() local 492 Document d = db.parse(resource.toString()); in test_parseLjava_lang_String() 520 resource = getClass().getResource("/wrong.xml"); in test_parseLjava_lang_String() 521 db.parse(resource.toString()); in test_parseLjava_lang_String()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | README.txt | 6 resources in any practical way. To update the resource, use the script
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | README.txt | 6 resources in any practical way. To update the resource, use the script
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarInputStreamTest.java | 28 import tests.support.resource.Support_Resources;
|
D | OldJarEntryTest.java | 26 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/filesystems/ |
D | Android.bp | 17 // Included as a resource by //libcore:core-tests and loaded into its own
|
/libcore/luni/src/test/annotations/ |
D | Android.bp | 18 // Included as a resource by //libcore:core-tests and loaded into its own
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NodeTest.java | 24 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/parameter_metadata/ |
D | Android.bp | 20 // Included as a resource by //libcore:core-tests and loaded into its own
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | CheckedInputStreamTest.java | 26 import tests.support.resource.Support_Resources;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 27 import tests.support.resource.Support_Resources;
|