MCPcopy Create free account

hub / github.com/Kernel-SU/binder_rs / functions

Functions438 in github.com/Kernel-SU/binder_rs

MethodisRemote
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:197
MethodisRemote
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:226
Methodis_binder_alive
(&self)
binder/src/proxy.rs:315
Methodis_dead
(&self)
tests/src/main.rs:600
Methodis_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
Methodis_remote
Return true if this binder object is hosted in a different process than the current one.
binder/src/proxy.rs:99
Methodjoin_thread_pool
Block on the Binder IPC thread pool
binder/src/state.rs:46
Functionmain
()
example/src/main.rs:7
Functionmain
()
binder_ndk_sys/build.rs:66
Functionmain
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
Functionmake
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:92
MethodmakeServiceName
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:199
Functionmake_exception
()
binder/src/error.rs:410
Functionmake_exception_null
()
binder/src/error.rs:420
Functionmake_service_specific_error
()
binder/src/error.rs:397
Functionmake_shared
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:363
Functionmake_unique
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:370
Methodmark_sensitive
Data written to parcelable is zero'd before being deleted or reallocated.
binder/src/parcel.rs:205
Methodnew
(s: &str)
tests/src/main.rs:87
Methodnew
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
Methodnew
Create a new empty `Parcel`.
binder/src/parcel.rs:75
Methodnew
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
Methodnew
Create a new weak reference from an object that can be converted into a raw `AIBinder` pointer.
binder/src/proxy.rs:480
Methodnew
Construct a new `ParcelableHolder` with the given stability.
binder/src/parcel/parcelable_holder.rs:76
Methodnew
Create a new `ParcelFileDescriptor`
binder/src/parcel/file_descriptor.rs:34
Methodnew_async_binder
Create a new async binder service.
example/src/IRemoteService.rs:41
Methodnew_exception
Create a status object from an exception code
binder/src/error.rs:159
Methodnew_exception_str
Creates a status object from an exception code and message.
binder/src/error.rs:171
Methodnew_internal
(identifier: &str, extension: Option<&str>)
tests/src/main.rs:391
Methodnew_service_specific_error
Create a status object from a service specific error
binder/src/error.rs:126
Methodnew_service_specific_error_str
Creates a status object from a service specific error.
binder/src/error.rs:154
Functionnew_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
Methodnew_with_extension
(identifier: &str, extension: &str)
tests/src/main.rs:387
Methodnew_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
Functionok
* Convenience methods for creating scoped statuses. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:303
MethodonCreate
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:285
MethodonDestroy
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:291
MethodonDump
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:295
Methodon_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
Methodon_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
Methodon_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
Functionon_transact
(_aidl_service: &dyn IRemoteService, _aidl_code: binder::binder_impl::TransactionCode, _aidl_data: &binder::bi
example/src/IRemoteService.rs:170
Functionon_transact
( service: &dyn ITest, code: TransactionCode, _data: &BorrowedParcel<'_>, reply: &mut Borrowed
tests/src/main.rs:189
Methodon_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
Functionon_transact_same_descriptor
( _service: &dyn ITestSameDescriptor, _code: TransactionCode, _data: &BorrowedParcel<'_>, _rep
tests/src/main.rs:336
Functionoperator delete
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:101
Functionoperator new
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:111
Methodoperator!=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:135
Methodoperator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:118
Methodoperator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:221
Methodoperator!=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:393
Methodoperator<
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:136
Methodoperator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:119
Methodoperator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:222
Methodoperator<
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:394
Methodoperator<=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:137
Methodoperator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:120
Methodoperator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:223
Methodoperator<=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:395
Methodoperator==
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:138
Methodoperator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:121
Methodoperator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:224
Methodoperator==
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:396
Methodoperator>
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:139
Methodoperator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:122
Methodoperator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:225
Methodoperator>
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:397
Methodoperator>=
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:140
Methodoperator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:123
Methodoperator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:226
Methodoperator>=
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:398
Methodpartial_cmp
(&self, other: &Self)
binder/src/binder.rs:438
Methodpartial_cmp
(&self, other: &Self)
binder/src/proxy.rs:209
Methodpromote
* See AIBinder_Weak_promote. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:362
Methodread_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
Functionreassociate_rust_binder
()
tests/src/main.rs:822
Functionregister_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
Methodrelease
* Release the underlying resource. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:168
Methodreset
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
Methodresize_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
Methodresize_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
Functionrun
()
example/src/server.rs:21
Functionrun
()
example/src/client.rs:4
Methodserialize
(&self, parcel: &mut BorrowedParcel<'_>)
binder/src/native.rs:392
Methodserialize
(&self, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable_holder.rs:165
Methodserialize_array
Serialize an array of this type into the given parcel.
binder/src/parcel/parcelable.rs:84
Methodserialize_array
(slice: &[Self], parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:449
Functionserialize_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
Methodserialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/proxy.rs:434
Methodserialize_option
Serialize an Option of this type into the given parcel.
binder/src/parcel/parcelable.rs:198
Methodserialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:499
Methodserialize_option
(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:91
Methodset
* Takes ownership of t. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:150
MethodsetDefaultImpl
(d: IRemoteServiceDefaultRef)
example/src/IRemoteService.rs:24
MethodsetParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:100
Methodset_parcelable
Set the parcelable contained in this `ParcelableHolder`.
binder/src/parcel/parcelable_holder.rs:90
Methodset_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
Methodsized_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
Methodstart_thread_pool
Start the Binder IPC thread pool
binder/src/state.rs:26
Functiontest_append_from
()
binder/src/parcel.rs:887
← previousnext →301–400 of 438, ranked by callers