/libcore/luni/src/main/java/java/lang/ |
H A D | ProcessBuilder.java | 34 private File directory; field in class:ProcessBuilder 112 * Returns the working directory of this process builder. If {@code null} is 113 * returned, then the working directory of the Java process is used when a 116 * @return the current working directory, may be {@code null}. 118 public File directory() { method in class:ProcessBuilder 119 return directory; 123 * Changes the working directory of this process builder. If the specified 124 * directory is {@code null}, then the working directory of the Java 127 * @param directory 131 directory(File directory) argument [all...] |
H A D | Runtime.java | 150 * and the working directory specified by {@code directory}. 158 * @param directory 159 * the directory in which to execute the program. If {@code null}, 160 * execute if in the same directory as the parent process. 166 public Process exec(String[] progArray, String[] envp, File directory) throws IOException { argument 168 return ProcessManager.getInstance().exec(progArray, envp, directory, false); 209 * directory specified by {@code directory}. 216 * @param directory 224 exec(String prog, String[] envp, File directory) argument [all...] |
/libcore/luni/src/test/java/libcore/dalvik/system/ |
H A D | PathClassLoaderTest.java | 46 private File makeTempFile(File directory, String name) throws IOException { argument 47 directory.mkdirs(); 48 File result = new File(directory, name);
|
/libcore/ |
H A D | CaCerts.mk | 29 # $(3): destination directory 30 define include-prebuilt-with-destination-directory 45 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,target-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_target_directory)))) 55 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,host-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_host_directory))))
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | FileClientSessionCache.java | 37 * underlying directory at a time. 60 final File directory; field in class:FileClientSessionCache.Impl 77 * Constructs a new cache backed by the given directory. 79 Impl(File directory) throws IOException { argument 80 boolean exists = directory.exists(); 81 if (exists && !directory.isDirectory()) { 82 throw new IOException(directory + " exists but is not a directory."); 92 initialFiles = directory.list(); 96 throw new IOException(directory 319 usingDirectory( File directory) argument [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XsltXPathConformanceTestSuite.java | 271 * Finds the named file in the named directory. This tries extra hard to 275 private File findFile(File directory, String name) throws FileNotFoundException { argument 276 File file = new File(directory, name); 281 for (String child : directory.list()) { 283 return new File(directory, child);
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HttpResponseCache.java | 58 * Cache responses in a directory on the file system. Most clients should use 78 public HttpResponseCache(File directory, long maxSize) throws IOException { argument 79 cache = DiskLruCache.open(directory, VERSION, ENTRY_COUNT, maxSize);
|
/libcore/luni/src/main/java/java/io/ |
H A D | File.java | 36 * pathname. The pathname may be absolute (relative to the root directory 37 * of the file system) or relative to the current directory in which the program 41 * also, despite the name {@code File}, be a directory or other non-regular 99 * slashes (except for the special case of the root directory). This 114 * Constructs a new file using the specified directory and name. 117 * the directory where the file is stored. 138 * Constructs a new File using the specified directory path and file name, 142 * the path to the directory where the file is stored. 372 * child must have the same working directory as its parent. 437 * Returns the name of the file or directory represente 996 createTempFile(String prefix, String suffix, File directory) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | DiskLruCache.java | 52 * <p>The cache stores its data in a directory on the filesystem. This 53 * directory must be exclusive to the cache; the cache may delete or overwrite 54 * files from its directory. It is an error for multiple processes to use the 55 * same cache directory at the same time. 140 private final File directory; field in class:DiskLruCache 178 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { argument 179 this.directory = directory; 181 this.journalFile = new File(directory, JOURNAL_FILE); 182 this.journalFileTmp = new File(directory, JOURNAL_FILE_TM 197 open(File directory, int appVersion, int valueCount, long maxSize) argument [all...] |