Home
last modified time | relevance | path

Searched refs:IoResult (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/include/render-utils/
DRenderChannel.h63 using IoResult = android::base::BufferQueueResult; variable
92 virtual IoResult tryWrite(Buffer&& buffer) = 0;
101 virtual IoResult tryRead(Buffer* buffer) = 0;
107 virtual IoResult readBefore(Buffer* buffer, Duration waitUntilUs) = 0;
/hardware/google/gfxstream/host/
DRenderChannelImpl.cpp31 using IoResult = android::base::BufferQueueResult; typedef
86 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()
DRenderChannelImpl.h53 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);
DChannelStream.cpp28 using IoResult = RenderChannel::IoResult; typedef
74 if (result == IoResult::Ok) { in readRaw()
83 assert(result == IoResult::Error); in readRaw()
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DOpenglEsPipe.cpp55 using IoResult = gfxstream::RenderChannel::IoResult; typedef
338 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()