/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 12 String8 file; member in class:SourcePos
|
H A D | ApkBuilder.cpp | 5 * you may not use this file except in compliance with the License. 59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument 62 if (mSplits[i]->matches(file)) { 63 return mSplits.editItemAt(i)->addEntry(path, file); 109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument 110 if (!mFiles.insert(OutputEntry(path, file)).second) { 111 // Duplicate file.
|
H A D | Package.cpp | 41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file); 68 * If the file already exists, fail unless "update" or "force" is set. 90 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string()); 103 fprintf(stderr, "ERROR: unable to open '%s' as Zip file for writing\n", 121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); 133 printf("Included %d file%s from jar/zip files.\n", count, (count==1) ? "" : "s"); 159 printf("Removed %d file%s\n", removed, (removed==1) ? "" : "s"); 174 delete zip; // close the file so we can remove it in Win32 181 // If we've been asked to generate a dependency file for the .ap_ package, 184 // The dependency file get 245 processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file) argument [all...] |
/frameworks/webview/chromium/tools/WebViewShell/ |
H A D | run_startup_time_test.sh | 10 adb push $TMPFILE /data/local/tmp/file.html 12 adb shell am start -n com.android.htmlviewer/.HTMLViewerActivity -d "file:///data/local/tmp/file.html" -a VIEW -t "text/html" 28 adb shell rm /data/local/tmp/file.html
|
/frameworks/wilhelm/src/ |
H A D | locks.h | 5 * you may not use this file except in compliance with the License. 17 /** \file locks.h Mutual exclusion and condition variables */ 20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line); 21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line); 23 const char *file, int line); 24 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
|
/frameworks/wilhelm/tests/ |
H A D | Android.mk | 26 $(foreach file,$(test_src_files), \ 31 $(eval LOCAL_SRC_FILES := $(file)) \
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 83 std::string file; local 86 file.assign(pNamespec); 90 SpecToFilename(pNamespec, file); 106 if (file == entry.path()->filename()) 114 if (file == entry.path()->stem().native() ) { 128 if (file == entry.path()->stem().native() && 150 std::string file; local 153 file.assign(pNamespec); 157 SpecToFilename(pNamespec, file); [all...] |
/frameworks/base/core/java/com/android/server/ |
H A D | BootReceiver.java | 5 * you may not use this file except in compliance with the License. 137 // Negative sizes mean to take the *tail* of the file (see FileUtils.readTextFile()) 167 // This gets registered with the singleton file observer thread. 172 File file = new File(TOMBSTONE_DIR, path); 173 if (file.isFile()) { 174 addFileToDropBox(db, prefs, headers, file.getPath(), LOG_SIZE, "SYSTEM_TOMBSTONE"); 198 File file = new File(filename); 199 long fileTime = file.lastModified(); 204 if (lastTime == fileTime) return; // Already logged this particular file 211 db.addText(tag, headers + FileUtils.readTextFile(file, maxSiz [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | SamplingProfilerService.java | 5 * you may not use this file except in compliance with the License. 79 private void handleSnapshotFile(File file, DropBoxManager dropbox) { argument 81 dropbox.addFile(TAG, file, 0); 82 if (LOCAL_LOGV) Slog.v(TAG, file.getPath() + " added to dropbox"); 84 Slog.e(TAG, "Can't add " + file.getPath() + " to dropbox", e); 86 file.delete();
|
H A D | DropBoxManagerService.java | 5 * you may not use this file except in compliance with the License. 75 // TODO: This implementation currently uses one file per entry, which is 76 // inefficient for smallish entries -- consider using a single queue file 301 entry.tag, entry.timestampMillis, entry.file, entry.flags); 303 Slog.e(TAG, "Can't read: " + entry.file, e); 304 // Continue to next file 334 } else if (args[i].equals("-f") || args[i].equals("--file")) { 367 if (entry.file == null) { 368 out.append(" (no file)\n"); 377 out.append(", ").append(entry.file 471 public final File file; field in class:DropBoxManagerService.EntryFile 535 EntryFile(File file, int blockSize) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ContextCompat.java | 5 * you may not use this file except in compliance with the License. 376 private synchronized static File createFilesDir(File file) { argument 377 if (!file.exists()) { 378 if (!file.mkdirs()) { 379 if (file.exists()) { 381 return file; 383 Log.w(TAG, "Unable to create files subdir " + file.getPath()); 387 return file;
|
/frameworks/compile/mclinker/unittests/ |
H A D | FactoriesTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 173 MCLDFile* file = m_pFileAlloc->produce(); local 183 sprintf(name, "file %d", counter); 186 MCLDFile* file = m_pFileAlloc->produce( string(name), local 191 ASSERT_TRUE(file->isRecognized()); 192 ASSERT_STREQ(name, file->name().data()); 200 sprintf(name, "file %d", counter); 203 MCLDFile* file = m_pFileAlloc->produce( string(name), local 211 MCLDFileFactory::iterator file = m_pFileAlloc->begin(); local 214 while (file! [all...] |
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 5 * you may not use this file except in compliance with the License. 75 EAS_FILE file; local 76 file.path = filename; 77 file.fd = 0; 78 file.offset = 0; 79 file.length = 0; 80 result = EAS_OpenFile(easData, &file, &easHandle);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileBridgeTest.java | 5 * you may not use this file except in compliance with the License. 35 private File file; field in class:FileBridgeTest 44 file = getContext().getFileStreamPath("meow.dat"); 45 file.delete(); 47 fileOs = new FileOutputStream(file); 58 file.delete(); 74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file)));
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | DiagnosticEngine.h | 5 // This file is distributed under the University of Illinois Open Source 100 State() : numArgs(0), ID(-1), severity(None), file(NULL) { } 107 file = NULL; 117 Input* file; member in struct:mcld::DiagnosticEngine::State
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListLogBuffer.h | 5 * you may not use this file except in compliance with the License. 35 void outputCommands(FILE *file);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 5 * you may not use this file except in compliance with the License. 63 /** Magic number for current version of cache file format. */ 92 for (File file : files) { 93 file.delete(); 112 File file = getFileForKey(key); 115 cis = new CountingInputStream(new FileInputStream(file)); 117 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); 120 VolleyLog.d("%s: %s", file.getAbsolutePath(), e.toString()); 151 for (File file : files) { 154 fis = new FileInputStream(file); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaMuxer.java | 5 * you may not use this file except in compliance with the License. 30 * mp4 file as the output and at most one audio and/or one video elementary 78 /** MPEG4 media file format*/ 113 * @param path The path of the output media file. 114 * @param format The format of the output media file. 116 * @throws IOException if failed to open the file for write 126 // Use RandomAccessFile so we can open the file with RW access; 127 // RW access allows the native writer to memory map the output file. 128 RandomAccessFile file = null; 130 file [all...] |
H A D | MiniThumbFile.java | 5 * you may not use this file except in compliance with the License. 32 * This class handles the mini-thumb file. A mini-thumb file consists 42 * @hide This file is shared between MediaStore and MediaProvider and should remained internal use 62 for (MiniThumbFile file : sThumbFiles.values()) { 63 file.deactivate(); 70 MiniThumbFile file = sThumbFiles.get(type); 72 if (file == null) { 73 file = new MiniThumbFile( 75 sThumbFiles.put(type, file); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 5 * you may not use this file except in compliance with the License. 68 /** When not flushing delay this long before writing the first file out. This gives the next 323 private String fileToString(File file) { argument 326 BufferedReader reader = new BufferedReader(new FileReader(file)); 327 StringBuffer sb = new StringBuffer((int) file.length() * 2); 335 Slog.e(TAG, "Couldn't read file " + file.getName()); 409 Slog.e(TAG, "Failing file: " + fileToString(taskFile)); 415 Slog.d(TAG, "Deleting file=" + taskFile.getName()); 459 File file 1081 OtherDeviceTask(File file, ComponentName componentName, int taskId, int affiliatedTaskId, ArraySet<String> launchPackages) argument 1101 createFromFile(File file) argument [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 5 // This file is distributed under the University of Illinois Open Source 172 // For all relocation sections of each input file (in the tree), 173 // read out reloc entry info from the object file and accordingly 263 FileHandle file; local 275 default: assert(0 && "Unknown file type"); 278 if (!file.open(pPath, 286 FileOutputBuffer::create(file, 291 file.close(); 297 FileHandle file; local 298 file [all...] |
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | genheaders.py | 53 write('Enabling debug (-debug)', file=sys.stderr) 56 write('Enabling dump (-dump)', file=sys.stderr) 59 write('Disabling inclusion protection in output headers', file=sys.stderr) 62 write('Enabling profiling (-profile)', file=sys.stderr) 67 write('Using registry ', regFilename, file=sys.stderr) 69 write('Enabling timing (-time)', file=sys.stderr) 72 write('Enabling group validation (-validate)', file=sys.stderr) 75 write('Unrecognized argument:', arg, file=sys.stderr) 79 write('Using target', target, file=sys.stderr) 208 '** <GL/glext.h> in the same source file [all...] |
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 5 * you may not use this file except in compliance with the License. 72 sp<FileSource> file = new FileSource(path); local 73 CHECK_EQ(file->initCheck(), (status_t)OK); 75 ID3 tag(file);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintFileDocumentAdapter.java | 5 * you may not use this file except in compliance with the License. 40 * want to print a file and intercept when the system is ready 41 * spooling the data, so you can delete the file if it is a 43 * and delete the file yourself. 63 * @param file The PDF file to print. 64 * @param documentInfo The information about the printed file. 66 public PrintFileDocumentAdapter(Context context, File file, argument 68 if (file == null) { 75 mFile = file; [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 5 * use this file except in compliance with the License. You may obtain a copy 120 // so find the last checked-in file and go from there. 149 final AtomicFile file = files.valueAt(i); 151 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX); 152 if (!file.getBaseFile().renameTo(checkedInFile)) { 155 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath() 239 final AtomicFile file = files.valueAt(i); 242 Slog.i(TAG, "Deleting file " + file [all...] |