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
as_raw
Extract a raw `AIBinder` pointer from this wrapper. This method should _only_ be used for testing. Do not try to use the NDK interface directly for a
binder/src/proxy.rs:93
Method
associate_class
(&mut self, class: InterfaceClass)
binder/src/proxy.rs:173
Function
associate_existing_class
()
tests/src/main.rs:810
Method
basicTypes
(&self, _arg_anInt: i32, _arg_aLong: i64, _arg_aBoolean: bool, _arg_aFloat: f32, _arg_aDouble: f64, _arg_aStri
example/src/IRemoteService.rs:74
Method
begin
* Return an iterator pointing to the first enum value. */
binder_ndk_sys/src/include_cpp/android/binder_enums.h:56
Method
binder_died
Callback invoked from C++ when the binder object dies. # Safety The `cookie` parameter must be the cookie for an Arc<F> and the caller must hold a r
binder/src/proxy.rs:664
Function
binder_ord
()
tests/src/main.rs:877
Function
binder_parcel_mixup
()
tests/src/main.rs:889
Method
borrow
(&self)
binder/src/binder.rs:406
Function
check_services
()
tests/src/main.rs:415
Function
check_services_async
()
tests/src/main.rs:439
Function
check_wait_for_service
()
tests/src/main.rs:468
Method
clone
(&self)
binder/src/native.rs:540
Method
clone
(&self)
binder/src/parcel.rs:136
Method
clone
(&self)
binder/src/binder.rs:397
Function
closeWithError
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:367
Method
cmp
(&self, other: &Self)
binder/src/binder.rs:432
Method
cookie_decr_refcount
Callback that decrements the ref-count. This is invoked from C++ when a binder is unlinked. # Safety The `cookie` parameter must be the cookie for a
binder/src/proxy.rs:679
Method
cookie_incr_refcount
Callback that increments the ref-count. # Safety The `cookie` parameter must be the cookie for an Arc<F> and the owner must handle the created ref-c
binder/src/proxy.rs:692
Method
default
()
binder/src/native.rs:546
Method
default
()
binder/src/parcel.rs:130
Method
default
()
binder/src/binder.rs:114
Method
deref
(&self)
binder/src/native.rs:379
Method
deref
(&self)
binder/src/binder.rs:420
Method
deserialize
(parcel: &BorrowedParcel<'_>)
binder/src/proxy.rs:442
Method
deserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:443
Method
deserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable_holder.rs:172
Method
deserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:135
Method
deserialize_array
Deserialize an array of type from the given parcel.
binder/src/parcel/parcelable.rs:123
Function
deserialize_element
Callback to deserialize a parcelable element. The opaque array data pointer must be a mutable pointer to an `Option<Vec<MaybeUninit<T>>>` with at lea
binder/src/parcel/parcelable.rs:154
Method
deserialize_from
Deserialize an instance from the given [`Parcel`] onto the current object. This operation will overwrite the old value partially or completely, depend
binder/src/parcel/parcelable.rs:69
Method
deserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/proxy.rs:448
Method
deserialize_option
Deserialize an Option of this type from the given parcel.
binder/src/parcel/parcelable.rs:211
Method
deserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:622
Method
deserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:108
Method
deserialize_option_from
Deserialize an Option of this type from the given parcel onto the current object. This operation will overwrite the current value partially or complet
binder/src/parcel/parcelable.rs:223
Method
downgrade
Creates a new weak reference to this binder object.
binder/src/proxy.rs:131
Method
drop
(&mut self)
tests/src/main.rs:408
Method
drop
This causes C++ to decrease the strong ref count of the `AIBinder` object. We specifically do not drop the `rust_object` here. When C++ actually destr
binder/src/native.rs:365
Method
drop
(&mut self)
binder/src/parcel.rs:691
Method
drop
(&mut self)
binder/src/error.rs:364
Method
drop
We hold a strong reference to the IBinder in SpIBinder and need to give up this reference on drop.
binder/src/proxy.rs:237
Method
dump
(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr])
example/src/IRemoteService.rs:52
Method
dump
Dump transaction handler for this Binder object. This handler is a no-op by default and should be implemented for each Binder service struct that wis
binder/src/binder.rs:64
Method
dump
(&mut self, fp: &F, args: &[&str])
binder/src/proxy.rs:330
Method
dup
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:391
Method
end
* Return an iterator pointing to one past the last enum value. */
binder_ndk_sys/src/include_cpp/android/binder_enums.h:60
Method
eq
(&self, other: &Self)
binder/src/binder.rs:444
Method
eq
(&self, other: &Status)
binder/src/error.rs:294
Method
eq
(&self, other: &Self)
binder/src/proxy.rs:215
Method
eq
Since ParcelFileDescriptors own the FD, if this function ever returns true (and it is used to compare two different objects), then it would imply that
binder/src/parcel/file_descriptor.rs:66
Method
fmt
(&self, f: &mut fmt::Formatter)
binder_ndk_sys/src/lib.rs:31
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
binder/src/parcel.rs:703
Method
fmt
(&self, f: &mut fmt::Formatter)
binder/src/binder.rs:426
Method
fmt
(&self, f: &mut Formatter)
binder/src/error.rs:282
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
binder/src/proxy.rs:47
Method
from
(stability: Stability)
binder/src/binder.rs:120
Method
from
(status: StatusCode)
binder/src/error.rs:316
Method
from
(file: ParcelFileDescriptor)
binder/src/parcel/file_descriptor.rs:46
Function
fromExceptionCode
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:304
Function
fromExceptionCodeWithMessage
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:307
Function
fromServiceSpecificError
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:311
Function
fromServiceSpecificErrorWithMessage
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:314
Function
fromStatus
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:318
Method
from_ptr
Construct an `InterfaceClass` out of a raw, non-null `AIBinder_Class` pointer. # Safety This function is safe iff `ptr` is a valid, non-null pointer
binder/src/binder.rs:333
Method
from_ptr
Create a status object from a raw `AStatus` pointer. # Safety This constructor is safe iff `ptr` is a valid pointer to an `AStatus`.
binder/src/error.rs:183
Method
from_raw
Create an owned reference to a parcel object from a raw pointer. # Safety This constructor is safe if the raw pointer parameter is either null (resu
binder/src/parcel.rs:100
Method
from_raw
Create an `SpIBinder` wrapper object from a raw `AIBinder` pointer. # Safety This constructor is safe iff `ptr` is a null pointer or a valid pointer
binder/src/proxy.rs:79
Method
get
* This returns the underlying object to be modified but does not affect ownership. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:158
Method
getDefaultImpl
()
example/src/IRemoteService.rs:21
Function
getDescription
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:270
Method
getInterface
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:276
Method
getParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:111
Method
getPid
(&self)
example/src/IRemoteService.rs:71
Method
getR
* This allows the value in this class to be set from beneath it. If you call this method and * then change the value of T*, you must take ownersh
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:116
Method
getR
* This allows the value in this class to be set from beneath it. If you call this method and * then change the value of T*, you must take ownersh
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:186
Method
get_calling_pid
This returns the calling PID assuming that this thread is called from a thread that is processing a binder transaction (for instance, in the implement
binder/src/state.rs:95
Method
get_calling_uid
This returns the calling UID assuming that this thread is called from a thread that is processing a binder transaction (for instance, in the implement
binder/src/state.rs:70
Function
get_declared_instances
()
tests/src/main.rs:486
Function
get_declared_instances
Retrieve all declared instances for a particular interface For instance, if 'android.foo.IFoo/foo' is declared, and 'android.foo.IFoo' is passed here
binder/src/proxy.rs:816
Method
get_descriptor
()
example/src/IRemoteService.rs:18
Method
get_descriptor
()
example/src/IRemoteService.rs:29
Method
get_descriptor
()
example/src/IRemoteService.rs:35
Method
get_descriptor
Retrieve the interface descriptor string for this object's Binder interface.
binder/src/native.rs:193
Method
get_descriptor
Get the interface descriptor string of this class.
binder/src/binder.rs:338
Function
get_expected_selinux_context
()
tests/src/main.rs:538
Function
get_interface
Retrieve an existing service for a particular interface, sleeping for a few seconds if it doesn't yet exist.
binder_tokio/src/lib.rs:37
Function
get_is_handling_transaction
()
tests/src/main.rs:912
Function
get_is_handling_transaction_async
()
tests/src/main.rs:932
Method
get_parcelable
Retrieve the parcelable stored in this `ParcelableHolder`. This method attempts to retrieve the parcelable inside the current object as a parcelable
binder/src/parcel/parcelable_holder.rs:117
Function
get_selinux_context
()
tests/src/main.rs:549
Function
get_selinux_context_async
()
tests/src/main.rs:558
Function
get_selinux_context_async_to_sync
()
tests/src/main.rs:584
Function
get_selinux_context_sync_to_async
()
tests/src/main.rs:571
Method
get_stability
The Binder parcelable stability.
binder/src/parcel/parcelable_holder.rs:39
Method
handleShellCommand
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:305
Method
has_more_data
Check if the sub-parcel has more data to read
binder/src/parcel.rs:573
Method
into_async
Convert this synchronous binder handle into an asynchronous one.
binder/src/binder.rs:376
Method
into_raw_fd
(self)
binder/src/parcel/file_descriptor.rs:58
Function
isOk
* See AStatus_isOk. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:248
← previous
next →
201–300 of 438, ranked by callers