Home
last modified time | relevance | path

Searched refs:readPipe (Results 1 – 2 of 2) sorted by relevance

/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp57 android::base::unique_fd readPipe; in CollectPerfettoTraceAndUploadToDropbox() local
59 if (!android::base::Pipe(&readPipe, &writePipe)) { in CollectPerfettoTraceAndUploadToDropbox()
79 if (dup2(readPipe.get(), STDIN_FILENO) < 0) _exit(1); in CollectPerfettoTraceAndUploadToDropbox()
80 readPipe.reset(); in CollectPerfettoTraceAndUploadToDropbox()
105 readPipe.reset(); // Close the read end (owned by the child process). in CollectPerfettoTraceAndUploadToDropbox()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java461 final ParcelFileDescriptor readPipe = pipe[0]; in startWrite() local
469 inputStream = new ParcelFileDescriptor.AutoCloseInputStream(readPipe); in startWrite()
480 closePipeWithErrorSilently(readPipe, "Not enough space."); in startWrite()
493 closePipeWithErrorSilently(readPipe, e.getMessage()); in startWrite()