Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kernel-SU/binder_rs
/ functions
Functions
438 in github.com/Kernel-SU/binder_rs
⨍
Functions
438
◇
Types & classes
102
Method
isRemote
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:197
Method
isRemote
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:226
Method
is_binder_alive
(&self)
binder/src/proxy.rs:315
Method
is_dead
(&self)
tests/src/main.rs:600
Method
is_handling_transaction
Determine whether the current thread is currently executing an incoming transaction. \return true if the current thread is currently executing an inc
binder/src/state.rs:106
Method
is_remote
Return true if this binder object is hosted in a different process than the current one.
binder/src/proxy.rs:99
Method
join_thread_pool
Block on the Binder IPC thread pool
binder/src/state.rs:46
Function
main
()
example/src/main.rs:7
Function
main
()
binder_ndk_sys/build.rs:66
Function
main
Binary to run a test service. This needs to be in a separate process from the tests, so we spawn this binary as a child, providing the service name a
tests/src/main.rs:41
Function
make
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:92
Method
makeServiceName
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:199
Function
make_exception
()
binder/src/error.rs:410
Function
make_exception_null
()
binder/src/error.rs:420
Function
make_service_specific_error
()
binder/src/error.rs:397
Function
make_shared
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:363
Function
make_unique
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:370
Method
mark_sensitive
Data written to parcelable is zero'd before being deleted or reallocated.
binder/src/parcel.rs:205
Method
new
(s: &str)
tests/src/main.rs:87
Method
new
Create a new Binder remotable object with default stability This moves the `rust_object` into an owned [`Box`] and Binder will manage its lifetime.
binder/src/native.rs:81
Method
new
Create a new empty `Parcel`.
binder/src/parcel.rs:75
Method
new
Get a Binder NDK `AIBinder_Class` pointer for this object type. Note: the returned pointer will not be constant. Calling this method multiple times f
binder/src/binder.rs:299
Method
new
Create a new weak reference from an object that can be converted into a raw `AIBinder` pointer.
binder/src/proxy.rs:480
Method
new
Construct a new `ParcelableHolder` with the given stability.
binder/src/parcel/parcelable_holder.rs:76
Method
new
Create a new `ParcelFileDescriptor`
binder/src/parcel/file_descriptor.rs:34
Method
new_async_binder
Create a new async binder service.
example/src/IRemoteService.rs:41
Method
new_exception
Create a status object from an exception code
binder/src/error.rs:159
Method
new_exception_str
Creates a status object from an exception code and message.
binder/src/error.rs:171
Method
new_internal
(identifier: &str, extension: Option<&str>)
tests/src/main.rs:391
Method
new_service_specific_error
Create a status object from a service specific error
binder/src/error.rs:126
Method
new_service_specific_error_str
Creates a status object from a service specific error.
binder/src/error.rs:154
Function
new_spibinder
A temporary API to allow the client to create a `SpIBinder` from a `sys::AIBinder`. This is needed to bridge RPC binder, which doesn't have Rust API y
binder/src/proxy.rs:154
Method
new_with_extension
(identifier: &str, extension: &str)
tests/src/main.rs:387
Method
new_with_stability
Create a new Binder remotable object with the given stability This moves the `rust_object` into an owned [`Box`] and Binder will manage its lifetime.
binder/src/native.rs:89
Function
ok
* Convenience methods for creating scoped statuses. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:303
Method
onCreate
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:285
Method
onDestroy
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:291
Method
onDump
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:295
Method
on_create
Called whenever a new, local `AIBinder` object is needed of a specific class. Constructs the user data pointer that will be stored in the object, whi
binder/src/native.rs:310
Method
on_destroy
Called whenever an `AIBinder` object is no longer referenced and needs destroyed. # Safety Must be called with a valid pointer to a `T` object. Afte
binder/src/native.rs:297
Method
on_dump
Called to handle the `dump` transaction. # Safety Must be called with a non-null, valid pointer to a local `AIBinder` that contains a `T` pointer in
binder/src/native.rs:324
Function
on_transact
(_aidl_service: &dyn IRemoteService, _aidl_code: binder::binder_impl::TransactionCode, _aidl_data: &binder::bi
example/src/IRemoteService.rs:170
Function
on_transact
( service: &dyn ITest, code: TransactionCode, _data: &BorrowedParcel<'_>, reply: &mut Borrowed
tests/src/main.rs:189
Method
on_transact
Called whenever a transaction needs to be processed by a local implementation. # Safety Must be called with a non-null, valid pointer to a local `AI
binder/src/native.rs:271
Function
on_transact_same_descriptor
( _service: &dyn ITestSameDescriptor, _code: TransactionCode, _data: &BorrowedParcel<'_>, _rep
tests/src/main.rs:336
Function
operator delete
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:101
Function
operator new
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:111
Method
operator!=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:135
Method
operator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:118
Method
operator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:221
Method
operator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:393
Method
operator<
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:136
Method
operator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:119
Method
operator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:222
Method
operator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:394
Method
operator<=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:137
Method
operator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:120
Method
operator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:223
Method
operator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:395
Method
operator==
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:138
Method
operator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:121
Method
operator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:224
Method
operator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:396
Method
operator>
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:139
Method
operator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:122
Method
operator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:225
Method
operator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:397
Method
operator>=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:140
Method
operator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:123
Method
operator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:226
Method
operator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:398
Method
partial_cmp
(&self, other: &Self)
binder/src/binder.rs:438
Method
partial_cmp
(&self, other: &Self)
binder/src/proxy.rs:209
Method
promote
* See AIBinder_Weak_promote. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:362
Method
read_onto
Attempt to read a type that implements [`Deserialize`] from this parcel onto an existing value. This operation will overwrite the old value partially
binder/src/parcel.rs:453
Function
reassociate_rust_binder
()
tests/src/main.rs:822
Function
register_lazy_service
Register a dynamic service via the LazyServiceRegistrar. Registers the given binder object with the given identifier. If successful, this service can
binder/src/native.rs:471
Method
release
* Release the underlying resource. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:168
Method
reset
Reset the contents of this `ParcelableHolder`. Note that this method does not reset the stability, only the contents.
binder/src/parcel/parcelable_holder.rs:84
Method
resize_nullable_out_vec
Read a vector size from the parcel and either create a correctly sized vector for that amount of data or set the output parameter to None if the vecto
binder/src/parcel.rs:540
Method
resize_out_vec
Read a vector size from the parcel and resize the given output vector to be correctly sized for that amount of data. This method is used in AIDL-gene
binder/src/parcel.rs:520
Function
run
()
example/src/server.rs:21
Function
run
()
example/src/client.rs:4
Method
serialize
(&self, parcel: &mut BorrowedParcel<'_>)
binder/src/native.rs:392
Method
serialize
(&self, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable_holder.rs:165
Method
serialize_array
Serialize an array of this type into the given parcel.
binder/src/parcel/parcelable.rs:84
Method
serialize_array
(slice: &[Self], parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:449
Function
serialize_element
Callback to serialize an element of a generic parcelable array. Safety: We are relying on binder_ndk to not overrun our slice. As long as it doesn't
binder/src/parcel/parcelable.rs:103
Method
serialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/proxy.rs:434
Method
serialize_option
Serialize an Option of this type into the given parcel.
binder/src/parcel/parcelable.rs:198
Method
serialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:499
Method
serialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:91
Method
set
* Takes ownership of t. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:150
Method
setDefaultImpl
(d: IRemoteServiceDefaultRef)
example/src/IRemoteService.rs:24
Method
setParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:100
Method
set_parcelable
Set the parcelable contained in this `ParcelableHolder`.
binder/src/parcel/parcelable_holder.rs:90
Method
set_thread_pool_max_thread_count
Set the maximum number of threads that can be started in the threadpool. By default, after startThreadPool is called, this is 15. If it is called add
binder/src/state.rs:38
Method
sized_read
Safely read a sized parcelable. Read the size of a parcelable, compute the end position of that parcelable, then build a sized readable sub-parcel an
binder/src/parcel.rs:485
Method
start_thread_pool
Start the Binder IPC thread pool
binder/src/state.rs:26
Function
test_append_from
()
binder/src/parcel.rs:887
← previous
next →
301–400 of 438, ranked by callers