Home
last modified time | relevance | path

Searched refs:outFd (Results 1 – 11 of 11) sorted by relevance

/packages/modules/StatsD/statsd/src/
DStatsService.h215 void dumpIncidentSection(int outFd);
220 void dumpStatsdStats(int outFd, bool verbose, bool proto);
233 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
239 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
244 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
249 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
254 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
259 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
264 status_t cmd_write_data_to_disk(int outFd);
270 status_t cmd_log_app_breadcrumb(int outFd, const Vector<String8>& args);
[all …]
DStatsLogProcessor.h130 void dumpStates(int outFd, bool verbose);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java537 FileDescriptor outFd = null; in transferData() local
550 outFd = outPfd.getFileDescriptor(); in transferData()
560 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
569 if (mInfoDelta.mTotalBytes > 0 && mStorage.isAllocationSupported(outFd)) { in transferData()
570 mStorage.allocateBytes(outFd, mInfoDelta.mTotalBytes); in transferData()
578 transferData(in, out, outFd); in transferData()
597 if (outFd != null) outFd.sync(); in transferData()
609 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) in transferData() argument
638 updateProgress(outFd); in transferData()
733 private void updateProgress(FileDescriptor outFd) throws IOException, StopRequestException { in updateProgress() argument
[all …]
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp736 void StorageManager::printStats(int outFd) { in printStats() argument
737 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
738 printDirStats(outFd, STATS_DATA_DIR); in printStats()
741 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
742 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
759 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
768 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
771 dprintf(outFd, "\n"); in printDirStats()
774 dprintf(outFd, "\tTotal number of files: %d, Total size of files: %d bytes.\n", fileCount, in printDirStats()
/packages/modules/adb/client/
Dcommandline.cpp335 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
347 if (outFd == STDOUT_FILENO) { in stdinout_raw_prologue()
356 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
367 if (outFd == STDOUT_FILENO) { in stdinout_raw_epilogue()
375 bool copy_to_file(int inFd, int outFd) { in copy_to_file() argument
383 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
385 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
402 if (outFd == STDOUT_FILENO) { in copy_to_file()
406 adb_write(outFd, buf.data(), len); in copy_to_file()
411 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
[all …]
Dcommandline.h103 bool copy_to_file(int inFd, int outFd);
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportService.java393 try (ParcelFileDescriptor outFd = ParcelFileDescriptor.open(outputFile, in saveBugReport() argument
397 requestBugReport(outFd, extraOutFd); in saveBugReport()
415 private void requestBugReport(ParcelFileDescriptor outFd, ParcelFileDescriptor extraOutFd) { in requestBugReport() argument
448 mBugreportManager.requestBugreport(outFd, extraOutFd, mCallback); in requestBugReport()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.h65 void startNewSubscription(int inFd, int outFd, int timeoutSec);
/packages/modules/StatsD/statsd/src/packages/
DUidMap.h117 void printUidMap(int outFd) const;
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h499 void dumpStats(int outFd) const;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9114 final FileDescriptor outFd = fds[1].getFileDescriptor(); in buildAssetFileDescriptor() local
9119 try (FileOutputStream fout = new FileOutputStream(outFd)) { in buildAssetFileDescriptor()
9124 IoUtils.closeQuietly(outFd); in buildAssetFileDescriptor()