Lines Matching refs:Strong

365 pub struct Strong<I: FromIBinder + ?Sized>(Box<I>);  struct
367 impl<I: FromIBinder + ?Sized> Strong<I> { implementation
374 pub fn downgrade(this: &Strong<I>) -> Weak<I> { in downgrade()
379 pub fn into_async<P>(self) -> Strong<<I as ToAsyncInterface<P>>::Target> in into_async()
389 pub fn into_sync(self) -> Strong<<I as ToSyncInterface>::Target> in into_sync()
399 impl<I: FromIBinder + ?Sized> Clone for Strong<I> { implementation
408 impl<I: FromIBinder + ?Sized> Borrow<I> for Strong<I> { implementation
414 impl<I: FromIBinder + ?Sized> AsRef<I> for Strong<I> { implementation
420 impl<I: FromIBinder + ?Sized> Deref for Strong<I> { implementation
428 impl<I: FromIBinder + fmt::Debug + ?Sized> fmt::Debug for Strong<I> { implementation
434 impl<I: FromIBinder + ?Sized> Ord for Strong<I> { implementation
440 impl<I: FromIBinder + ?Sized> PartialOrd for Strong<I> { implementation
446 impl<I: FromIBinder + ?Sized> PartialEq for Strong<I> { implementation
452 impl<I: FromIBinder + ?Sized> Eq for Strong<I> {} implementation
463 fn new(binder: &Strong<I>) -> Self { in new()
470 pub fn upgrade(&self) -> Result<Strong<I>> { in upgrade()
643 fn try_from(ibinder: SpIBinder) -> Result<Strong<Self>>; in try_from()
893 …c + Send + 'static>(inner: T, features: $crate::BinderFeatures) -> $crate::Strong<dyn $interface> {
897 $crate::Strong::new(Box::new(binder))
960 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $interface>,…
973 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder…
983 return Ok($crate::Strong::new(Box::new(service)));
986 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder…
1018 type Owned = $crate::Strong<dyn $interface>;
1028 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $async_inter…
1041 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder…
1046 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder…
1074 type Owned = $crate::Strong<dyn $async_interface<P>>;