Home
last modified time | relevance | path

Searched refs:try_from (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/binder/rust/src/
Dbinder.rs129 fn try_from(stability: i32) -> Result<Stability> { in try_from() method
385 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_async()
395 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_sync()
404 FromIBinder::try_from(self.0.as_binder()).unwrap() in clone()
471 self.weak_binder.promote().ok_or(StatusCode::DEAD_OBJECT).and_then(FromIBinder::try_from) in upgrade()
643 fn try_from(ibinder: SpIBinder) -> Result<Strong<Self>>; in try_from() method
960 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $interface>,…
979 std::convert::TryFrom::try_from(ibinder.clone());
1028 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $async_inter…
Dservice.rs139 FromIBinder::try_from(service) in interface_cast()
Dnative.rs430 fn try_from(mut ibinder: SpIBinder) -> Result<Self> { in try_from() method
Dproxy.rs108 FromIBinder::try_from(self) in into_interface()
/frameworks/native/libs/binder/rust/rpcbinder/src/
Dsession.rs221 FromIBinder::try_from(service) in get_interface()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs103 fn try_from(c: u32) -> Result<Self, Self::Error> { in try_from() method
860 let extension: Strong<dyn ITest> = FromIBinder::try_from(extension) in test_extensions()
885 FromIBinder::try_from(service.as_binder()) in associate_existing_class()
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs798 i32::deserialize(parcel).and_then(Stability::try_from) in deserialize()
865 FromIBinder::try_from(ibinder) in deserialize()
873 fn try_from(_: SpIBinder) -> Result<Strong<Self>> { in try_from() method
881 ibinder.map(FromIBinder::try_from).transpose() in deserialize_option()