HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 1 - 25 of 2605) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/smali/util/src/test/java/org/jf/util/
PathUtilTest.java 33 import java.io.File;
39 File[] roots = File.listRoots();
42 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
43 File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt")
    [all...]
  /external/google-breakpad/src/processor/
pathname_stripper_unittest.cc 48 ASSERT_EQ(PathnameStripper::File("/dir/file"), "file");
49 ASSERT_EQ(PathnameStripper::File("\\dir\\file"), "file");
50 ASSERT_EQ(PathnameStripper::File("/dir\\file"), "file");
51 ASSERT_EQ(PathnameStripper::File("\\dir/file"), "file")
    [all...]
  /frameworks/base/rs/java/android/renderscript/
RenderScriptCacheDir.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 * renderscript object file cache.
33 public static void setupDiskCache(File cacheDir) {
38 static File mCacheDir;
  /external/vogar/src/vogar/
Target.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
29 public abstract File defaultDeviceDir();
32 public abstract List<File> ls(File directory) throws FileNotFoundException;
33 public abstract void await(File nonEmptyDirectory);
34 public abstract void rm(File file);
35 public abstract void mkdirs(File file);
    [all...]
FileCache.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
22 * Interacts with a file system on behalf of a cache.
28 void copyToCache(File source, String key);
30 void copyFromCache(String key, File destination);
Action.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
23 * files and classes for compiling and running a Java source file.
31 private final File resourcesDirectory;
32 private final File sourcePath;
33 private final File javaFile;
34 private File userDir = new File(System.getProperty("user.dir"));
36 public Action(String name, String actionClass, File resourcesDirectory,
37 File sourcePath, File javaFile)
    [all...]
HostFileCache.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
25 private final File CACHE_ROOT = new File("/tmp/vogar-md5-cache");
35 private void cp(File source, File destination) {
44 private void mv(File source, File destination) {
53 public void copyFromCache(String key, File destination) {
54 File cachedFile = new File(CACHE_ROOT, key)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DefaultFileComparator.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
24 * Compare two files using the <b>default</b> {@link File#compareTo(File)} method.
27 * by using the default file comparison.
32 * List&lt;File&gt; list = ...
39 * File[] array = ...
47 public class DefaultFileComparator implements Comparator<File>, Serializable
    [all...]
LastModifiedFileComparator.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
25 * (see {@link File#lastModified()}).
33 * List&lt;File&gt; list = ...
40 * File[] array = ...
48 public class LastModifiedFileComparator implements Comparator<File>, Serializable {
51 public static final Comparator<File> LASTMODIFIED_COMPARATOR = new LastModifiedFileComparator();
54 public static final Comparator<File> LASTMODIFIED_REVERSE = new ReverseComparator<File>(LASTMODIFIED_COMPARATOR)
    [all...]
  /art/runtime/
os.h 5 * you may not use this file except in compliance with the License.
26 typedef ::unix_file::FdFile File;
32 // Open an existing file with read only access.
33 static File* OpenFileForReading(const char* name);
35 // Open an existing file with read/write access.
36 static File* OpenFileReadWrite(const char* name);
38 // Create an empty file with read/write access.
39 static File* CreateEmptyFile(const char* name);
41 // Open a file with the specified open(2) flags.
42 static File* OpenFileWithFlags(const char* name, int flags)
    [all...]
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/
ProgressListener.java 27 import java.io.File;
33 public void onDirectory(File file);
35 public void onFileAddition(File file);
39 public void onFileScan(File file);
41 public void onInplaceConversion(File file);
  /external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/internal/
NopProgressListener.java 27 import java.io.File;
33 public void onDirectory(File file) {
39 public void onFileAddition(File file) {
42 public void onFileScan(File file) {
45 public void onInplaceConversion(File file) {
  /libcore/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 3 import java.io.File;
12 File file1 = new File(args[0]);
13 File file2 = new File(args[1]);
  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void file(File file) { method in class:Rm
27 new Command("rm", "-f", file.getPath()).execute();
30 public void directoryTree(File directory) {
Mkdir.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void mkdirs(File directory) {
  /external/emma/core/java12/com/vladium/util/
IConstants.java 11 import java.io.File;
23 File [] EMPTY_FILE_ARRAY = new File [0];
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
SaveVideoFileInfo.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
22 public File mFile = null;
25 public File mDirectory = null;
  /libcore/dalvik/src/main/java/dalvik/system/
TemporaryDirectory.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
36 public static synchronized void setUpDirectory(File baseDir) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileTest.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
41 private static void deleteTempFolder(File dir) {
45 File f = new File(dir, files[i]);
57 if (File.separatorChar == path.charAt(path.length() - 1)) {
60 return path + File.separator;
66 private File tempDirectory
118 File file = new File(root, "\/dir\/file"); local
985 File file; local
1206 File file = new File(dir, "notADir.tst"); local
1296 File file = new File(dir, "notADir.tst"); local
1423 File file = new File(baseDir, "notADir.tst"); local
1540 File file = new File(dir, "notADir.tst"); local
2188 File file = new File("FileTest.golden.ser"); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
FileTreeTraverserTest.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
34 private File dir;
43 File[] files = dir.listFiles();
49 for (File file : files) {
50 file.delete();
61 File file = newFile("test"); local
62 assertDirChildren(file);
66 File file = newDir("test"); local
79 File file = new File(dir, name); local
85 File file = new File(dir, name); local
    [all...]
  /external/junit/src/org/junit/rules/
TemporaryFolder.java 3 import java.io.File;
20 * File createdFile= folder.newFile(&quot;myfile.txt&quot;);
21 * File createdFolder= folder.newFolder(&quot;subfolder&quot;);
28 private File folder;
49 * Returns a new fresh file with the given name under the temporary folder.
51 public File newFile(String fileName) throws IOException {
52 File file= new File(getRoot(), fileName); local
53 file.createNewFile()
68 File file = getRoot(); local
    [all...]
  /external/vogar/src/vogar/android/
DeviceFileCache.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 private final File cacheRoot;
32 private Set<File> cachedFiles;
34 public DeviceFileCache(Log log, File deviceDir, AndroidSdk androidSdk) {
36 this.cacheRoot = new File(deviceDir, "md5-cache");
43 cachedFiles = new HashSet<File>();
48 cachedFiles = new HashSet<File>();
51 File cachedFile = new File(cacheRoot, key)
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
CtsBuildHelper.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
35 private final File mRootDir;
37 private final File mCtsDir;
45 public CtsBuildHelper(File rootDir) {
47 mCtsDir = new File(mRootDir, CTS_DIR_NAME);
89 * @return a {@link File} representing the parent folder of the CTS installation
91 public File getRootDir() {
96 * @return a {@link File} representing the "android-cts" folder of the CTS installation
98 public File getCtsDir()
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
FileSystem.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
27 * #SYSTEM} implementation, which uses the host machine's local file system. Alternate
31 * <p>All operations on a file system are racy. For example, guarding a call to {@link #source}
33 * The file may be moved between the two calls!
35 * <p>This interface is less ambitious than {@link java.nio.file.FileSystem} introduced in Java 7.
36 * It lacks important features like file watching, metadata, permissions, and disk space
41 /** The host machine's local file system. */
43 @Override public Source source(File file) throws FileNotFoundException
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/build/
StubCtsBuildHelper.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
27 super(new File("tmp"));
36 public File getTestApp(String appFileName) throws FileNotFoundException {
37 return new File("tmp");

Completed in 1010 milliseconds

1 2 3 4 5 6 7 8 91011>>