Home
last modified time | relevance | path

Searched refs:BinderError (Results 1 – 4 of 4) 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
48 impl From<Error> for BinderError { implementation
57 impl From<kernel::fs::file::BadFdError> for BinderError { implementation
59 BinderError::from(Error::from(source)) in from()
63 impl From<kernel::alloc::AllocError> for BinderError { implementation
72 impl fmt::Debug for BinderError { implementation
H A Dcontext.rs15 use crate::{error::BinderError, node::NodeRef, process::Process};
136 pub(crate) fn get_manager_node(&self, strong: bool) -> Result<NodeRef, BinderError> { in get_manager_node() argument
141 .ok_or_else(BinderError::new_dead)? in get_manager_node()
143 .map_err(BinderError::from) in get_manager_node()
H A Dtransaction.rs19 error::{BinderError, BinderResult},
306 return Err(BinderError::new_frozen_oneway()); in submit()
317 return Err(BinderError::new_frozen()); in submit()
325 PushWorkRes::FailedDead(me) => Err((BinderError::new_dead(), me)), in submit()
H A Dprocess.rs45 error::{BinderError, BinderResult},
176 ) -> Result<(), (BinderError, DLArc<dyn DeliverToRead>)> { in push_work() argument
183 PushWorkRes::FailedDead(work) => Err((BinderError::new_dead(), work)), in push_work()
186 Err((BinderError::new_dead(), work)) in push_work()
1021 let mapping = inner.mapping.as_mut().ok_or_else(BinderError::new_dead)?; in buffer_alloc()