Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dresource_bridge.rs16 pub enum ResourceRequest { enum
53 InvalidResource(ResourceRequest),
54 SendFailure(ResourceRequest, TubeError),
55 RecieveFailure(ResourceRequest, TubeError),
58 impl fmt::Display for ResourceRequest { implementation
61 ResourceRequest::GetBuffer { id } => write!(f, "Buffer-{}", id), in fmt()
62 ResourceRequest::GetFence { seqno } => write!(f, "Fence-{}", seqno), in fmt()
91 request: ResourceRequest, in get_resource_info() argument
Dwl.rs68 get_resource_info, BufferInfo, ResourceBridgeError, ResourceInfo, ResourceRequest,
1106 fn get_info(&mut self, request: ResourceRequest) -> Option<File> { in get_info()
1181 match self.get_info(ResourceRequest::GetBuffer { in send()
1193 match self.get_info(ResourceRequest::GetFence { in send()
1210 match self.get_info(ResourceRequest::GetFence { seqno: 0 }) { in send()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs14 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
275 ResourceRequest::GetBuffer { id: handle }, in get_resource_info()
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs17 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
504 ResourceRequest::GetBuffer { id: uuid as u32 }, in get_resource_info()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs230 Ok(ResourceRequest::GetBuffer { id }) => self.virtio_gpu.export_resource(id), in process_resource_bridge()
231 Ok(ResourceRequest::GetFence { seqno }) => { in process_resource_bridge()