Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsService.h67 virtual status_t command(int inFd, int outFd, int err, Vector<String8>& args,
283 void dumpIncidentSection(int outFd);
288 void dumpStatsdStats(int outFd, bool verbose, bool proto);
301 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
307 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
312 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
317 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
322 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
327 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
332 status_t cmd_write_data_to_disk(int outFd);
[all …]
DStatsLogProcessor.h101 void dumpStates(int outFd, bool verbose);
/frameworks/base/native/android/
Dlooper.cpp52 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollOnce() argument
60 return looper->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
63 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollAll() argument
71 return looper->pollAll(timeoutMillis, outFd, outEvents, outData); in ALooper_pollAll()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp47 static void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int outFd);
282 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660); in saveBuffer() local
283 if (outFd <= 0) { in saveBuffer()
288 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize); in saveBuffer()
293 close(outFd); in saveBuffer()
297 FileOutputStreamLite output(outFd); in saveBuffer()
300 ALOGW("Error writing to fd=%d, path='%s' err=%d (%s)", outFd, path.c_str(), in saveBuffer()
307 close(outFd); in saveBuffer()
312 Dump(int outFd, DumpType type) : mFd(outFd), mType(type) {} in Dump() argument
323 GraphicsStatsService::Dump* GraphicsStatsService::createDump(int outFd, DumpType type) { in createDump() argument
[all …]
DGraphicsStatsService.h49 ANDROID_API static Dump* createDump(int outFd, DumpType type);
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp44 int timeoutMillis, int *outFd, int *outEvents, void **outData) { in pollOnce() argument
45 if (outFd) { *outFd = 0; } in pollOnce()
DALooper.h35 int pollOnce(int timeoutMillis, int *outFd, int *outEvents, void **outData);
DASensorManager.cpp451 int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollOnce() argument
452 int res = getTheLooper()->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
/frameworks/native/include_sensor/android/
Dlooper.h198 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
205 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
/frameworks/native/include/android/
Dlooper.h198 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
205 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp631 void StorageManager::printStats(int outFd) { in printStats() argument
632 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
633 printDirStats(outFd, STATS_DATA_DIR); in printStats()
636 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
637 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
654 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
663 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
666 dprintf(outFd, "\n"); in printDirStats()
669 dprintf(outFd, "\tTotal number of files: %d, Total size of files: %d bytes.\n", fileCount, in printDirStats()
/frameworks/base/tools/incident_report/
Dmain.cpp416 int outFd; in main() local
418 outFd = STDOUT_FILENO; in main()
420 outFd = open(outFilename, O_CREAT | O_RDWR, 0666); in main()
421 if (outFd < 0) { in main()
438 Out out(outFd); in main()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java409 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
728 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() argument
729 return BackupTransport.this.getRestoreData(outFd); in getRestoreData()
/frameworks/native/cmds/atrace/
Datrace.cpp997 static void dumpTrace(int outFd) in dumpTrace() argument
1052 result = write(outFd, out.get(), bufSize); in dumpTrace()
1072 result = write(outFd, out.get(), bytes); in dumpTrace()
1087 if (!android::base::WriteFully(outFd, buf, rc)) { in dumpTrace()
1446 int outFd = STDOUT_FILENO; in main() local
1448 outFd = open(g_outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
1450 if (outFd == -1) { in main()
1453 dprintf(outFd, "TRACE:\n"); in main()
1454 dumpTrace(outFd); in main()
1456 close(outFd); in main()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java58 final FileDescriptor outFd = data.getFileDescriptor();
87 FileOutputStream out = new FileOutputStream(outFd);
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl226 int getRestoreData(in ParcelFileDescriptor outFd); in getRestoreData() argument
/frameworks/base/cmds/statsd/src/shell/
DShellSubscriber.h68 void startNewSubscription(int inFd, int outFd, sp<IResultReceiver> resultReceiver,
/frameworks/opt/gamesdk/src/swappy/
DChoreographerThread.cpp132 int outFd, outEvents; in looperThread() local
174 ALooper_pollAll(-1, &outFd, &outEvents, &outData); in looperThread()
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h119 void printUidMap(int outFd) const;
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java668 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
690 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.h470 void dumpStats(int outFd) const;
/frameworks/opt/gamesdk/src/swappyVk/
DSwappyVk.cpp255 int outFd, outEvents; in looperThread() local
272 ALooper_pollAll(-1, &outFd, &outEvents, &outData); in looperThread()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java383 private static native long nCreateDump(int outFd, boolean isProto); in nCreateDump() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...