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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/net/disk_cache/
file.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/file.h"
12 File::File() : init_(false), mixed_(false) {}
14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {}
  /external/chromium_org/net/disk_cache/
file.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/file.h"
12 File::File() : init_(false), mixed_(false) {}
14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {}
  /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/chromium_org/third_party/WebKit/Source/modules/filesystem/
FileCallback.h 38 class File;
43 virtual bool handleEvent(File*) = 0;
FileCallback.idl 32 boolean handleEvent(File file);
  /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...]
ExtensionFileComparator.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;
27 * Compare the file name <b>extensions</b> for order
31 * by their file extension either in a case-sensitive, case-insensitive or
36 * Example of a <i>case-sensitive</i> file extension sort using the
39 * List&lt;File&gt; list = ...
43 * Example of a <i>reverse case-insensitive</i> file extension sort using the
46 * File[] array = ...
    [all...]
NameFileComparator.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;
26 * Compare the <b>names</b> of two files for order (see {@link File#getName()}).
34 * Example of a <i>case-sensitive</i> file name sort using the
37 * List&lt;File&gt; list = ...
41 * Example of a <i>reverse case-insensitive</i> file name sort using the
44 * File[] array = ...
52 public class NameFileComparator implements Comparator<File>, Serializable {
    [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...]
  /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;
  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
AndroidTestCase.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
29 public File getCacheDir() {
30 return new File(".");
  /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) {
  /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...]
  /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/chromium_org/third_party/WebKit/Source/core/fileapi/
File.h 38 class File : public Blob {
47 static PassRefPtr<File> create(const String& path, ContentTypeLookupPolicy policy = WellKnownContentTypes)
49 return adoptRef(new File(path, policy));
53 static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type)
55 return adoptRef(new File(path, srcURL, type));
58 static PassRefPtr<File> createWithRelativePath(const String& path, const String& relativePath);
60 // If filesystem files live in the remote filesystem, the port might pass the valid metadata (whose length field is non-negative) and cache in the File object.
62 // Otherwise calling size(), lastModifiedTime() and slice() will synchronously query the file metadata.
63 static PassRefPtr<File> createForFileSystemFile(const String& name, const FileMetadata& metadata)
65 return adoptRef(new File(name, metadata))
    [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");
  /libcore/luni/src/main/java/java/io/
FileFilter.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
21 * An interface for filtering {@link File} objects based on their names
24 * @see File#listFiles(FileFilter)
29 * Indicating whether a specific file should be included in a pathname list.
32 * the abstract file to check.
33 * @return {@code true} if the file should be included, {@code false}
36 public abstract boolean accept(File pathname);
FilenameFilter.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
21 * An interface for filtering {@link File} objects based on their names
24 * @see File
25 * @see File#list(FilenameFilter)
35 * the name of the file in {@code dir} to test.
40 public abstract boolean accept(File dir, String filename);
  /external/proguard/src/proguard/
Configuration.java 23 import java.io.File;
97 * An optional output file for listing the kept seeds.
98 * An empty file name means the standard output.
100 public File printSeeds;
112 * An optional output file for listing the unused classes and class
113 * members. An empty file name means the standard output.
115 public File printUsage;
171 * An optional output file for listing the obfuscation mapping.
172 * An empty file name means the standard output.
174 public File printMapping
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
FileSystemPermissionTest.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
50 * TODO: Combine this file with {@link android.os.cts.FileAccessPermissionTest}
56 File myFile = new File(getContext().getFilesDir(), "hello");
77 File myDir = new File(getContext().getFilesDir(), "helloDirectory");
98 Set<File> writableDirs = new HashSet<File>();
105 writableDirs.addAll(getWritableDirectoryiesAndSubdirectoriesOf(new File(app.dataDir)))
    [all...]

Completed in 1156 milliseconds

1 2 3 4 5 6 7 8 91011>>