Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/
DStatsService.h276 void dumpIncidentSection(int outFd);
281 void dumpStatsdStats(int outFd, bool verbose, bool proto);
294 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
300 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
305 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
310 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
315 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
320 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
325 status_t cmd_write_data_to_disk(int outFd);
331 status_t cmd_log_app_breadcrumb(int outFd, const Vector<String8>& args);
[all …]
DStatsLogProcessor.h143 void dumpStates(int outFd, bool verbose) const;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java538 FileDescriptor outFd = null; in transferData() local
551 outFd = outPfd.getFileDescriptor(); in transferData()
561 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
570 if (mInfoDelta.mTotalBytes > 0 && mStorage.isAllocationSupported(outFd)) { in transferData()
571 mStorage.allocateBytes(outFd, mInfoDelta.mTotalBytes); in transferData()
579 transferData(in, out, outFd); in transferData()
598 if (outFd != null) outFd.sync(); in transferData()
610 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) in transferData() argument
639 updateProgress(outFd); in transferData()
734 private void updateProgress(FileDescriptor outFd) throws IOException, StopRequestException { in updateProgress() argument
[all …]
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp782 void StorageManager::printStats(int outFd) { in printStats() argument
783 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
784 printDirStats(outFd, STATS_DATA_DIR); in printStats()
787 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
788 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
805 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
814 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
817 dprintf(outFd, "\n"); in printDirStats()
820 dprintf(outFd, "\tTotal number of files: %d, Total size of files: %d bytes.\n", fileCount, in printDirStats()
/packages/modules/adb/client/
Dcommandline.cpp349 static void stdinout_raw_prologue(int inFd, int outFd, int& old_stdin_mode, int& old_stdout_mode) { in stdinout_raw_prologue() argument
361 if (outFd == STDOUT_FILENO) { in stdinout_raw_prologue()
370 static void stdinout_raw_epilogue(int inFd, int outFd, int old_stdin_mode, int old_stdout_mode) { in stdinout_raw_epilogue() argument
381 if (outFd == STDOUT_FILENO) { in stdinout_raw_epilogue()
389 bool copy_to_file(int inFd, int outFd) { in copy_to_file() argument
397 D("copy_to_file(%d -> %d)", inFd, outFd); in copy_to_file()
399 stdinout_raw_prologue(inFd, outFd, old_stdin_mode, old_stdout_mode); in copy_to_file()
416 if (outFd == STDOUT_FILENO) { in copy_to_file()
420 adb_write(outFd, buf.data(), len); in copy_to_file()
425 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.java420 try (ParcelFileDescriptor outFd = ParcelFileDescriptor.open(outputFile, in saveBugReport() argument
424 requestBugReport(outFd, extraOutFd); in saveBugReport()
442 private void requestBugReport(ParcelFileDescriptor outFd, ParcelFileDescriptor extraOutFd) { in requestBugReport() argument
475 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.h119 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.h746 void dumpStats(int outFd) const;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9595 final FileDescriptor outFd = fds[1].getFileDescriptor(); in buildAssetFileDescriptor() local
9600 try (FileOutputStream fout = new FileOutputStream(outFd)) { in buildAssetFileDescriptor()
9605 IoUtils.closeQuietly(outFd); in buildAssetFileDescriptor()