Home
last modified time | relevance | path

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

/linux/drivers/android/binder/
H A Derror.rs10 pub(crate) type BinderResult<T = ()> = core::result::Result<T, BinderError>;
14 pub(crate) struct BinderError { struct
19 impl BinderError { argument
56 impl From<Error> for BinderError { implementation
65 impl From<kernel::fs::file::BadFdError> for BinderError { implementation
67 BinderError::from(Error::from(source)) in from()
71 impl From<kernel::alloc::AllocError> for BinderError { implementation
80 impl fmt::Debug for BinderError { implementation
H A Dcontext.rs15 use crate::{error::BinderError, node::NodeRef, process::Process};
125 pub(crate) fn get_manager_node(&self, strong: bool) -> Result<NodeRef, BinderError> { in get_manager_node() argument
130 .ok_or_else(BinderError::new_dead)? in get_manager_node()
132 .map_err(BinderError::from) in get_manager_node()
H A Dtransaction.rs19 error::{BinderError, BinderResult},
286 return Err(BinderError::new_frozen_oneway()); in submit()
297 return Err(BinderError::new_frozen()); in submit()
304 PushWorkRes::FailedDead(me) => Err((BinderError::new_dead(), me)), in submit()
H A Dnode.rs16 error::BinderError,
529 ) -> Result<(), (BinderError, DLArc<dyn DeliverToRead>)> { in submit_oneway() argument
531 return Err((BinderError::new_dead(), transaction)); in submit_oneway()
H A Dprocess.rs45 error::{BinderError, BinderResult},
175 ) -> Result<(), (BinderError, DLArc<dyn DeliverToRead>)> { in push_work() argument
182 PushWorkRes::FailedDead(work) => Err((BinderError::new_dead(), work)), in push_work()
185 Err((BinderError::new_dead(), work)) in push_work()
1021 let mapping = inner.mapping.as_mut().ok_or_else(BinderError::new_dead)?; in buffer_alloc()