Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/
DStatsService.h275 void dumpIncidentSection(int outFd);
280 void dumpStatsdStats(int outFd, bool verbose, bool proto);
293 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
299 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
304 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
309 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
314 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
319 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
324 status_t cmd_write_data_to_disk(int outFd);
330 status_t cmd_log_app_breadcrumb(int outFd, const Vector<String8>& args);
[all …]
DStatsLogProcessor.h143 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.cpp784 void StorageManager::printStats(int outFd) { in printStats() argument
785 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
786 printDirStats(outFd, STATS_DATA_DIR); in printStats()
789 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
790 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
807 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
816 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
819 dprintf(outFd, "\n"); in printDirStats()
822 dprintf(outFd, "\tTotal number of files: %d, Total size of files: %d bytes.\n", fileCount, in printDirStats()
/packages/modules/adb/client/
Dcommandline.cpp345 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
357 if (outFd == STDOUT_FILENO) { in stdinout_raw_prologue()
366 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
377 if (outFd == STDOUT_FILENO) { in stdinout_raw_epilogue()
385 bool copy_to_file(int inFd, int outFd) { in copy_to_file() argument
393 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
395 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
412 if (outFd == STDOUT_FILENO) { in copy_to_file()
416 adb_write(outFd, buf.data(), len); in copy_to_file()
421 stdinout_raw_epilogue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
[all …]
Dcommandline.h123 bool copy_to_file(int inFd, int outFd);
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportService.java414 try (ParcelFileDescriptor outFd = ParcelFileDescriptor.open(outputFile, in saveBugReport() argument
418 requestBugReport(outFd, extraOutFd); in saveBugReport()
436 private void requestBugReport(ParcelFileDescriptor outFd, ParcelFileDescriptor extraOutFd) { in requestBugReport() argument
469 mBugreportManager.requestBugreport(outFd, extraOutFd, mCallback); in requestBugReport()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.h66 bool startNewSubscription(int inFd, int outFd, int64_t timeoutSec);
/packages/modules/StatsD/statsd/src/packages/
DUidMap.h124 void printUidMap(int outFd, bool includeCertificateHash) const;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransport.java688 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
710 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h633 void dumpStats(int outFd) const;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9572 final FileDescriptor outFd = fds[1].getFileDescriptor(); in buildAssetFileDescriptor() local
9577 try (FileOutputStream fout = new FileOutputStream(outFd)) { in buildAssetFileDescriptor()
9582 IoUtils.closeQuietly(outFd); in buildAssetFileDescriptor()