pub struct BinderSynchronousProxy { /* private fields */ }
Implementations§
source§impl BinderSynchronousProxy
impl BinderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<BinderEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<BinderEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>
pub fn set_vmo(&self, vmo: Vmo, mapped_address: u64) -> Result<(), Error>
Set the VMO to used as a share resource between the driver and the
client. mapped_address
is the address where the vmo is mapped in the
client address space.