Home
last modified time | relevance | path

Searched defs:SpIBinder (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/binder/rust/src/
Dproxy.rs43 pub struct SpIBinder(ptr::NonNull<sys::AIBinder>); struct
45 impl fmt::Debug for SpIBinder { implementation
53 unsafe impl Send for SpIBinder {} implementation
57 unsafe impl Sync for SpIBinder {} implementation
59 impl SpIBinder { implementation
141 pub unsafe fn new_spibinder(ptr: *mut sys::AIBinder) -> Option<SpIBinder> { in new_spibinder()
160 impl AssociateClass for SpIBinder { implementation
170 impl Ord for SpIBinder { implementation
190 impl PartialOrd for SpIBinder { implementation
196 impl PartialEq for SpIBinder { implementation
[all …]
Dservice.rs148 pub fn get_service(name: &str) -> Option<SpIBinder> { in get_service()
157 pub fn check_service(name: &str) -> Option<SpIBinder> { in check_service()
167 pub fn wait_for_service(name: &str) -> Option<SpIBinder> { in wait_for_service()
Dbinder.rs57 fn as_binder(&self) -> SpIBinder { in as_binder()
207 fn get_extension(&mut self) -> Result<Option<SpIBinder>>; in get_extension()
Dnative.rs235 fn as_binder(&self) -> SpIBinder { in as_binder()
Dparcel.rs670 pub(crate) fn read_binder(&self) -> Result<Option<SpIBinder>> { in read_binder()
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dandroid.rs47 pub fn new_vsock(mut service: SpIBinder, cid: u32, port: u32) -> Result<RpcServer, Error> { in new_vsock()
63 mut service: SpIBinder, in new_bound_socket()
84 mut service: SpIBinder, in new_unix_domain_bootstrap()
102 pub fn new_inet(mut service: SpIBinder, address: &str, port: u32) -> Result<RpcServer, Error> { in new_inet()
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/src/
Dlib.rs37 pub fn fuzz_service(binder: &mut SpIBinder, fuzzer_data: &[u8]) { in fuzz_service()
43 pub fn fuzz_multiple_services(binders: &mut [&mut SpIBinder], fuzzer_data: &[u8]) { in fuzz_multiple_services()
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/binder_rpc_test_session/
Dlib.rs76 fn getNullBinder(&self) -> Result<SpIBinder, Status> { in getNullBinder()
82 fn repeatBinder(&self, _binder: Option<&SpIBinder>) -> Result<Option<SpIBinder>, Status> { in repeatBinder()
88 fn getHeldBinder(&self) -> Result<Option<SpIBinder>, Status> { in getHeldBinder()
102 fn alwaysGiveMeTheSameBinder(&self) -> Result<SpIBinder, Status> { in alwaysGiveMeTheSameBinder()
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/service/
Dmain.rs84 fn getNullBinder(&self) -> Result<SpIBinder, Status> { in getNullBinder()
93 fn repeatBinder(&self, binder: Option<&SpIBinder>) -> Result<Option<SpIBinder>, Status> { in repeatBinder()
103 fn getHeldBinder(&self) -> Result<Option<SpIBinder>, Status> { in getHeldBinder()
117 fn alwaysGiveMeTheSameBinder(&self) -> Result<SpIBinder, Status> { in alwaysGiveMeTheSameBinder()
/frameworks/native/libs/binder/rust/rpcbinder/src/
Dsession.rs218 service: Option<SpIBinder>, in get_interface()