Searched defs:resource (Results 1 - 10 of 10) sorted by relevance

/libcore/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java18 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);
117 "Unable to copy file from resource " + resourceName + " to file " + dest, e);
156 public static String getResourceURL(String resource) { argument
157 return "http://" + Support_Configuration.TestResources + resource;
161 * Util method to load resource file
[all...]
/libcore/
H A DJavaLibrary.mk44 define all-core-resource-dirs
52 test_resource_dirs := $(filter-out ojluni/%,$(call all-core-resource-dirs,test))
55 ojtest_resource_dirs := $(filter ojluni/%,$(call all-core-resource-dirs,test))
/libcore/ojluni/src/main/java/java/time/chrono/
H A DHijrahChronology.java145 * property resource that defines the {@code ID}, the {@code calendar type},
161 * <td>The property resource defining the {@code {ID}} variant</td>
162 * <td>The property resource is located with the {@code calendars.properties} file</td>
172 * The Hijrah property resource is a set of properties that describe the calendar.
351 * The resource and calendar type are retrieved from properties
866 * Return the configuration properties from the resource.
868 * The default location of the variant configuration resource is:
870 * "$java.home/lib/" + resource-name
873 * @param resource the name of the calendar property resource
877 readConfigProperties(final String resource) argument
[all...]
/libcore/luni/src/main/java/android/system/
H A DOs.java224 /** @hide */ public static StructRlimit getrlimit(int resource) throws ErrnoException { return Libcore.os.getrlimit(resource); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java102 public StructRlimit getrlimit(int resource) throws ErrnoException { return os.getrlimit(resource); } argument
H A DLinux.java93 public native StructRlimit getrlimit(int resource) throws ErrnoException; argument
H A DOs.java88 public StructRlimit getrlimit(int resource) throws ErrnoException; argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp36 #include <sys/resource.h>
1376 static jobject Linux_getrlimit(JNIEnv* env, jobject, jint resource) { argument
1378 if (throwIfMinusOne(env, "getrlimit", TEMP_FAILURE_RETRY(getrlimit(resource, &r))) == -1) {
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java20 * This file is a subset of the frameworks' R.java (resource definition) file
2111 public static final int resource = 0; field in class:R

Completed in 340 milliseconds