Searched defs:file (Results 1 - 9 of 9) sorted by relevance

/development/tools/idegen/src/
H A DFiles.java5 * you may not use this file except in compliance with the License.
26 * Reads file into a string using default encoding.
28 static String toString(File file) throws IOException { argument
31 Reader in = new FileReader(file);
41 * Writes a string to a file using default encoding.
43 static void toFile(String contents, File file) throws IOException { argument
44 FileWriter out = new FileWriter(file);
H A DIntelliJ.java5 * you may not use this file except in compliance with the License.
41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/")
54 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/")
61 + "url=\"file://$MODULE_DIR$/out/eclipse\"/>\n");
64 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/.repo\"/>\n");
65 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/bluetooth\"/>\n");
66 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/chromium\"/>\n");
67 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/icu4c\"/>\n");
68 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/webkit\"/>\n");
69 sourceRootsXml.append("<excludeFolder url=\"file
92 isTests(File file) argument
[all...]
H A DEclipse.java5 * you may not use this file except in compliance with the License.
33 * Generates an Eclipse .classpath file from the given configuration.
42 * If the user has a file named "path-precedence" in their project's
44 * regular expressions in that file. Source roots that match earlier
45 * patterns will come sooner in configuration file.
79 // Output source roots to configuration file.
168 private static String trimmed(File file) { argument
169 return file.getPath().substring(2);
H A DConfiguration.java5 * you may not use this file except in compliance with the License.
101 // Look for user-specific excluded-paths file in current directory.
119 * we encounter the first .java file, but it appears we have nested
130 for (File file : files) {
132 String path = file.getPath().substring(2);
137 // Only parse one .java file per directory.
140 File sourceRoot = rootOf(file);
152 jarFiles.add(file);
154 Log.debug("Skipped: " + file);
161 if (file
203 parsePackageName(File file) argument
252 parseFile(File file, Collection<Pattern> patterns) argument
[all...]
/development/samples/BackupRestore/src/com/example/android/backuprestore/
H A DBackupRestoreActivity.java5 * you may not use this file except in compliance with the License.
72 * data file in a single chunk, and restoring it upon request -- in only a few lines
99 * agent running to perform a backup while our UI is updating the file, the
107 /** Also supply a global standard file name for everyone to use */
115 /** Cache a reference to our persistent data file */
134 /** Set up our file bookkeeping */
148 * data file and establishing defaults if necessary.
151 RandomAccessFile file;
153 // Default values in case there's no data file yet
158 /** Hold the data-access lock around access to the file */
222 writeDataToFileLocked(RandomAccessFile file, boolean addMayo, boolean addTomato, int whichFilling) argument
[all...]
/development/samples/BrowserPlugin/jni/audio/
H A DAudioPlugin.h35 FILE* file; member in struct:SoundPlay
/development/tools/elftree/
H A Delftree.c203 static int dump_file(struct tree_state *t, char *name, char *file) argument
226 fd = open(file, O_RDONLY);
228 unix_err("open(%s) failed", file);
234 elf_err("elf_begin failed on %s", file);
241 app_err("%s has no strtab section", file);
258 fprintf(stderr, "Usage: elftree [ -s | -h ] elf-file\n"
/development/ndk/platforms/android-14/samples/native-media/jni/
H A Dnative-media-jni.c5 * you may not use this file except in compliance with the License.
18 * using OpenMAX AL. See the corresponding Java source file located at:
80 // handle of the file to play
81 static FILE *file; variable
83 // has the app reached the end of the file
131 rewind(file);
166 bytesRead = fread(pBufferData, 1, BUFFER_SIZE, file);
282 bytesRead = fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file);
338 // open the file to play
339 file
[all...]
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DDiskLruCache.java5 * you may not use this file except in compliance with the License.
115 * This cache uses a journal file named "journal". A typical journal file
135 * Each of the subsequent lines in the file is a record of the state of a
148 * The journal file is appended to as cache operations occur. The journal may
149 * occasionally be compacted by dropping redundant lines. A temporary file named
150 * "journal.tmp" will be used during compaction; that file should be deleted if
259 for (File file : files) {
260 if (file.isDirectory()) {
261 deleteContents(file);
455 deleteIfExists(File file) argument
[all...]

Completed in 2814 milliseconds