pub trait IHOSBinderDriver: IObject {
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 { ... }
}