Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsService.h64 virtual status_t command(int inFd, int outFd, int err, Vector<String8>& args,
227 void dumpIncidentSection(int outFd);
232 void dumpStatsdStats(int outFd, bool verbose, bool proto);
245 status_t cmd_trigger_broadcast(int outFd, Vector<String8>& args);
251 status_t cmd_trigger_active_config_broadcast(int outFd, Vector<String8>& args);
256 status_t cmd_config(int inFd, int outFd, int err, Vector<String8>& args);
261 status_t cmd_print_stats(int outFd, const Vector<String8>& args);
266 status_t cmd_dump_report(int outFd, const Vector<String8>& args);
271 status_t cmd_print_uid_map(int outFd, const Vector<String8>& args);
276 status_t cmd_write_data_to_disk(int outFd);
[all …]
DStatsLogProcessor.h111 void dumpStates(int outFd, bool verbose);
/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/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/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/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_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/base/cmds/statsd/src/storage/
DStorageManager.cpp629 void StorageManager::printStats(int outFd) { in printStats() argument
630 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
631 printDirStats(outFd, STATS_DATA_DIR); in printStats()
634 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
635 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
652 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
661 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
664 dprintf(outFd, "\n"); in printDirStats()
667 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/native/cmds/atrace/
Datrace.cpp926 static void dumpTrace(int outFd) in dumpTrace() argument
981 result = write(outFd, out.get(), bufSize); in dumpTrace()
1001 result = write(outFd, out.get(), bytes); in dumpTrace()
1016 if (!android::base::WriteFully(outFd, buf, rc)) { in dumpTrace()
1375 int outFd = STDOUT_FILENO; in main() local
1377 outFd = open(g_outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
1379 if (outFd == -1) { in main()
1382 dprintf(outFd, "TRACE:\n"); in main()
1383 dumpTrace(outFd); in main()
1385 close(outFd); in main()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp424 int outFd[2] = {-1, -1}; in shellCmdToString() local
428 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, outFd)); in shellCmdToString()
438 status_t error = IBinder::shellCommand(unitTestService, inFd[0], outFd[0], errFd[0], argsVec, in shellCmdToString()
447 close(outFd[0]); in shellCmdToString()
452 EXPECT_TRUE(ReadFdToString(outFd[1], &ret)); in shellCmdToString()
453 close(outFd[1]); in shellCmdToString()
/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/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java58 final FileDescriptor outFd = data.getFileDescriptor();
87 FileOutputStream out = new FileOutputStream(outFd);
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeMuxer.cpp117 int32_t outFd = fileno(outputFp); in Java_com_android_media_benchmark_library_Native_Mux() local
119 status = muxerObj->initMuxer(outFd, (MUXER_OUTPUT_T) outputFormat); in Java_com_android_media_benchmark_library_Native_Mux()
/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.h67 void startNewSubscription(int inFd, int outFd, sp<IResultReceiver> resultReceiver,
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h117 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/base/services/core/java/com/android/server/
DGraphicsStatsService.java383 private static native long nCreateDump(int outFd, boolean isProto); in nCreateDump() argument