MCPcopy Create free account

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

Functions438 in github.com/Kernel-SU/binder_rs

↓ 51 callersMethodget
* This returns the underlying binder object for transactions. If it is used to create another * SpAIBinder object, it should first be incremented
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:102
↓ 34 callersMethodwrite
Write a type that implements [`Serialize`] to the parcel.
binder/src/parcel.rs:213
↓ 33 callersMethodread
Attempt to read a type that implements [`Deserialize`] from this parcel.
binder/src/parcel.rs:446
↓ 26 callersFunctionstatus_result
Convert a low-level status code into an empty result. An OK status is converted into an `Ok` result, any other status is converted into an `Err` resu
binder/src/error.rs:39
↓ 23 callersMethodborrowed_ref
Get an immutable borrowed view into the contents of this `Parcel`.
binder/src/parcel.rs:121
↓ 16 callersMethodget_data_position
Returns the current position in the parcel data.
binder/src/parcel.rs:280
↓ 12 callersMethodas_native_mut
(&mut self)
binder/src/proxy.rs:711
↓ 12 callersMethodclone
(&self)
binder/src/proxy.rs:223
↓ 12 callersMethodset_data_position
Move the current read/write position in the parcel. # Safety This method is safe if `pos` is less than the current size of the parcel data buffer. O
binder/src/parcel.rs:306
↓ 10 callersMethodas_binder
Converts the local remotable object into a generic `SpIBinder` reference. The resulting `SpIBinder` will hold its own strong reference to this remota
binder/src/native.rs:241
↓ 10 callersMethodas_binder
Convert this binder object into a generic [`SpIBinder`] reference.
binder/src/binder.rs:56
↓ 10 callersMethodas_native
(&self)
binder/src/error.rs:383
↓ 10 callersFunctionget_interface
Retrieve an existing service for a particular interface, blocking for a few seconds if it doesn't yet exist.
binder/src/proxy.rs:790
↓ 9 callersMethodas_native_mut
(&mut self)
binder/src/native.rs:437
↓ 8 callersMethodas_native_mut
(&mut self)
binder/src/error.rs:387
↓ 8 callersMethodborrowed
Get a borrowed view into the contents of this `Parcel`.
binder/src/parcel.rs:112
↓ 8 callersMethodget_description
Returns a description of the status.
binder/src/error.rs:197
↓ 8 callersFunctionget_service
Retrieve an existing service, blocking for a few seconds if it doesn't yet exist.
binder/src/proxy.rs:766
↓ 8 callersMethodtransact
Perform a generic operation with the object. This is a convenience method that internally calls `prepare_transact` followed by `submit_transact. # Ar
binder/src/binder.rs:241
↓ 7 callersMethodas_native
(&self)
binder/src/parcel.rs:179
↓ 6 callersFunctionScopedAStatus
* Takes ownership of a. * * WARNING: this constructor is only expected to be used when reading a * status value. Use `ScopedAStatus
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:240
↓ 6 callersMethodset
* Takes ownership of one strong refcount of binder */
binder_ndk_sys/src/include_cpp/android/binder_auto_utils.h:89
↓ 6 callersMethodsubmit_transact
( &self, code: TransactionCode, data: Parcel, flags: TransactionFlags, )
binder/src/proxy.rs:271
↓ 5 callersFunctionAParcel_writeString
* Convenience API for writing a std::string. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:593
↓ 5 callersMethodreadFromParcel
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:70
↓ 4 callersFunctionAParcel_readString
* Convenience API for reading a std::string. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:600
↓ 4 callersMethodand_then
Calls `op` if the status was ok, otherwise returns an `Err` value of `self`.
binder/src/error.rs:270
↓ 4 callersMethodas_native
(&self)
binder/src/proxy.rs:707
↓ 4 callersMethodas_raw_fd
(&self)
binder/src/parcel/file_descriptor.rs:52
↓ 4 callersMethodas_ref
(&self)
binder/src/binder.rs:412
↓ 4 callersFunctionis_handling_transaction
Determine whether the current thread is currently executing an incoming transaction.
binder/src/native.rs:578
↓ 4 callersMethodprepare_transact
(&self)
binder/src/proxy.rs:247
↓ 4 callersMethodwriteToParcel
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:61
↓ 3 callersFunctionAParcel_nullableStdStringAllocator
* Allocates a string in a std::optional<std::string> to size 'length' (or to std::nullopt when * length is -1) and returns the underlying buffer. For
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:404
↓ 3 callersFunctionAParcel_readParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:692
↓ 3 callersFunctionAParcel_writeParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:674
↓ 3 callersMethodas_native_mut
(&mut self)
binder/src/parcel.rs:183
↓ 3 callersMethodassert_dropped
(&self)
tests/src/main.rs:606
↓ 3 callersMethodassert_not_dropped
(&self)
tests/src/main.rs:612
↓ 3 callersMethodcmp
(&self, other: &Self)
binder/src/proxy.rs:185
↓ 3 callersMethodis_ok
Returns `true` if this status represents a successful transaction.
binder/src/error.rs:188
↓ 3 callersMethodok
Create a status object representing a successful transaction.
binder/src/error.rs:113
↓ 3 callersMethodping_binder
(&mut self)
binder/src/proxy.rs:415
↓ 3 callersFunctionregister_death_notification
(binder: &mut SpIBinder)
tests/src/main.rs:620
↓ 3 callersMethodtransaction_error
Return a status code representing a transaction failure, or `StatusCode::OK` if there was no transaction failure. If this method returns `OK`, the st
binder/src/error.rs:242
↓ 3 callersMethodupgrade
Upgrade this weak reference to a strong reference if the binder object is still alive
binder/src/binder.rs:467
↓ 3 callersMethodwrite_binder
(&mut self, binder: Option<&SpIBinder>)
binder/src/parcel.rs:651
↓ 2 callersFunctionAParcel_readData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1676
↓ 2 callersFunctionAParcel_readFixedArray
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1523
↓ 2 callersFunctionAParcel_readNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1716
↓ 2 callersFunctionAParcel_readNullableParcelFileDescriptor
* Convenience method to read a ParcelFileDescriptor where -1 represents a null value. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:348
↓ 2 callersFunctionAParcel_readNullableParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:734
↓ 2 callersFunctionAParcel_readNullableStrongBinder
* Convenience method to read a nullable strong binder. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:298
↓ 2 callersFunctionAParcel_readRequiredParcelFileDescriptor
* Convenience method to read a valid ParcelFileDescriptor. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:373
↓ 2 callersFunctionAParcel_readRequiredStrongBinder
* Convenience method to read a strong binder but return an error if it is null. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:323
↓ 2 callersFunctionAParcel_readVector
* Convenience API for reading a std::vector<std::string> */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:639
↓ 2 callersFunctionAParcel_stdStringAllocator
* Allocates a std::string to length and returns the underlying buffer. For use with * AParcel_readString. See use below in AParcel_readString(const A
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:390
↓ 2 callersFunctionAParcel_writeData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1609
↓ 2 callersFunctionAParcel_writeFixedArray
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1457
↓ 2 callersFunctionAParcel_writeFixedArrayWithNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1491
↓ 2 callersFunctionAParcel_writeNullableParcelFileDescriptor
* Convenience method to write a ParcelFileDescriptor where -1 represents a null value. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:340
↓ 2 callersFunctionAParcel_writeNullableParcelable
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:714
↓ 2 callersFunctionAParcel_writeNullableStrongBinder
* Convenience method to write a nullable strong binder. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:290
↓ 2 callersFunctionAParcel_writeRequiredParcelFileDescriptor
* Convenience method to write a valid ParcelFileDescriptor. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:361
↓ 2 callersFunctionAParcel_writeRequiredStrongBinder
* Convenience method to write a strong binder but return an error if it is null. */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:311
↓ 2 callersFunctionAParcel_writeVector
* Convenience API for writing a std::vector<std::string> */
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:629
↓ 2 callersFunctionadd_service
Register a new service with the default service manager. Registers the given binder object with the given identifier. If successful, this service can
binder/src/native.rs:448
↓ 2 callersMethodappend_all_from
Append the contents of another parcel.
binder/src/parcel.rs:330
↓ 2 callersMethodappend_from
Append a subset of another parcel. This appends `size` bytes of data from `other` starting at offset `start` to the current parcel, or returns an err
binder/src/parcel.rs:314
↓ 2 callersMethodbasicTypes
(&self, _arg_anInt: i32, _arg_aLong: i64, _arg_aBoolean: bool, _arg_aFloat: f32, _arg_aDouble: f64, _arg_aStri
example/src/IRemoteService.rs:62
↓ 2 callersMethodblock_on
(&self, future: F)
binder_tokio/src/lib.rs:128
↓ 2 callersMethodbuild_parcel_basicTypes
(&self, _arg_anInt: i32, _arg_aLong: i64, _arg_aBoolean: bool, _arg_aFloat: f32, _arg_aDouble: f64, _arg_aStri
example/src/IRemoteService.rs:104
↓ 2 callersMethodbuild_parcel_getPid
(&self)
example/src/IRemoteService.rs:88
↓ 2 callersMethodexception_code
Returns the exception code of the status.
binder/src/error.rs:226
↓ 2 callersFunctionforce_lazy_services_persist
Prevent a process which registers lazy services from being shut down even when none of the services is in use. If persist is true then shut down will
binder/src/native.rs:493
↓ 2 callersMethodgetPid
(&self)
example/src/IRemoteService.rs:59
↓ 2 callersMethodget_data_size
Returns the total size of the parcel.
binder/src/parcel.rs:289
↓ 2 callersMethodget_dump_args
(&self)
tests/src/main.rs:133
↓ 2 callersMethodget_extension
(&mut self)
binder/src/proxy.rs:354
↓ 2 callersFunctioninterface_cast
(service: Option<SpIBinder>)
binder/src/proxy.rs:136
↓ 2 callersFunctionparse_status_code
(code: i32)
binder/src/error.rs:46
↓ 2 callersFunctionprint_usage
()
tests/src/main.rs:73
↓ 2 callersMethodread_binder
(&self)
binder/src/parcel.rs:670
↓ 2 callersMethodread_from_parcel
(&mut self, parcel: &BorrowedParcel<'_>)
binder/src/parcel/parcelable_holder.rs:221
↓ 2 callersMethodread_response_basicTypes
(&self, _arg_anInt: i32, _arg_aLong: i64, _arg_aBoolean: bool, _arg_aFloat: f32, _arg_aDouble: f64, _arg_aStri
example/src/IRemoteService.rs:114
↓ 2 callersMethodread_response_getPid
(&self, _aidl_reply: std::result::Result<binder::binder_impl::Parcel, binder::StatusCode>)
example/src/IRemoteService.rs:92
↓ 2 callersMethodreset
binder_ndk_sys/src/include_cpp/android/binder_parcelable_utils.h:133
↓ 2 callersMethodserialize
(&self, parcel: &mut BorrowedParcel<'_>)
binder/src/proxy.rs:428
↓ 2 callersMethodservice_specific_error
Return a service specific error if this status represents one. This function will only ever return a non-zero result if [`exception_code`](Self::exce
binder/src/error.rs:259
↓ 2 callersFunctionwait_for_interface
Retrieve an existing service for a particular interface, or start it if it is configured as a dynamic service and isn't yet started.
binder/src/proxy.rs:796
↓ 2 callersFunctionwait_for_service
Retrieve an existing service, or start it if it is configured as a dynamic service and isn't yet started.
binder/src/proxy.rs:778
↓ 1 callersFunctionAParcel_readFixedArrayWithNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1553
↓ 1 callersFunctionAParcel_readNullableFixedArrayWithNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1574
↓ 1 callersFunctionAParcel_writeNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1649
↓ 1 callersFunctionAParcel_writeNullableFixedArrayWithNullableData
binder_ndk_sys/src/include_cpp/android/binder_parcel_utils.h:1513
↓ 1 callersMethodas_binder
(&self)
example/src/IRemoteService.rs:51
↓ 1 callersMethodas_ref
(&self)
binder/src/parcel/file_descriptor.rs:40
↓ 1 callersMethodassert_died
(&self)
tests/src/main.rs:603
↓ 1 callersMethodbasicTypes
(&self, a: i32, b: i64, c: bool, d: f32, e: f64, f: &str)
example/src/server.rs:15
↓ 1 callersFunctionbuild_stub
()
binder_ndk_sys/build.rs:22
next →1–100 of 438, ranked by callers