Lines Matching refs:HostGoldfishPipeDevice

59 const AndroidPipeHwFuncs HostGoldfishPipeDevice::HostHwPipe::vtbl = {
65 HostGoldfishPipeDevice::HostHwPipe::HostHwPipe(int fd) : vtblPtr(&vtbl), mFd(fd) {} in HostHwPipe()
67 HostGoldfishPipeDevice::HostHwPipe::~HostHwPipe() {} in ~HostHwPipe()
69 std::unique_ptr<HostGoldfishPipeDevice::HostHwPipe>
70 HostGoldfishPipeDevice::HostHwPipe::create(int fd) { in create()
74 HostGoldfishPipeDevice::HostGoldfishPipeDevice() {} in HostGoldfishPipeDevice() function in android::HostGoldfishPipeDevice
76 HostGoldfishPipeDevice::~HostGoldfishPipeDevice() { in ~HostGoldfishPipeDevice()
80 int HostGoldfishPipeDevice::getErrno() const { in getErrno()
86 int HostGoldfishPipeDevice::connect(const char* name) { in connect()
122 void HostGoldfishPipeDevice::close(const int fd) { in close()
133 ssize_t HostGoldfishPipeDevice::read(const int fd, void* buffer, size_t len) { in read()
149 HostGoldfishPipeDevice::ReadResult HostGoldfishPipeDevice::read(int fd, size_t maxLength) { in read()
163 ssize_t HostGoldfishPipeDevice::write(const int fd, const void* buffer, size_t len) { in write()
176 HostGoldfishPipeDevice::WriteResult
177 HostGoldfishPipeDevice::write(const int fd, const std::vector<uint8_t>& data) { in write()
187 unsigned HostGoldfishPipeDevice::poll(const int fd) const { in poll()
199 void HostGoldfishPipeDevice::setWakeCallback(const int fd, in setWakeCallback()
209 void* HostGoldfishPipeDevice::getHostPipe(const int fd) const { in getHostPipe()
216 void HostGoldfishPipeDevice::saveSnapshot(base::Stream* stream) { in saveSnapshot()
234 void HostGoldfishPipeDevice::loadSnapshot(base::Stream* stream) { in loadSnapshot()
270 void HostGoldfishPipeDevice::saveSnapshot(base::Stream* stream, const int fd) { in saveSnapshot()
290 int HostGoldfishPipeDevice::loadSnapshotSinglePipe(base::Stream* stream) { in loadSnapshotSinglePipe()
330 void HostGoldfishPipeDevice::clear() { in clear()
335 void HostGoldfishPipeDevice::initialize() { in initialize()
343 void HostGoldfishPipeDevice::clearLocked() { in clearLocked()
355 HostGoldfishPipeDevice::FdInfo* HostGoldfishPipeDevice::lookupFdInfo(int fd) { in lookupFdInfo()
361 const HostGoldfishPipeDevice::FdInfo* HostGoldfishPipeDevice::lookupFdInfo(int fd) const { in lookupFdInfo()
367 HostGoldfishPipeDevice::HostHwPipe*
368 HostGoldfishPipeDevice::associatePipes(std::unique_ptr<HostGoldfishPipeDevice::HostHwPipe> hwPipe, in associatePipes()
369 HostGoldfishPipeDevice::InternalPipe* hostPipe) { in associatePipes()
388 bool HostGoldfishPipeDevice::eraseFdInfo(const int fd) { in eraseFdInfo()
405 ssize_t HostGoldfishPipeDevice::writeInternal(InternalPipe** ppipe, in writeInternal()
414 void HostGoldfishPipeDevice::setErrno(ssize_t res) { in setErrno()
432 void HostGoldfishPipeDevice::signalWake(const int fd, const int wakes) { in signalWake()
440 static HostGoldfishPipeDevice* sDevice() { in sDevice()
441 static HostGoldfishPipeDevice* d = new HostGoldfishPipeDevice; in sDevice()
446 HostGoldfishPipeDevice* HostGoldfishPipeDevice::get() { in get()
457 void HostGoldfishPipeDevice::closeFromHostCallback(void* hwPipeRaw) { in closeFromHostCallback()
463 HostGoldfishPipeDevice::get()->signalWake(fd, PIPE_WAKE_CLOSED); in closeFromHostCallback()
464 HostGoldfishPipeDevice::get()->close(fd); in closeFromHostCallback()
468 void HostGoldfishPipeDevice::signalWakeCallback(void* hwPipeRaw, unsigned wakes) { in signalWakeCallback()
470 HostGoldfishPipeDevice::get()->signalWake(fd, wakes); in signalWakeCallback()
474 int HostGoldfishPipeDevice::getPipeIdCallback(void* hwPipeRaw) { in getPipeIdCallback()