Searched refs:IoResult (Results 1 – 5 of 5) sorted by relevance
63 using IoResult = android::base::BufferQueueResult; variable92 virtual IoResult tryWrite(Buffer&& buffer) = 0;101 virtual IoResult tryRead(Buffer* buffer) = 0;107 virtual IoResult readBefore(Buffer* buffer, Duration waitUntilUs) = 0;
31 using IoResult = android::base::BufferQueueResult; typedef86 IoResult RenderChannelImpl::tryWrite(Buffer&& buffer) { in tryWrite()101 IoResult RenderChannelImpl::tryRead(Buffer* buffer) { in tryRead()111 IoResult RenderChannelImpl::readBefore(Buffer* buffer, Duration waitUntilUs) { in readBefore()137 IoResult result = mToGuest.pushLocked(std::move(buffer)); in writeToGuest()141 return result == IoResult::Ok; in writeToGuest()144 IoResult RenderChannelImpl::readFromGuest(Buffer* buffer, bool blocking) { in readFromGuest()147 IoResult result; in readFromGuest()
53 virtual IoResult tryWrite(Buffer&& buffer) override final;59 virtual IoResult tryRead(Buffer* buffer) override final;62 virtual IoResult readBefore(Buffer* buffer, Duration waitUntilUs) override final;86 IoResult readFromGuest(Buffer* buffer, bool blocking);
28 using IoResult = RenderChannel::IoResult; typedef74 if (result == IoResult::Ok) { in readRaw()83 assert(result == IoResult::Error); in readRaw()
55 using IoResult = gfxstream::RenderChannel::IoResult; typedef338 if (result == IoResult::Ok) { in onGuestRecv()349 if (result == IoResult::Error) { in onGuestRecv()380 if (result != IoResult::Ok) { in onGuestRecv()389 if (result == IoResult::Error) { in onGuestRecv()416 if (result != IoResult::Ok) { in onGuestRecv()425 if (result == IoResult::Error) { in onGuestRecv()484 if (result != IoResult::Ok) { in onGuestSend()486 return result == IoResult::Error ? PIPE_ERROR_IO : PIPE_ERROR_AGAIN; in onGuestSend()