HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 1 - 25 of 1913) 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/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...]
  /packages/apps/Email/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...]
PathFileComparator.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>path</b> of two files for order (see {@link File#getPath()}).
34 * Example of a <i>case-sensitive</i> file path sort using the
37 * List&lt;File&gt; list = ...
41 * Example of a <i>reverse case-insensitive</i> file path sort using the
44 * File[] array = ...
52 public class PathFileComparator implements Comparator<File>, Serializable {
    [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;
  /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...]
  /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...]
  /frameworks/base/core/java/android/os/
Environment.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
45 private static final File DIR_ANDROID_ROOT = getDirectory(ENV_ANDROID_ROOT, "/system");
46 private static final File DIR_MEDIA_STORAGE = getDirectory(ENV_MEDIA_STORAGE, "/data/media");
97 private final File mExternalStorage;
98 private final File mExternalStorageAndroidData;
99 private final File mExternalStorageAndroidMedia;
100 private final File mExternalStorageAndroidObb;
101 private final File mMediaStorage;
116 final File emulatedBase = new File(rawEmulatedStorageTarget)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
FileAccessPermissionTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
30 * This is testing for file access permissions.
39 * create a sdcard image file then start emulator with command emulator -sdcard <filepath>
42 * mksdcard <size> <file>
45 * TODO: Combine this file with {@link android.permission.cts.FileSystemPermissionTest}
53 File file = new File("/system"); local
54 assertTrue(file.canRead())
82 File file = new File("\/system\/app"); local
100 File file = new File("\/data\/app"); local
    [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;
42 * TODO: Combine this file with {@link android.os.cts.FileAccessPermissionTest}
48 File myFile = new File(getContext().getFilesDir(), "hello");
69 File myDir = new File(getContext().getFilesDir(), "helloDirectory");
90 Set<File> writableDirs = new HashSet<File>();
97 writableDirs.addAll(getWritableDirectoryiesAndSubdirectoriesOf(new File(app.dataDir)))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateManager.java 5 * you may not use this file except in compliance with the License.
35 import java.io.File;
50 public static File getTemplateRootFolder() {
53 File folder = new File(location, FD_TOOLS + File.separator + FD_TEMPLATES);
64 public static List<File> getExtraTemplateRootFolders() {
65 List<File> folders = new ArrayList<File>();
68 File extras = new File(location, FD_EXTRAS)
156 templateNames.put(file.getName(), file); local
    [all...]
  /external/webkit/Source/WebCore/fileapi/
FileCallback.idl 36 boolean handleEvent(in File file);
  /frameworks/base/core/java/com/android/internal/util/
JournaledFile.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
25 * their on-file semantics are slightly different that would run the risk of losing
27 * roll back to the backup file. This can be solved... but is it worth it and
32 File mReal;
33 File mTemp;
36 public JournaledFile(File real, File temp) {
41 /** Returns the file for you to read.
43 * Prefers the real file. If it doesn't exist, uses the temp one, and then copie
    [all...]

Completed in 815 milliseconds

1 2 3 4 5 6 7 8 91011>>