Searched refs:directory (Results 1 - 11 of 11) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DProcessBuilder.java34 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 DRuntime.java78 // Add a '/' to the end of each directory so we don't have to do it every time.
155 * and the working directory specified by {@code directory}.
163 * @param directory
164 * the directory in which to execute the program. If {@code null},
165 * execute if in the same directory as the parent process.
171 public Process exec(String[] progArray, String[] envp, File directory) throws IOException { argument
173 return ProcessManager.getInstance().exec(progArray, envp, directory, false);
214 * directory specified by {@code directory}
229 exec(String prog, String[] envp, File directory) argument
[all...]
/libcore/luni/src/test/java/libcore/dalvik/system/
H A DPathClassLoaderTest.java46 private File makeTempFile(File directory, String name) throws IOException { argument
47 directory.mkdirs();
48 File result = new File(directory, name);
/libcore/
H A DCaCerts.mk29 # $(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))))
54 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,host-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_host_directory))))
H A DNativeCode.mk35 # $(1): directory containing the makefile to include
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DProcessBuilderTest.java82 assertNull(pb.directory());
88 ProcessBuilder pbReturn = pb.directory(dir);
90 assertEquals(dir, pb.directory());
92 pbReturn = pb.directory(null);
94 assertNull(pb.directory());
/libcore/dalvik/src/main/java/dalvik/system/
H A DBaseDexClassLoader.java38 * @param optimizedDirectory directory where optimized dex files
127 for (File directory : pathList.getNativeLibraryDirectories()) {
131 result.append(directory);
H A DDexPathList.java76 * @param libraryPath list of native library directory path elements,
78 * @param optimizedDirectory directory where optimized {@code .dex} files
80 * system directory for same
143 * Splits the given library directory path string into elements
165 * file or a directory (as specified). Either string may be empty
270 * Converts a dex/jar file path and an output directory to an
373 * one in the earliest listed directory, ignoring any that are not
381 for (File directory : nativeLibraryDirectories) {
382 String path = new File(directory, fileName).getPath();
411 return "directory \""
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DFileTest.java29 File directory = new File(base, UUID.randomUUID().toString());
30 assertTrue(directory.mkdirs());
31 return directory;
66 * This test assumes you can create symbolic links in the temporary directory. This
128 // directory is? (In practice, on Android, our temporary directory is accessed through
154 * This test assumes you can create symbolic links in the temporary directory. This
235 // Set up a directory to test in.
238 // mkdirs returns true only if it _creates_ a directory.
239 // So we get false for a directory tha
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DXsltXPathConformanceTestSuite.java271 * 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/java/io/
H A DFile.java36 * 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.
432 * Returns the name of the file or directory represente
989 createTempFile(String prefix, String suffix, File directory) argument
[all...]

Completed in 534 milliseconds