HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 476 - 500 of 1913) sorted by null

<<11121314151617181920>>

  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
55 private File mRootDir;
65 public File cacheFile;
67 private CacheEntry(long id, String contentUrl, File cacheFile) {
74 public static void deleteFiles(Context context, File rootDir, String dbName) {
77 File[] files = rootDir.listFiles();
79 for (File file : rootDir.listFiles()) {
80 String name = file.getName()
144 FileEntry file = queryDatabase(downloadUrl); local
    [all...]
  /cts/hostsidetests/aadb/src/com/android/cts/aadb/
TestDeviceFuncTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
90 * Push and then pull a file from device, and verify contents are as expected.
94 File tmpFile = null;
95 File tmpDestFile = null;
103 // ensure file does not already exist
124 * Push and then pull a file from device, and verify contents are as expected.
130 File tmpFile = null;
131 File tmpDestFile = null;
132 File tmpDestFile2 = null
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaScannerTest.java 5 * you may not use this file except in compliance with the License.
42 import java.io.File;
48 private File mMediaFile;
57 // prepare the media file.
63 mMediaFile = new File(fileName);
68 File out = new File(path);
69 File dir = out.getParentFile();
82 new File(mFileDir + "/testmp3.mp3").delete();
83 new File(mFileDir + "/testmp3_2.mp3").delete()
    [all...]
  /external/clang/tools/libclang/
CIndexHigh.cpp 5 // This file is distributed under the University of Illinois Open Source
132 /// \brief For a macro \arg Loc, returns the file spelling location and sets
197 // We are looking for identifiers in a specific file.
216 const FileEntry *File,
221 FileID FID = SM.translateFile(File);
249 const FileEntry *File;
253 FindFileMacroRefVisitData(ASTUnit &Unit, const FileEntry *File,
256 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { }
292 // We are looking for identifiers in a specific file
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverTransfer.java 23 import java.io.File;
40 * milliseconds, we consider a new file transfer from the
56 // In the states below we still accept new file transfer
170 if (DBG) Log.d(TAG, "Could not get mimeType for file.");
174 // Do wait to see if there's another file coming.
206 File file = new File(uri.getPath()); local
207 if (file.exists()) file.delete()
    [all...]
  /external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
ANTLR3.java 5 * you may not use this file except in compliance with the License.
62 * Invokes the ANTLR3 Translator generator on a grammar file.
68 /** the file to process */
69 private File target = null;
71 private File outputDirectory = null;
73 private File libDirectory = null;
74 /** an optional super grammar file */
75 private File superGrammar;
82 /** optional flag to print out a diagnostic file */
91 private File workingdir = null
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
LibraryClasspathContainerInitializer.java 5 * you may not use this file except in compliance with the License.
47 import java.io.File;
198 Set<File> jarFiles = new HashSet<File>();
247 File annotationsJar = new File(Sdk.getCurrent().getSdkLocation(),
248 SdkConstants.FD_TOOLS + File.separator + SdkConstants.FD_SUPPORT +
249 File.separator + SdkConstants.FN_ANNOTATIONS_JAR);
269 List<File> sanitizedList = sanitizer.sanitize(jarFiles);
271 for (File jarFile : sanitizedList)
366 File file = new File(value); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadCache.java 5 * you may not use this file except in compliance with the License.
36 import java.io.File;
73 private final File mRoot;
81 public DownloadCache(GalleryApp application, File root, long capacity) {
96 File file = new File(cursor.getString(QUERY_INDEX_DATA)); local
102 entry = new Entry(id, file);
137 // Finally, we need to download the file ....
176 new File(path).delete()
287 File file = future.get(); local
    [all...]
  /development/apps/Development/src/com/android/development/
CacheAbuser.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
54 final File mBaseDir;
58 AbuseTask(File cacheDir, boolean quick) {
59 File dir = new File(cacheDir, quick ? "quick" : "slow");
60 mBaseDir = new File(dir, Long.toString(System.currentTimeMillis()));
71 File dir = new File(mBaseDir, Long.toString(dir1num));
72 File file = new File(dir, Long.toString(dir2num)) local
    [all...]
  /external/chromium/chrome/common/extensions/
user_script.cc 3 // found in the LICENSE file.
50 UserScript::File::File(const FilePath& extension_root,
58 UserScript::File::File() {}
60 UserScript::File::~File() {}
93 void UserScript::File::Pickle(::Pickle* pickle) const {
99 void UserScript::File::Unpickle(const ::Pickle& pickle, void** iter) {
135 for (FileList::const_iterator file = js_scripts_.begin()
209 File file; local
219 File file; local
    [all...]
  /external/icu4c/tools/gendraft/
genheaders.pl 8 #* file name: genheaders.pl
15 #* This tool filters the deprecated.html and friends file generated by Doxygen and generates udarft.h
19 use File::Find;
20 use File::Basename;
21 use IO::File;
23 use File::Copy;
25 use File::Path;
26 use File::Copy;
77 $excludeFH = IO::File->new($exclude,"r")
78 or die "could not open the file $exclude for reading: $! \n"
    [all...]
  /frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
49 private final File mStatsXtIfaceAll;
51 private final File mStatsXtIfaceFmt;
53 private final File mStatsXtUid;
56 this(new File("/proc/"));
60 public NetworkStatsFactory(File procRoot) {
61 mStatsXtIfaceAll = new File(procRoot, "net/xt_qtaguid/iface_stat_all");
62 mStatsXtIfaceFmt = new File(procRoot, "net/xt_qtaguid/iface_stat_fmt");
63 mStatsXtUid = new File(procRoot, "net/xt_qtaguid/stats")
    [all...]
  /frameworks/base/services/java/com/android/server/
BootReceiver.java 5 * you may not use this file except in compliance with the License.
35 import java.io.File;
50 private static final File TOMBSTONE_DIR = new File("/data/tombstones");
107 .append(FileUtils.readTextFile(new File("/proc/version"), 1024, "...\n"))
120 // Negative sizes mean to take the *tail* of the file (see FileUtils.readTextFile())
135 File[] tombstoneFiles = TOMBSTONE_DIR.listFiles();
142 // This gets registered with the singleton file observer thread.
147 String filename = new File(TOMBSTONE_DIR, path).getPath();
163 File file = new File(filename)
184 File file = new File("\/proc\/last_kmsg"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/jar/
DalvikExecTest.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
41 File dalvikvm = new File("/system/bin/dalvikvm");
63 new File(tmp, "dalvik-cache").mkdir();
76 File jarFile;
81 File tempDir = Support_Resources.createTempFolder();
100 // Create a temp file, fill it with contents according to Dalvik JAR format, and execute it on dalvikvm using -classpath option.",
102 File jarFile = File.createTempFile("cts_dalvikExecTest_", ".jar")
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropLoader.java 5 * you may not use this file except in compliance with the License.
37 import java.io.File;
196 public static File getFinalSaveDirectory(Context context, Uri sourceUri) {
197 File saveDirectory = getSaveDirectory(context, sourceUri);
199 saveDirectory = new File(Environment.getExternalStorageDirectory(),
214 public static File getNewFile(Context context, Uri sourceUri, String filename) {
215 File saveDirectory = getFinalSaveDirectory(context, sourceUri);
216 return new File(saveDirectory, filename + ".JPG");
243 private static File getSaveDirectory(Context context, Uri sourceUri) {
244 final File[] dir = new File[1]
299 File file = getNewFile(context, sourceUri, filename); local
    [all...]
  /sdk/attribute_stats/src/
Analyzer.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
63 private List<File> mDirectories;
64 private File mCurrentFile;
79 private File mXmlMetadataFile;
81 private Analyzer(List<File> directories, File xmlMetadataFile, boolean listAdvanced) {
96 File metadataFile = null;
97 List<File> directories = new ArrayList<File>();
114 File file = new File(args[i]); local
    [all...]
  /cts/tools/cfassembler/src/dxconvext/
ClassFileAssembler.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
52 // The input is a .cfh (class file hex) file.
53 // The output is a java vm .class file.
55 // 1. create the initial .cfh file from an existing .class files by using
57 // 2. modify some bytes to damage the structure of the .class file in a
63 // Use the ClassFileAssembler to generate the .class file.
65 // file, parses them as hex values and writes the bytes to the class file
    [all...]
  /cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
CtsXmlGenerator.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
47 Set<File> expectationFiles = new HashSet<File>();
48 File manifestFile = null;
65 manifestFile = new File(getArg(args, ++i, "Missing value for manifest"));
69 expectationFiles.add(new File(getArg(args, ++i,
72 outputPath = getArg(args, ++i, "Missing value for output file");
  /external/clang/include/clang/Basic/
Module.h 5 // This file is distributed under the University of Illinois Open Source
10 /// \file
68 /// \brief The AST file if this is a top-level module which has a
69 /// corresponding serialized AST file, or null otherwise.
96 /// \brief Whether this module was loaded from a module file.
157 /// \brief The location of the 'export' keyword in the module map file.
272 /// \brief The serialized AST file for this module, if one was created.
277 /// \brief Set the serialized AST file for the top-level module of this module.
278 void setASTFile(const FileEntry *File) {
279 assert((getASTFile() == 0 || getASTFile() == File) && "file path changed")
    [all...]
  /external/clang/include/clang/Frontend/
FrontendOptions.h 5 // This file is distributed under the University of Illinois Open Source
34 EmitAssembly, ///< Emit a .s file.
35 EmitBC, ///< Emit a .bc file.
37 EmitLLVM, ///< Emit a .ll file.
40 EmitObj, ///< Emit a .o file.
49 PrintPreamble, ///< Print the "preamble" of the input file
78 /// \brief An input file for the front end.
80 /// \brief The file name, or "-" to read from standard input.
81 std::string File;
85 /// \brief The kind of input, e.g., C source, AST file, LLVM IR
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
VersionTrackerTask.java 13 * and writes <element>=<element>_<version> for each in a properties file.
14 * The file produced from this task can be loaded by an Ant script to find files in the
42 //the path to the file in which to write the results
110 allElements.add(getBuildDirectory()+File.separator+"plugins"+File.separator+element+File.separator+"plugin.xml");
116 allElements.add(getBuildDirectory()+File.separator+"plugins"+File.separator+element+File.separator+"fragment.xml");
156 System.out.println("Unable to write to file "+propertiesFile)
    [all...]
  /external/emma/core/java12/com/vladium/emma/rt/
RT.java 11 import java.io.File;
88 // class cache and allows output file writing to succeed even if
148 public static synchronized void dumpCoverageData (File outFile, final boolean merge, final boolean stopDataCollection)
159 public static synchronized void dumpCoverageData (File outFile, final boolean stopDataCollection)
179 private static File getCoverageOutFile ()
186 return new File (property);
189 return new File (EMMAProperties.DEFAULT_COVERAGE_DATA_OUT_FILE);
  /external/protobuf/src/google/protobuf/testing/
googletest.cc 35 #include <google/protobuf/testing/file.h>
72 while (!File::Exists(prefix + "/src/google/protobuf")) {
73 if (!File::Exists(prefix)) {
102 // On Win32, tmpnam() returns a file prefixed with '\', but which is supposed
118 File::DeleteRecursively(name_, NULL, NULL);
127 // Stick a file in the directory that tells people what this is, in case
129 File::WriteStringToFileOrDie("", name_ + "/TEMP_DIR_FOR_PROTOBUF_TESTS");
191 File::ReadFileToStringOrDie(stdout_capture_filename_, &result);
206 File::ReadFileToStringOrDie(stderr_capture_filename_, &result);
  /frameworks/base/core/java/android/os/storage/
StorageVolume.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
37 private final File mPath;
44 /** Maximum file size for the storage, or zero for no limit */
54 public StorageVolume(File path, int descriptionId, boolean primary, boolean removable,
70 mPath = new File(in.readString());
81 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) {
96 public File getPathFile() {
180 * Returns maximum file size for the volume, or zero if it is unbounded.
182 * @return maximum file siz
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
93 private File makeFile() throws Exception {
94 File tmp = File.createTempFile("FileOutputStreamTest", "tmp");
103 File tmp = makeFile();
158 File tmp = makeFile();

Completed in 826 milliseconds

<<11121314151617181920>>