Searched refs:FromIBinder (Results 1 – 7 of 7) sorted by relevance
/aosp12/frameworks/native/libs/binder/rust/src/ |
H A D | binder.rs | 264 pub struct Strong<I: FromIBinder + ?Sized>(Box<I>); 266 impl<I: FromIBinder + ?Sized> Strong<I> { 313 impl<I: FromIBinder + ?Sized> Ord for Strong<I> { 331 impl<I: FromIBinder + ?Sized> Eq for Strong<I> {} 335 pub struct Weak<I: FromIBinder + ?Sized> { 340 impl<I: FromIBinder + ?Sized> Weak<I> { 356 .and_then(FromIBinder::try_from) in upgrade() 360 impl<I: FromIBinder + ?Sized> Clone for Weak<I> { 369 impl<I: FromIBinder + ?Sized> Ord for Weak<I> { 387 impl<I: FromIBinder + ?Sized> Eq for Weak<I> {} [all …]
|
H A D | proxy.rs | 20 AsNative, FromIBinder, IBinder, IBinderInternal, Interface, InterfaceClass, Strong, 104 pub fn into_interface<I: FromIBinder + Interface + ?Sized>(self) -> Result<Strong<I>> { in into_interface() 105 FromIBinder::try_from(self) in into_interface() 658 pub fn get_interface<T: FromIBinder + ?Sized>(name: &str) -> Result<Strong<T>> { in get_interface() 661 Some(service) => FromIBinder::try_from(service), in get_interface()
|
H A D | lib.rs | 110 BinderFeatures, FromIBinder, IBinder, IBinderInternal, Interface, InterfaceClass, Remotable,
|
/aosp12/frameworks/native/libs/binder/rust/src/parcel/ |
H A D | parcelable.rs | 17 use crate::binder::{AsNative, FromIBinder, Strong}; 631 impl<T: Serialize + FromIBinder + ?Sized> Serialize for Strong<T> { 637 impl<T: SerializeOption + FromIBinder + ?Sized> SerializeOption for Strong<T> { 643 impl<T: FromIBinder + ?Sized> Deserialize for Strong<T> { 646 FromIBinder::try_from(ibinder) in deserialize() 650 impl<T: FromIBinder + ?Sized> DeserializeOption for Strong<T> { 653 ibinder.map(FromIBinder::try_from).transpose() in deserialize_option()
|
/aosp12/system/security/keystore2/src/ |
H A D | utils.rs | 33 use binder::{FromIBinder, SpIBinder, ThreadState}; 146 pub fn get_interface<T: FromIBinder + ?Sized>(&self) -> anyhow::Result<binder::Strong<T>> { in get_interface()
|
H A D | globals.rs | 39 use binder::FromIBinder; 108 fn devices<T: FromIBinder + ?Sized>(&self) -> Vec<Strong<T>> { in devices()
|
/aosp12/frameworks/native/libs/binder/rust/tests/ |
H A D | integration.rs | 216 Binder, BinderFeatures, DeathRecipient, FromIBinder, IBinder, IBinderInternal, Interface, 464 let extension: Strong<dyn ITest> = FromIBinder::try_from(extension) in test_extensions() 491 FromIBinder::try_from(service.as_binder()) in associate_existing_class()
|