Searched refs:FromIBinder (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/binder/rust/rpcbinder/src/ |
D | session.rs | 18 use binder::{FromIBinder, SpIBinder, StatusCode, Strong}; 88 pub fn setup_vsock_client<T: FromIBinder + ?Sized>( in setup_vsock_client() 108 pub fn setup_unix_domain_client<T: FromIBinder + ?Sized>( in setup_unix_domain_client() 134 pub fn setup_unix_domain_bootstrap_client<T: FromIBinder + ?Sized>( in setup_unix_domain_bootstrap_client() 153 pub fn setup_inet_client<T: FromIBinder + ?Sized>( in setup_inet_client() 179 pub fn setup_trusty_client<T: FromIBinder + ?Sized>( in setup_trusty_client() 196 pub fn setup_preconnected_client<T: FromIBinder + ?Sized>( in setup_preconnected_client() 217 fn get_interface<T: FromIBinder + ?Sized>( in get_interface() 221 FromIBinder::try_from(service) in get_interface()
|
/frameworks/native/libs/binder/rust/src/ |
D | binder.rs | 81 Self::Target: FromIBinder, 95 Self::Target: FromIBinder, 365 pub struct Strong<I: FromIBinder + ?Sized>(Box<I>); 367 impl<I: FromIBinder + ?Sized> Strong<I> { 385 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_async() 395 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_sync() 399 impl<I: FromIBinder + ?Sized> Clone for Strong<I> { 404 FromIBinder::try_from(self.0.as_binder()).unwrap() in clone() 408 impl<I: FromIBinder + ?Sized> Borrow<I> for Strong<I> { 414 impl<I: FromIBinder + ?Sized> AsRef<I> for Strong<I> { [all …]
|
D | service.rs | 17 use crate::binder::{AsNative, FromIBinder, Strong}; 137 fn interface_cast<T: FromIBinder + ?Sized>(service: Option<SpIBinder>) -> Result<Strong<T>> { in interface_cast() 139 FromIBinder::try_from(service) in interface_cast() 178 pub fn get_interface<T: FromIBinder + ?Sized>(name: &str) -> Result<Strong<T>> { in get_interface() 184 pub fn check_interface<T: FromIBinder + ?Sized>(name: &str) -> Result<Strong<T>> { in check_interface() 190 pub fn wait_for_interface<T: FromIBinder + ?Sized>(name: &str) -> Result<Strong<T>> { in wait_for_interface()
|
D | proxy.rs | 20 AsNative, FromIBinder, IBinder, IBinderInternal, Interface, InterfaceClass, Strong, 107 pub fn into_interface<I: FromIBinder + Interface + ?Sized>(self) -> Result<Strong<I>> { in into_interface() 108 FromIBinder::try_from(self) in into_interface()
|
D | lib.rs | 111 pub use binder::{BinderFeatures, FromIBinder, IBinder, Interface, Strong, Weak};
|
/frameworks/native/libs/binder/rust/binder_tokio/ |
D | lib.rs | 32 use binder::{BinderAsyncPool, BoxFuture, FromIBinder, StatusCode, Strong}; 38 pub async fn get_interface<T: FromIBinder + ?Sized + 'static>( in get_interface() 64 pub async fn check_interface<T: FromIBinder + ?Sized + 'static>( in check_interface() 88 pub async fn wait_for_interface<T: FromIBinder + ?Sized + 'static>( in wait_for_interface()
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable.rs | 17 use crate::binder::{AsNative, FromIBinder, Interface, Stability, Strong}; 840 impl<T: Serialize + FromIBinder + ?Sized> Serialize for Strong<T> { 846 impl<T: SerializeOption + FromIBinder + ?Sized> SerializeOption for Strong<T> { 852 impl<T: Serialize + FromIBinder + ?Sized> SerializeArray for Strong<T> {} 854 impl<T: FromIBinder + ?Sized> Deserialize for Strong<T> { 865 FromIBinder::try_from(ibinder) in deserialize() 871 impl FromIBinder for AssertIBinder { 878 impl<T: FromIBinder + ?Sized> DeserializeOption for Strong<T> { 881 ibinder.map(FromIBinder::try_from).transpose() in deserialize_option() 885 impl<T: FromIBinder + ?Sized> DeserializeArray for Strong<T> {}
|
/frameworks/native/libs/binder/rust/tests/ |
D | integration.rs | 379 BinderFeatures, DeathRecipient, FromIBinder, IBinder, Interface, SpIBinder, StatusCode, 860 let extension: Strong<dyn ITest> = FromIBinder::try_from(extension) in test_extensions() 885 FromIBinder::try_from(service.as_binder()) in associate_existing_class()
|