/device/generic/goldfish-opengl/shared/qemupipe/ |
D | qemu_pipe_host.cpp | 33 void qemu_pipe_close(QEMU_PIPE_HANDLE pipe) { in qemu_pipe_close() argument 34 HostGoldfishPipeDevice::get()->close(pipe); in qemu_pipe_close() 37 int qemu_pipe_read(QEMU_PIPE_HANDLE pipe, void* buffer, int len) { in qemu_pipe_read() argument 38 return HostGoldfishPipeDevice::get()->read(pipe, buffer, len); in qemu_pipe_read() 41 int qemu_pipe_write(QEMU_PIPE_HANDLE pipe, const void* buffer, int len) { in qemu_pipe_write() argument 42 return HostGoldfishPipeDevice::get()->write(pipe, buffer, len); in qemu_pipe_write() 54 void qemu_pipe_print_error(QEMU_PIPE_HANDLE pipe) { in qemu_pipe_print_error() argument 56 ALOGE("pipe error: pipe %p err %d", pipe, err); in qemu_pipe_print_error()
|
D | qemu_pipe_guest.cpp | 73 void qemu_pipe_close(int pipe) { in qemu_pipe_close() argument 74 close(pipe); in qemu_pipe_close() 77 int qemu_pipe_read(int pipe, void* buffer, int size) { in qemu_pipe_read() argument 78 return read(pipe, buffer, size); in qemu_pipe_read() 81 int qemu_pipe_write(int pipe, const void* buffer, int size) { in qemu_pipe_write() argument 82 return write(pipe, buffer, size); in qemu_pipe_write() 89 void qemu_pipe_print_error(int pipe) { in qemu_pipe_print_error() argument 90 ALOGE("pipe error: fd %d errno %d", pipe, errno); in qemu_pipe_print_error()
|
D | qemu_pipe_common.cpp | 17 int qemu_pipe_read_fully(QEMU_PIPE_HANDLE pipe, void* buffer, int size) { in qemu_pipe_read_fully() argument 21 int n = QEMU_PIPE_RETRY(qemu_pipe_read(pipe, p, size)); in qemu_pipe_read_fully() 31 int qemu_pipe_write_fully(QEMU_PIPE_HANDLE pipe, const void* buffer, int size) { in qemu_pipe_write_fully() argument 35 int n = QEMU_PIPE_RETRY(qemu_pipe_write(pipe, p, size)); in qemu_pipe_write_fully()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/ |
D | xf-ipc.h | 41 int pipe[2]; member 50 (write((ipc)->pipe[1], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 53 (read((ipc)->pipe[0], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 90 int pipe[2]; member 99 (write((ipc)->pipe[1], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 102 (read((ipc)->pipe[0], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 105 (pipe((ipc)->pipe) == 0 ? 0 : -errno) 108 (close((ipc)->pipe[0]), close((ipc)->pipe[1]))
|
/device/google/cuttlefish/host/commands/logcat_receiver/ |
D | main.cpp | 48 cuttlefish::SharedFD pipe; in main() local 51 pipe = cuttlefish::SharedFD::Open(log_name.c_str(), O_RDONLY); in main() 53 pipe = cuttlefish::SharedFD::Dup(FLAGS_log_pipe_fd); in main() 57 if (!pipe->IsOpen()) { in main() 58 LOG(ERROR) << "Error opening log pipe: " << pipe->StrError(); in main() 69 auto read = pipe->Read(buff, sizeof(buff)); in main() 71 LOG(ERROR) << "Could not read logcat: " << pipe->StrError(); in main() 81 pipe->Close(); in main()
|
/device/generic/goldfish/qemud/ |
D | qemud.cpp | 30 int qemud_channel_send(int pipe, const void* msg, int size) { in qemud_channel_send() argument 40 if (qemu_pipe_write_fully(pipe, header, 4)) { in qemud_channel_send() 44 if (qemu_pipe_write_fully(pipe, msg, size)) { in qemud_channel_send() 51 int qemud_channel_recv(int pipe, void* msg, int maxsize) { in qemud_channel_recv() argument 55 if (qemu_pipe_read_fully(pipe, header, 4)) { in qemud_channel_recv() 67 if (qemu_pipe_read_fully(pipe, msg, size)) { in qemud_channel_recv()
|
/device/generic/goldfish-opengl/shared/qemupipe/include/ |
D | qemu_pipe_bp.h | 26 void qemu_pipe_close(QEMU_PIPE_HANDLE pipe); 28 int qemu_pipe_read_fully(QEMU_PIPE_HANDLE pipe, void* buffer, int size); 29 int qemu_pipe_write_fully(QEMU_PIPE_HANDLE pipe, const void* buffer, int size); 30 int qemu_pipe_read(QEMU_PIPE_HANDLE pipe, void* buffer, int size); 31 int qemu_pipe_write(QEMU_PIPE_HANDLE pipe, const void* buffer, int size); 34 void qemu_pipe_print_error(QEMU_PIPE_HANDLE pipe);
|
/device/google/cuttlefish/host/commands/kernel_log_monitor/ |
D | main.cc | 81 cuttlefish::SharedFD pipe; in main() local 84 pipe = cuttlefish::SharedFD::Open(log_name.c_str(), O_RDONLY); in main() 86 pipe = cuttlefish::SharedFD::Dup(FLAGS_log_pipe_fd); in main() 90 if (!pipe->IsOpen()) { in main() 91 LOG(ERROR) << "Error opening log pipe: " << pipe->StrError(); in main() 95 monitor::KernelLogServer klog{pipe, instance.PerInstancePath("kernel.log"), in main()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | ProcessPipe.cpp | 80 llcpp::fuchsia::hardware::goldfish::Pipe::SyncClient pipe( in processPipeInitOnce() local 86 auto result = pipe.GetBuffer(); in processPipeInitOnce() 103 auto result = pipe.Write(len + 1, 0); in processPipeInitOnce() 120 auto result = pipe.DoCall(sizeof(confirmInt), 0, sizeof(sProcUID), 0); in processPipeInitOnce() 134 sProcPipe = pipe.mutable_channel()->release(); in processPipeInitOnce()
|
/device/generic/goldfish/qemud/include/ |
D | qemud.h | 23 int qemud_channel_send(int pipe, const void* msg, int size); 24 int qemud_channel_recv(int pipe, void* msg, int maxsize);
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-fio.c | 164 XF_CHK_ERR(pipe(ipc->pipe) == 0, -errno); in xf_ipc_open() 186 close(ipc->pipe[0]), close(ipc->pipe[1]); in xf_ipc_close()
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 55 bool MultihalSensors::activateQemuSensorImpl(const int pipe, in activateQemuSensorImpl() argument 64 if (qemud_channel_send(pipe, buffer, len) < 0) { in activateQemuSensorImpl() 85 void MultihalSensors::parseQemuSensorEvent(const int pipe, in parseQemuSensorEvent() argument 88 const int len = qemud_channel_recv(pipe, buf, sizeof(buf) - 1); in parseQemuSensorEvent()
|
D | multihal_sensors.h | 90 static bool activateQemuSensorImpl(int pipe, int sensorHandle, bool enabled); 92 void parseQemuSensorEvent(const int pipe, QemuSensorsProtocolState* state);
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | launch.cc | 142 cuttlefish::SharedFD pipe; in LaunchKernelLogMonitor() local 146 pipe = cuttlefish::SharedFD::Open(log_name.c_str(), O_RDWR); in LaunchKernelLogMonitor() 148 command.AddParameter("-log_pipe_fd=", pipe); in LaunchKernelLogMonitor() 186 cuttlefish::SharedFD pipe; in LaunchLogcatReceiver() local 190 pipe = cuttlefish::SharedFD::Open(log_name.c_str(), O_RDWR); in LaunchLogcatReceiver() 192 command.AddParameter("-log_pipe_fd=", pipe); in LaunchLogcatReceiver()
|
/device/generic/opengl-transport/host/libs/virglrenderer/emugl/common/ |
D | dma_device.cpp | 5 static void defaultDmaAddBuffer(void* pipe, uint64_t guest_paddr, uint64_t size) { } in defaultDmaAddBuffer() argument
|
/device/linaro/dragonboard/qcom/rmtfs/ |
D | rproc.c | 92 ret = pipe(rproc_pipe); in rproc_init()
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/etc/seccomp/ |
D | xhci.policy | 54 pipe: 1
|
/device/google/coral-kernel/sm8150/kernel-headers/drm/ |
D | msm_drm.h | 72 __u32 pipe; member
|
/device/google/bonito/sdm710/kernel-headers/drm/ |
D | msm_drm.h | 70 __u32 pipe; member
|
/device/google/bonito/sdm710/original-kernel-headers/drm/ |
D | msm_drm.h | 115 __u32 pipe; /* in, MSM_PIPE_x */ member
|
/device/google/crosshatch/sdm845/kernel-headers/drm/ |
D | msm_drm.h | 70 __u32 pipe; member
|
/device/google/crosshatch/sdm845/original-kernel-headers/drm/ |
D | msm_drm.h | 115 __u32 pipe; /* in, MSM_PIPE_x */ member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/drm/ |
D | msm_drm.h | 123 __u32 pipe; /* in, MSM_PIPE_x */ member
|
/device/google/cuttlefish/guest/hals/camera/ |
D | EmulatedCameraDevice.cpp | 302 if (pipe(thread_fds) == 0) { in readyToRun()
|
/device/generic/goldfish-opengl/ |
D | BUILD.gn | 150 "QEMU_PIPE_PATH=\"/dev/class/goldfish-pipe/000\"",
|