/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 100 FileInputStream getFileInputStream(File file) 103 return new FileInputStream(file); 116 boolean getFileExists(File f) { 120 long getLastModified(File f) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 24 import java.io.File; 102 FileInputStream getFileInputStream(File file) 105 return new FileInputStream(file); 118 boolean getFileExists(File f) { 122 long getLastModified(File f) {
|
/external/proguard/src/proguard/ |
ClassPathEntry.java | 37 private File file; field in class:ClassPathEntry 49 public ClassPathEntry(File file, boolean isOutput) 51 this.file = file; 63 return file.getCanonicalPath(); 67 return file.getPath(); 72 public File getFile() 74 return file; [all...] |
/external/webkit/WebCore/ |
combine-javascript-resources | 26 # Script to combine multiple JavaScript files into one file, based on 27 # the script tags in the head of an input HTML file. 31 use File::Basename; 32 use File::Path;
|
/external/webkit/WebCore/html/ |
FormDataList.h | 15 * along with this library; see the file COPYING.LIB. If not, write to 25 #include "File.h" 40 void appendFile(const String& key, PassRefPtr<File> file) 41 { appendString(key); m_list.append(file); } 47 Item(PassRefPtr<File> file) : m_file(file) { } 50 File* file() const { return m_file.get(); function in class:WebCore::FormDataList::Item [all...] |
/external/webkit/WebKitTools/Scripts/ |
do-file-rename | 29 # Script to do file renaming. 35 use File::Find; 52 my $file = $_; 54 if ($file eq "icu") { 55 $File::Find::prune = 1; 59 if ($file =~ /^\../) { 60 $File::Find::prune = 1; 64 return if $file =~ /^ChangeLog/; 65 return if -d $file; 67 push @paths, $File::Find::name [all...] |
generate-coverage-data | 33 use File::Basename; 34 use File::Spec;
|
update-iexploder-cssproperties | 39 use File::Spec; 46 my $iExploderFile = File::Spec->catfile(sourceDir(), split("/", "WebKitTools/iExploder/htdocs/cssproperties.in")); 47 my $cssPropertyNamesFile = File::Spec->catfile(sourceDir(), split("/", "WebCore/css/CSSPropertyNames.in")); 61 my $path = File::Spec->abs2rel($cssPropertyNamesFile, sourceDir()); 93 my ($file) = @_; 96 open INFO, "svn info '$file' |" or die;
|
/external/webkit/WebKitTools/iExploder/tools/ |
osx_last_crash.rb | 16 File.open(filename).readlines.each { |line| 40 puts File.basename(filename) + " - " + date
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File;
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
Menu.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 37 boolean fileFilter(File f) { 53 intent.putExtra(TestShellActivity.TEST_URL, "file://" + filename); 69 File tests_list = new File(LAYOUT_TESTS_LIST_FILE);
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
WildcardFilter.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;
39 * File dir = new File(".");
41 * File[] files = dir.listFiles(fileFilter);
102 * @param dir the file directory
106 public boolean accept(File dir, String name) {
107 if (dir != null && new File(dir, name).isDirectory()) { [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileWrapper.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 29 * An implementation of {@link IAbstractFile} extending {@link File}. 31 public class FileWrapper extends File implements IAbstractFile { 35 * Creates a new File instance from a parent abstract pathname and a child pathname string. 39 * @see File#File(File, String) 41 public FileWrapper(File parent, String child) { 46 * Creates a new File instance by converting the given pathname string into an abstrac [all...] |
/cts/tools/host/src/com/android/cts/ |
TestPlan.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 56 * Get test package names via test plan file path. 58 * @param planPath TestPlan configuration file path 68 File planFile = new File(planPath); 91 * @return if both the apk file and xml file exist, return true; 97 File xmlFile = new File(xmlPath) [all...] |
/cts/tools/vm-tests/src/util/build/ |
BuildStep.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 33 final File folder; 34 final File fileName; 37 this.folder = new File(folder); 38 this.fileName = new File(this.folder, fileName); 106 public static void copyFile(File in, File out) throws IOException {
|
DasmBuildStep.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 58 private boolean assemble(File file) { 60 String fname = file.getAbsolutePath(); 62 // read and parse .d file 66 dAsm.readD(inp, new File(fname).getName(), generate_linenum); 93 // determine where to place .dex file 96 String class_dir = class_path[0].replaceAll("/|\\.", Character.toString(File.separatorChar)); 98 dest_dir = dest_dir + File.separator + class_dir [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
AtomicFile.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 29 * Helper class for performing atomic operations on a file, by creating a 30 * backup file until a write has successfully completed. 33 private final File mBaseName; 34 private final File mBackupName; 36 public AtomicFile(File baseName) { 38 mBackupName = new File(baseName.getPath() + ".bak"); 41 public File getBaseFile() { 46 // Rename the current file so it may be used as a backup during the next rea [all...] |
/external/quake/src/com/android/quake/ |
DownloaderActivity.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 78 * @param configVersion The version of the configuration file. 89 File dest = new File(dataPath); 115 return deleteTree(new File(directory), true); 118 private static boolean deleteTree(File base, boolean deleteBase) { 121 for (File child : base.listFiles()) { 131 private static boolean versionMatches(File dest, String expectedVersion) { 139 private static Config getLocalConfig(File destPath, String configFilename) [all...] |
/build/tools/droiddoc/src/ |
ClearPage.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 54 File hdfFile = new File(dir, "data.hdf"); 122 File file = new File(outputFilename(filename)); local 124 ensureDirectory(file); 129 new FileOutputStream(file), "UTF-8"); 134 System.out.println("error: " + e.getMessage() + "; when writing file: " + filename) [all...] |
/dalvik/libcore/prefs/src/main/java/java/util/prefs/ |
FilePreferencesImpl.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; 32 * platform, using the file system as its back end. 34 * TODO some sync mechanism with backend, Performance - check file edit date 46 //prefs file name 76 //file path for this preferences node 82 //file represents this preferences node 83 private File prefsFile [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 3 * or more contributor license agreements. See the NOTICE file *
5 * regarding copyright ownership. The ASF licenses this file *
7 * "License"); you may not use this file except in compliance *
24 import java.io.File;
61 File p = null;
65 p = new File(parent.getAbsolutePath(), prefix + n);
88 File f = null;
94 f = new File(parent.getAbsolutePath(), prefix + n + suffix);
99 throw new IOException("Creating temp file failed: "
100 + "Unable to find unique file name"); 188 private File file = null; field in class:SimpleTempStorage.SimpleTempFile [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
PlatformPackage.java | 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
167 * @return A new {@link File} corresponding to the directory to use to install this package.
170 public File getInstallFolder(String osSdkRoot, String suggestedDir, SdkManager sdkManager) {
177 return new File(target.getLocation());
181 File platforms = new File(osSdkRoot, SdkConstants.FD_PLATFORMS);
182 File folder = new File(platforms,
195 File installFolder) { [all...] |