/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; 29 private static final File ROOT_DIRECTORY 39 public static File getRootDirectory() { 45 * If Encrypted File system is enabled, it returns an encrypted directory (/data/secure/system). 47 * @return File object representing the secure storage system directory. 50 public static File getSystemSecureDirectory() { 52 return new File(SECURE_DATA_DIRECTORY, "system"); 54 return new File(DATA_DIRECTORY, "system"); 60 * If Encrypted File system is enabled, it returns an encrypted directory (/data/secure) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetsetup/ |
CtsBuildHelper.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 31 private final File mRootDir; 33 private final File mCtsDir; 40 * @throws FileNotFoundException if file does not exist 42 public CtsBuildHelper(File rootDir) throws FileNotFoundException { 44 mCtsDir = new File(mRootDir, CTS_DIR_NAME); 52 * @return a {@link File} representing the parent folder of the CTS installation 54 public File getRootDir() { 59 * @return a {@link File} representing the "android-cts" folder of the CTS installatio [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]);
|
/external/emma/core/java12/com/vladium/util/ |
IConstants.java | 11 import java.io.File; 23 File [] EMPTY_FILE_ARRAY = new File [0];
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/targetsetup/ |
StubCtsBuildHelper.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 30 File tmpFolder= FileUtil.createTempDir("ctstmp"); 31 File ctsinstall = new File(tmpFolder, CtsBuildHelper.CTS_DIR_NAME); 36 private StubCtsBuildHelper(File rootDir) throws FileNotFoundException { 41 public File getTestApp(String appFileName) throws FileNotFoundException { 42 return new File("tmp"); 46 public File getTestPlansDir() throws FileNotFoundException { 47 return new File("tmp") [all...] |
/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);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
DuplicateFileException.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 24 * An exception thrown during packaging of an APK file. 29 private final File mFile1; 30 private final File mFile2; 32 public DuplicateFileException(String archivePath, File file1, File file2) { 43 public File getFile1() { 47 public File getFile2() {
|
/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<File> 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<File> 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...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/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; 46 private static void deleteTempFolder(File dir) { 50 File f = new File(dir, files[i]); 62 if (File.separatorChar == path.charAt(path.length() - 1)) { 65 return path + File.separator; 69 private File tempDirectory 121 File file = new File(root, "\/dir\/file"); local 1014 File file; local 1248 File file = new File(dir, "notADir.tst"); local 1338 File file = new File(dir, "notADir.tst"); local 1465 File file = new File(baseDir, "notADir.tst"); local 1582 File file = new File(dir, "notADir.tst"); local 2259 File file = new File("FileTest.golden.ser"); local [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...] |
/libcore/luni/src/test/java/libcore/dalvik/system/ |
PathClassLoaderTest.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 32 File tmp = new File(System.getProperty("java.io.tmpdir")); 33 File systemLibPath = new File(tmp, "systemLibPath"); 34 File applicationLibPath = new File(tmp, "applicationLibPath"); 36 File applicationLib = makeTempFile(applicationLibPath, "libduplicated.so"); 46 private File makeTempFile(File directory, String name) throws IOException [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> 44 * TODO: Combine this file with {@link android.permission.cts.FileSystemPermissionTest} 52 File file = new File("/system"); local 53 assertTrue(file.canRead()) 81 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...] |