Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/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.h135 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/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/libs/hwui/service/
DGraphicsStatsService.cpp52 static void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int outFd);
344 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660); in saveBuffer() local
345 if (outFd <= 0) { in saveBuffer()
350 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize); in saveBuffer()
355 close(outFd); in saveBuffer()
359 FileOutputStreamLite output(outFd); in saveBuffer()
362 ALOGW("Error writing to fd=%d, path='%s' err=%d (%s)", outFd, path.c_str(), in saveBuffer()
369 close(outFd); in saveBuffer()
374 Dump(int outFd, DumpType type) : mFd(outFd), mType(type) { in Dump() argument
437 GraphicsStatsService::Dump* GraphicsStatsService::createDump(int outFd, DumpType type) { in createDump() argument
[all …]
DGraphicsStatsService.h51 ANDROID_API static Dump* createDump(int outFd, DumpType type);
/frameworks/native/libs/binder/ndk/test/
Dlibbinder_ndk_unit_test.cpp354 int outFd[2] = {-1, -1}; in shellCmdToString() local
358 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, outFd)); in shellCmdToString()
368 status_t error = IBinder::shellCommand(unitTestService, inFd[0], outFd[0], errFd[0], argsVec, in shellCmdToString()
377 close(outFd[0]); in shellCmdToString()
382 EXPECT_TRUE(ReadFdToString(outFd[1], &ret)); in shellCmdToString()
383 close(outFd[1]); in shellCmdToString()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp737 void StorageManager::printStats(int outFd) { in printStats() argument
738 printDirStats(outFd, STATS_SERVICE_DIR); in printStats()
739 printDirStats(outFd, STATS_DATA_DIR); in printStats()
742 void StorageManager::printDirStats(int outFd, const char* path) { in printDirStats() argument
743 dprintf(outFd, "Printing stats of %s\n", path); in printDirStats()
760 dprintf(outFd, "\t #%d, Last updated: %lld, UID: %d, Config ID: %lld, %s", fileCount + 1, in printDirStats()
769 dprintf(outFd, ", File Size: %d bytes", fileSize); in printDirStats()
772 dprintf(outFd, "\n"); in printDirStats()
775 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.cpp920 static void dumpTrace(int outFd) in dumpTrace() argument
975 result = write(outFd, out.get(), bufSize); in dumpTrace()
995 result = write(outFd, out.get(), bytes); in dumpTrace()
1010 if (!android::base::WriteFully(outFd, buf, rc)) { in dumpTrace()
1369 int outFd = STDOUT_FILENO; in main() local
1371 outFd = open(g_outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
1373 if (outFd == -1) { in main()
1376 dprintf(outFd, "TRACE:\n"); in main()
1377 dumpTrace(outFd); in main()
1379 close(outFd); in main()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java419 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
738 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() argument
739 return BackupTransport.this.getRestoreData(outFd); in getRestoreData()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransport.java116 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() argument
118 return super.getRestoreData(outFd); in getRestoreData()
146 mKeyValueEncrypter.decryptKeyValueData(nextRestorePackage, inputStream, outFd); in getRestoreData()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransport.java80 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
91 try(OutputStream out = new FileOutputStream(outFd.getFileDescriptor())) { in getRestoreData()
/frameworks/av/media/libmediatranscoding/aidl/android/media/
DTranscodingRequestParcel.aidl47 ParcelFileDescriptor outFd;
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DDelegatingTransport.java285 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() argument
286 return getDelegate().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.h65 void startNewSubscription(int inFd, int outFd, int timeoutSec);
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h118 void printUidMap(int outFd) const;
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java689 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
711 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()

12