Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_server_Watchdog.cpp31 static void dumpOneStack(int tid, int outFd) { in dumpOneStack() argument
39 write(outFd, buf, strlen(buf)); in dumpOneStack()
44 write(outFd, buf, nBytes); in dumpOneStack()
48 write(outFd, "\n", 1); in dumpOneStack()
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT, in dumpKernelStacks() local
69 if (outFd < 0) { in dumpKernelStacks()
75 write(outFd, buf, strlen(buf)); in dumpKernelStacks()
86 dumpOneStack(tid, outFd); in dumpKernelStacks()
93 write(outFd, buf, strlen(buf)); in dumpKernelStacks()
95 close(outFd); in dumpKernelStacks()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp47 static void dumpAsTextToFd(service::GraphicsStatsProto* proto, int outFd);
200 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660); in saveBuffer() local
201 if (outFd <= 0) { in saveBuffer()
206 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize); in saveBuffer()
211 close(outFd); in saveBuffer()
215 io::FileOutputStream output(outFd); in saveBuffer()
219 outFd, path.c_str(), output.GetErrno(), strerror(output.GetErrno())); in saveBuffer()
225 close(outFd); in saveBuffer()
230 Dump(int outFd, DumpType type) : mFd(outFd), mType(type) {} in Dump() argument
240 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.cpp438 int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollOnce() argument
439 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/cmds/atrace/
Datrace.cpp892 static void dumpTrace(int outFd) in dumpTrace() argument
947 result = write(outFd, out.get(), bufSize); in dumpTrace()
967 result = write(outFd, out.get(), bytes); in dumpTrace()
980 while ((sent = sendfile(outFd, traceFD, NULL, 64*1024*1024)) > 0); in dumpTrace()
1236 int outFd = STDOUT_FILENO; in main() local
1238 outFd = open(g_outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
1240 if (outFd == -1) { in main()
1243 dprintf(outFd, "TRACE:\n"); in main()
1244 dumpTrace(outFd); in main()
1246 close(outFd); in main()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java341 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
651 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() argument
652 return BackupTransport.this.getRestoreData(outFd); in getRestoreData()
/frameworks/base/tools/incident_report/
Dmain.cpp538 int outFd; in main() local
540 outFd = STDOUT_FILENO; in main()
542 outFd = open(outFilename, O_CREAT | O_RDWR, 0666); in main()
543 if (outFd < 0) { in main()
560 Out out(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
DLocalTransport.java521 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() argument
543 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java382 private static native long nCreateDump(int outFd, boolean isProto); in nCreateDump() argument