MCPcopy Create free account

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

Functions438 in github.com/Kernel-SU/binder_rs

Methodas_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
Methodassociate_class
(&mut self, class: InterfaceClass)
binder/src/proxy.rs:173
Functionassociate_existing_class
()
tests/src/main.rs:810
MethodbasicTypes
(&self, _arg_anInt: i32, _arg_aLong: i64, _arg_aBoolean: bool, _arg_aFloat: f32, _arg_aDouble: f64, _arg_aStri
example/src/IRemoteService.rs:74
Methodbegin
* Return an iterator pointing to the first enum value. */
binder_ndk_sys/src/include_cpp/android/binder_enums.h:56
Methodbinder_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
Functionbinder_ord
()
tests/src/main.rs:877
Functionbinder_parcel_mixup
()
tests/src/main.rs:889
Methodborrow
(&self)
binder/src/binder.rs:406
Functioncheck_services
()
tests/src/main.rs:415
Functioncheck_services_async
()
tests/src/main.rs:439
Functioncheck_wait_for_service
()
tests/src/main.rs:468
Methodclone
(&self)
binder/src/native.rs:540
Methodclone
(&self)
binder/src/parcel.rs:136
Methodclone
(&self)
binder/src/binder.rs:397
FunctioncloseWithError
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:367
Methodcmp
(&self, other: &Self)
binder/src/binder.rs:432
Methodcookie_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
Methodcookie_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
Methoddefault
()
binder/src/native.rs:546
Methoddefault
()
binder/src/parcel.rs:130
Methoddefault
()
binder/src/binder.rs:114
Methodderef
(&self)
binder/src/native.rs:379
Methodderef
(&self)
binder/src/binder.rs:420
Methoddeserialize
(parcel: &BorrowedParcel<'_>)
binder/src/proxy.rs:442
Methoddeserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:443
Methoddeserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable_holder.rs:172
Methoddeserialize
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:135
Methoddeserialize_array
Deserialize an array of type from the given parcel.
binder/src/parcel/parcelable.rs:123
Functiondeserialize_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
Methoddeserialize_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
Methoddeserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/proxy.rs:448
Methoddeserialize_option
Deserialize an Option of this type from the given parcel.
binder/src/parcel/parcelable.rs:211
Methoddeserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable.rs:622
Methoddeserialize_option
(parcel: &BorrowedParcel<'_>)
binder/src/parcel/file_descriptor.rs:108
Methoddeserialize_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
Methoddowngrade
Creates a new weak reference to this binder object.
binder/src/proxy.rs:131
Methoddrop
(&mut self)
tests/src/main.rs:408
Methoddrop
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
Methoddrop
(&mut self)
binder/src/parcel.rs:691
Methoddrop
(&mut self)
binder/src/error.rs:364
Methoddrop
We hold a strong reference to the IBinder in SpIBinder and need to give up this reference on drop.
binder/src/proxy.rs:237
Methoddump
(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr])
example/src/IRemoteService.rs:52
Methoddump
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
Methoddump
(&mut self, fp: &F, args: &[&str])
binder/src/proxy.rs:330
Methoddup
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:391
Methodend
* Return an iterator pointing to one past the last enum value. */
binder_ndk_sys/src/include_cpp/android/binder_enums.h:60
Methodeq
(&self, other: &Self)
binder/src/binder.rs:444
Methodeq
(&self, other: &Status)
binder/src/error.rs:294
Methodeq
(&self, other: &Self)
binder/src/proxy.rs:215
Methodeq
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
Methodfmt
(&self, f: &mut fmt::Formatter)
binder_ndk_sys/src/lib.rs:31
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
binder/src/parcel.rs:703
Methodfmt
(&self, f: &mut fmt::Formatter)
binder/src/binder.rs:426
Methodfmt
(&self, f: &mut Formatter)
binder/src/error.rs:282
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
binder/src/proxy.rs:47
Methodfrom
(stability: Stability)
binder/src/binder.rs:120
Methodfrom
(status: StatusCode)
binder/src/error.rs:316
Methodfrom
(file: ParcelFileDescriptor)
binder/src/parcel/file_descriptor.rs:46
FunctionfromExceptionCode
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:304
FunctionfromExceptionCodeWithMessage
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:307
FunctionfromServiceSpecificError
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:311
FunctionfromServiceSpecificErrorWithMessage
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:314
FunctionfromStatus
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:318
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodget
* 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
MethodgetDefaultImpl
()
example/src/IRemoteService.rs:21
FunctiongetDescription
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:270
MethodgetInterface
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:276
MethodgetParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:111
MethodgetPid
(&self)
example/src/IRemoteService.rs:71
MethodgetR
* 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
MethodgetR
* 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
Methodget_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
Methodget_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
Functionget_declared_instances
()
tests/src/main.rs:486
Functionget_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
Methodget_descriptor
()
example/src/IRemoteService.rs:18
Methodget_descriptor
()
example/src/IRemoteService.rs:29
Methodget_descriptor
()
example/src/IRemoteService.rs:35
Methodget_descriptor
Retrieve the interface descriptor string for this object's Binder interface.
binder/src/native.rs:193
Methodget_descriptor
Get the interface descriptor string of this class.
binder/src/binder.rs:338
Functionget_expected_selinux_context
()
tests/src/main.rs:538
Functionget_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
Functionget_is_handling_transaction
()
tests/src/main.rs:912
Functionget_is_handling_transaction_async
()
tests/src/main.rs:932
Methodget_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
Functionget_selinux_context
()
tests/src/main.rs:549
Functionget_selinux_context_async
()
tests/src/main.rs:558
Functionget_selinux_context_async_to_sync
()
tests/src/main.rs:584
Functionget_selinux_context_sync_to_async
()
tests/src/main.rs:571
Methodget_stability
The Binder parcelable stability.
binder/src/parcel/parcelable_holder.rs:39
MethodhandleShellCommand
binder_ndk_sys/src/include_cpp/android/binder_interface_utils.h:305
Methodhas_more_data
Check if the sub-parcel has more data to read
binder/src/parcel.rs:573
Methodinto_async
Convert this synchronous binder handle into an asynchronous one.
binder/src/binder.rs:376
Methodinto_raw_fd
(self)
binder/src/parcel/file_descriptor.rs:58
FunctionisOk
* See AStatus_isOk. */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:248
← previousnext →201–300 of 438, ranked by callers