Searched refs:readPipe (Results 1 – 2 of 2) sorted by relevance
57 android::base::unique_fd readPipe; in CollectPerfettoTraceAndUploadToDropbox() local59 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()
461 final ParcelFileDescriptor readPipe = pipe[0]; in startWrite() local469 inputStream = new ParcelFileDescriptor.AutoCloseInputStream(readPipe); in startWrite()480 closePipeWithErrorSilently(readPipe, "Not enough space."); in startWrite()493 closePipeWithErrorSilently(readPipe, e.getMessage()); in startWrite()