pub struct HOSBinderDriver { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for HOSBinderDriver
impl IClientObject for HOSBinderDriver
fn new(session: Session) -> Self
fn get_session(&mut self) -> &mut Session
fn get_info(&mut self) -> ObjectInfo
fn set_info(&mut self, info: ObjectInfo)
fn convert_to_domain(&mut self) -> Result<()>
fn query_own_pointer_buffer_size(&mut self) -> Result<u16>
fn close_session(&mut self)
fn is_valid(&mut self) -> bool
fn is_domain(&mut self) -> bool
sourceimpl IHOSBinderDriver for HOSBinderDriver
impl IHOSBinderDriver for HOSBinderDriver
fn transact_parcel(
&mut self,
binder_handle: BinderHandle,
transaction_id: ParcelTransactionId,
flags: u32,
in_parcel: InMapAliasBuffer<u8>,
out_parcel: OutMapAliasBuffer<u8>
) -> Result<()>
fn adjust_refcount(
&mut self,
binder_handle: BinderHandle,
add_value: i32,
refcount_type: RefcountType
) -> Result<()>
fn get_native_handle(
&mut self,
binder_handle: BinderHandle,
handle_type: NativeHandleType
) -> Result<CopyHandle>
fn transact_parcel_auto(
&mut self,
binder_handle: BinderHandle,
transaction_id: ParcelTransactionId,
flags: u32,
in_parcel: InAutoSelectBuffer<u8>,
out_parcel: OutAutoSelectBuffer<u8>
) -> Result<()>
fn sf_server_impl_transact_parcel(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_adjust_refcount(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_native_handle(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_transact_parcel_auto(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
sourceimpl IObject for HOSBinderDriver
impl IObject for HOSBinderDriver
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
sourceimpl IService for HOSBinderDriver
impl IService for HOSBinderDriver
fn get_name() -> ServiceName
fn as_domain() -> bool
fn post_initialize(&mut self) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for HOSBinderDriver
impl Send for HOSBinderDriver
impl Sync for HOSBinderDriver
impl Unpin for HOSBinderDriver
impl UnwindSafe for HOSBinderDriver
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more