Home
last modified time | relevance | path

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

12

/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.cpp46 int timeoutMillis, int *outFd, int *outEvents, void **outData) { in pollOnce() argument
47 if (outFd) { *outFd = 0; } in pollOnce()
DALooper.h36 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.cpp51 static void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int outFd);
343 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660); in saveBuffer() local
344 if (outFd <= 0) { in saveBuffer()
349 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize); in saveBuffer()
354 close(outFd); in saveBuffer()
358 FileOutputStreamLite output(outFd); in saveBuffer()
361 ALOGW("Error writing to fd=%d, path='%s' err=%d (%s)", outFd, path.c_str(), in saveBuffer()
368 close(outFd); in saveBuffer()
373 Dump(int outFd, DumpType type) : mFd(outFd), mType(type) { in Dump() argument
436 GraphicsStatsService::Dump* GraphicsStatsService::createDump(int outFd, DumpType type) { in createDump() argument
[all …]
DGraphicsStatsService.h50 static Dump* createDump(int outFd, DumpType type);
/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.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/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/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/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/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp623 int outFd[2] = {-1, -1}; in shellCmdToString() local
627 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, outFd)); in shellCmdToString()
637 status_t error = IBinder::shellCommand(unitTestService, inFd[0], outFd[0], errFd[0], argsVec, in shellCmdToString()
646 close(outFd[0]); in shellCmdToString()
651 EXPECT_TRUE(ReadFdToString(outFd[1], &ret)); in shellCmdToString()
652 close(outFd[1]); in shellCmdToString()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl226 int getRestoreData(in ParcelFileDescriptor outFd); in getRestoreData() argument
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerInternal.java163 void handleWindowManagerLoggingCommand(String[] args, ParcelFileDescriptor outFd); in handleWindowManagerLoggingCommand() argument
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneManagerShellCommand.java231 FileDescriptor outFd = getOutFileDescriptor(); in runDumpControllerState() local
232 outputStream = new DualDumpOutputStream(new ProtoOutputStream(outFd)); in runDumpControllerState()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl253 void handleWindowManagerLoggingCommand(in String[] args, in ParcelFileDescriptor outFd); in handleWindowManagerLoggingCommand() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java372 public void handleWindowManagerLoggingCommand(String[] args, ParcelFileDescriptor outFd) { in handleWindowManagerLoggingCommand() argument
373 PrintWriter pw = new PrintWriter(new ParcelFileDescriptor.AutoCloseOutputStream(outFd)); in handleWindowManagerLoggingCommand()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java384 try (ParcelFileDescriptor outFd = rwe[0];
396 try (InputStream is = new FileInputStream(outFd.getFileDescriptor())) {
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java694 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
716 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java397 default void handleWindowManagerLoggingCommand(String[] args, ParcelFileDescriptor outFd) {} in handleWindowManagerLoggingCommand() argument
1047 public void handleWindowManagerLoggingCommand(String[] args, ParcelFileDescriptor outFd) { in handleWindowManagerLoggingCommand() argument
1051 internalArgs.arg2 = outFd; in handleWindowManagerLoggingCommand()

12