Expand description
Advanced Binder APIs needed internally by AIDL or when manually using Binder without AIDL.
Structs§
- Rust wrapper around Binder remotable objects.
- Container for a message (data and object references) that can be sent through Binder.
- Opaque reference to the type of a Binder interface.
- Container for a message (data and object references) that can be sent through Binder.
Enums§
- Interface stability promise
Constants§
- First transaction code available for user commands (inclusive)
- Corresponds to TF_CLEAR_BUF – clear transaction buffers after call is made.
- Corresponds to TF_ONE_WAY – an asynchronous call.
- Set to the vendor flag if we are building for the VNDK, 0 otherwise
- Last transaction code available for user commands (inclusive)
- Flag that specifies that the following parcelable is present.
- Flag that specifies that the following parcelable is absent.
Traits§
- An object that can be associate with an
InterfaceClass
. - A runtime for executing an async binder server.
- A struct whose instances can be restored from a
crate::parcel::Parcel
. - Helper trait for types that can be deserialized as arrays. Defaults to calling Deserialize::deserialize() manually for every element, but can be overridden for custom implementations like
readByteArray
. - Helper trait for types that can be nullable when deserialized.
- Internal interface of binder local or remote objects for making transactions.
- Metadata that
ParcelableHolder
needs for all parcelables. - Generic interface to remote binder objects.
- A local service that can be remotable via Binder.
- A struct whose instances can be written to a
crate::parcel::Parcel
. - Helper trait for types that can be serialized as arrays. Defaults to calling Serialize::serialize() manually for every element, but can be overridden for custom implementations like
writeByteArray
. - Helper trait for types that can be nullable when serialized.
- Implemented by sync interfaces to specify what the associated async interface is. Generic to handle the fact that async interfaces are generic over a thread pool.
- Implemented by async interfaces to specify what the associated sync interface is.
- Super-trait for unstructured Binder parcelables, i.e. those implemented manually.
Type Aliases§
- Binder action to perform.
- Additional operation flags.
- One of the STATUS_* values.