Home
last modified time | relevance | path

Searched refs:dyn (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/rust/tests/
Dintegration.rs141 service: &dyn ITest, in on_transact()
191 _service: &dyn ITestSameDescriptor, in on_transact_same_descriptor()
265 binder::get_interface::<dyn ITest>("this_service_does_not_exist").err(), in check_services()
271 binder::get_interface::<dyn ITest>("manager").err(), in check_services()
280 let test_client: Strong<dyn ITest> = in trivial_client()
289 let test_client: Strong<dyn ITest> = in get_selinux_context()
464 let extension: Strong<dyn ITest> = FromIBinder::try_from(extension) in test_extensions()
490 let _interface: Strong<dyn ITestSameDescriptor> = in associate_existing_class()
507 let service: Strong<dyn ITest> = service_ibinder in reassociate_rust_binder()
Dndk_rust_interop.rs38 let service: binder::Strong<dyn IBinderRustNdkInteropTest> = in rust_call_ndk()
57 let wrong_service: Result<binder::Strong<dyn IBinderRustNdkInteropTestOther>, StatusCode> = in rust_call_ndk()
Dserialization.rs112 _service: &dyn ReadParcelTest, in on_transact()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs751 pub struct $native(Box<dyn $interface + Sync + Send + 'static>);
755 …c + Send + 'static>(inner: T, features: $crate::BinderFeatures) -> $crate::Strong<dyn $interface> {
799 impl $crate::FromIBinder for dyn $interface {
800 … fn try_from(mut ibinder: $crate::SpIBinder) -> $crate::Result<$crate::Strong<dyn $interface>> {
834 impl $crate::parcel::Serialize for dyn $interface + '_
836 dyn $interface: $crate::Interface
844 impl $crate::parcel::SerializeOption for dyn $interface + '_ {
850 impl std::fmt::Debug for dyn $interface {
857 impl std::borrow::ToOwned for dyn $interface {
858 type Owned = $crate::Strong<dyn $interface>;
Dproxy.rs538 callback: Box<dyn Fn() + Send + 'static>,
/frameworks/native/services/sensorservice/
DSensorDevice.cpp1172 const DynamicSensorInfo &dyn = src.u.dynamic; in convertToSensorEvent() local
1174 dst->dynamic_sensor_meta.connected = dyn.connected; in convertToSensorEvent()
1175 dst->dynamic_sensor_meta.handle = dyn.sensorHandle; in convertToSensorEvent()
1176 if (dyn.connected) { in convertToSensorEvent()
1177 auto it = mConnectedDynamicSensors.find(dyn.sensorHandle); in convertToSensorEvent()
1183 dyn.uuid.data(), in convertToSensorEvent()