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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/WebCore/html/
File.cpp 27 #include "File.h"
33 File::File(const String& path)
File.h 35 class File : public Blob {
37 static PassRefPtr<File> create(const String& path)
39 return adoptRef(new File(path));
49 File(const String& path);
  /frameworks/base/core/java/android/os/
Environment.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 private static final File ROOT_DIRECTORY
36 public static File getRootDirectory() {
40 private static final File DATA_DIRECTORY
43 private static final File EXTERNAL_STORAGE_DIRECTORY
46 private static final File EXTERNAL_STORAGE_ANDROID_DATA_DIRECTORY
47 = new File (new File(getDirectory("EXTERNAL_STORAGE", "/sdcard"),
50 private static final File EXTERNAL_STORAGE_ANDROID_MEDIA_DIRECTOR
    [all...]
  /dalvik/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]);
  /external/emma/core/java12/com/vladium/util/
IConstants.java 11 import java.io.File;
23 File [] EMPTY_FILE_ARRAY = new File [0];
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
FileTest.java 2 * contributor license agreements. See the NOTICE file distributed with
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
30 @TestTargetClass(File.class)
44 * @tests java.io.File#File(java.io.File, java.lang.String)
49 method = "File",
50 args = {java.io.File.class, java.lang.String.class
56 File file = new File(root, "\/dir\/file"); local
135 File file; local
198 File file = new File("FileTest.golden.ser"); local
    [all...]
  /dalvik/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
25 * An interface for filtering {@link File} objects based on their names
28 * @see File#listFiles(FileFilter)
33 * Indicating whether a specific file should be included in a pathname list.
36 * the abstract file to check.
37 * @return {@code true} if the file should be included, {@code false}
40 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);
FileWriter.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 * A specialized {@link Writer} that writes to a file in the file system.
34 * Creates a FileWriter using the File {@code file}.
36 * @param file
37 * the non-null File to write bytes to.
39 * if {@code file} cannot be opened for writing
    [all...]
  /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...]
  /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 = ...
56 * Compare the two files using the {@link File#compareTo(File)} method.
    [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 = ...
59 * @param obj1 The first file to compare
60 * @param obj2 The second file to compare
61 * @return a negative value if the first file's lastmodified date/time
    [all...]
  /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;
23 File mReal;
24 File mTemp;
27 public JournaledFile(File real, File temp) {
32 /** Returns the file for you to read.
34 * Prefers the real file. If it doesn't exist, uses the temp one, and then copies
35 * it to the real one. If there is both a real file and a temp one, assumes that the
38 public File chooseForRead()
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/filefilter/
AbstractFileFilter.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;
36 * Checks to see if the File should be accepted by this filter.
38 * @param file the File to check
39 * @return true if this file matches the test
41 public boolean accept(File file) {
    [all...]
FalseFileFilter.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;
23 * A file filter that always returns false.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name) {
    [all...]
IOFileFilter.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;
35 * Checks to see if the File should be accepted by this filter.
39 * @param file the File to check
40 * @return true if this file matches the test
42 public boolean accept(File file);
    [all...]
TrueFileFilter.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;
23 * A file filter that always returns true.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name) {
    [all...]
EmptyFileFilter.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 * If the <code>File</code> is a directory it checks that
32 * File dir = new File(".");
44 * File dir = new File(".");
69 * Checks to see if the file is empty.
    [all...]
  /development/tools/idegen/src/
IntelliJ.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
33 File templatesDirectory = new File(c.toolDirectory, "templates");
34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR));
35 Files.toFile(ipr, new File(IDEA_IPR));
37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML));
40 for (File sourceRoot : c.sourceRoots) {
41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/")
53 for (File excludedDir : c.excludesUnderSourceRoots())
    [all...]
Configuration.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
37 public final SortedSet<File> sourceRoots;
40 public final List<File> jarFiles;
43 public final SortedSet<File> excludedDirs;
46 public final File toolDirectory;
48 /** File name used for excluded path files. */
56 this.toolDirectory = new File("development/tools/idegen");
68 List<File> jarFiles = new ArrayList<File>(500)
    [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;
29 * This is testing for file access permissions.
38 * create a sdcard image file then start emulator with command emulator -sdcard <filepath>
41 * mksdcard <size> <file>
50 File file = new File("/system"); local
51 assertTrue(file.canRead());
52 assertFalse(file.canWrite())
79 File file = new File("\/data\/app"); local
    [all...]
  /frameworks/base/services/java/com/android/server/am/
DeviceMonitor.java 5 * you may not use this file except in compliance with the License.
77 private static final File PROC = new File("/proc");
78 private static final File BASE = new File("/data/anr/");
85 private static final File[] PATHS = {
86 new File(PROC, "zoneinfo"),
87 new File(PROC, "interrupts"),
88 new File(PROC, "meminfo"),
89 new File(PROC, "slabinfo")
    [all...]
  /external/proguard/src/proguard/io/
FileDataEntry.java 28 * This <code>DataEntry</code> represents a file.
34 private final File directory;
35 private final File file; field in class:FileDataEntry
39 public FileDataEntry(File directory,
40 File file)
43 this.file = file;
51 // Chop the directory name from the file name and get the right separators
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
FileTest.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
25 * Checks creation and deletion of a file.
32 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); local
34 assertTrue(file.exists());
35 assertTrue(file.delete());
36 assertFalse(file.exists());
  /dalvik/libcore/luni/src/test/java/tests/api/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;
44 @TestTargetClass(File.class)
48 private File tempDirectory;
50 /** Temp file that does exist */
51 private File tempFile;
53 /** File separator */
54 private String slash = File.separator
1345 File file = new File(dir, "notADir.tst"); local
1449 File file = new File(dir, "notADir.tst"); local
1593 File file = new File(baseDir, "notADir.tst"); local
1728 File file = new File(dir, "notADir.tst"); local
    [all...]

Completed in 705 milliseconds

1 2 3 4 5 6 7 8 91011>>