/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/ |
D | main.rs | 44 fn get_service(port: &str) -> Strong<dyn IBinderRpcTest> { in get_service() 49 fn expect_sessions(expected: i32, srv: &Strong<dyn IBinderRpcTest>) { in expect_sessions() 70 service_test! {ping, ping_rust, |srv: Strong<dyn IBinderRpcTest>| { 74 service_test! {send_something_oneway, send_something_oneway_rust, |srv: Strong<dyn IBinderRpcTest>|… 78 service_test! {send_and_get_result_back, send_and_get_result_back_rust, |srv: Strong<dyn IBinderRpc… 82 service_test! {send_and_get_result_back_big, send_and_get_result_back_big_rust, |srv: Strong<dyn IB… 88 service_test! {invalid_null_binder_return, invalid_null_binder_return_rust, |srv: Strong<dyn IBinde… 93 service_test! {call_me_back, call_me_back_rust, |srv: Strong<dyn IBinderRpcTest>| { 101 service_test! {repeat_binder, repeat_binder_rust, |srv: Strong<dyn IBinderRpcTest>| { 109 service_test! {repeat_their_binder, repeat_their_binder_rust, |srv: Strong<dyn IBinderRpcTest>| { [all …]
|
/frameworks/native/libs/binder/rust/tests/ |
D | integration.rs | 121 fn dump(&self, _writer: &mut dyn Write, args: &[&CStr]) -> Result<(), StatusCode> { in dump() 190 service: &dyn ITest, in on_transact() 337 _service: &dyn ITestSameDescriptor, in on_transact_same_descriptor() 431 binder::get_interface::<dyn ITest>("this_service_does_not_exist").err(), in check_get_service() 435 binder::get_interface::<dyn IATest<Tokio>>("this_service_does_not_exist").err(), in check_get_service() 440 assert_eq!(binder::get_interface::<dyn ITest>("manager").err(), Some(StatusCode::BAD_TYPE)); in check_get_service() 442 binder::get_interface::<dyn IATest<Tokio>>("manager").err(), in check_get_service() 455 binder_tokio::get_interface::<dyn ITest>("this_service_does_not_exist").await.err(), in check_get_service_async() 459 binder_tokio::get_interface::<dyn IATest<Tokio>>("this_service_does_not_exist") in check_get_service_async() 467 binder_tokio::get_interface::<dyn ITest>("manager").await.err(), in check_get_service_async() [all …]
|
D | ndk_rust_interop.rs | 39 let service: binder::Strong<dyn IBinderRustNdkInteropTest> = in rust_call_ndk() 58 let wrong_service: Result<binder::Strong<dyn IBinderRustNdkInteropTestOther>, StatusCode> = in rust_call_ndk()
|
/frameworks/native/libs/binder/rust/src/ |
D | binder.rs | 65 fn dump(&self, _writer: &mut dyn Write, _args: &[&CStr]) -> Result<()> { in dump() 168 fn on_dump(&self, file: &mut dyn Write, args: &[&CStr]) -> Result<()>; in on_dump() 889 pub struct $native(Box<dyn $interface + Sync + Send + 'static>); 893 …c + Send + 'static>(inner: T, features: $crate::BinderFeatures) -> $crate::Strong<dyn $interface> { 937 …fn on_dump(&self, writer: &mut dyn std::io::Write, args: &[&std::ffi::CStr]) -> std::result::Resul… 959 impl $crate::FromIBinder for dyn $interface { 960 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $interface>,… 994 impl $crate::binder_impl::Serialize for dyn $interface + '_ 996 dyn $interface: $crate::Interface 1004 impl $crate::binder_impl::SerializeOption for dyn $interface + '_ { [all …]
|
D | binder_async.rs | 22 pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
|
/frameworks/native/services/inputflinger/rust/ |
D | input_filter.rs | 46 first_filter: Box<dyn Filter + Send + Sync>, 54 callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>, 65 pub fn new(callbacks: Strong<dyn IInputFilterCallbacks>) -> InputFilter { in new() 73 first_filter: Box<dyn Filter + Send + Sync>, in create_input_filter() 74 callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>, in create_input_filter() 105 let mut first_filter: Box<dyn Filter + Send + Sync> = in notifyConfigurationChanged() 137 callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>, 141 fn new(callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>) -> BaseFilter { in new() 166 pub struct ModifierStateListener(Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>); 169 pub fn new(callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>) -> ModifierStateListener { in new() [all …]
|
D | lib.rs | 89 let callback: Result<Strong<dyn IInputFlingerRustBootstrapCallback>, StatusCode> = in create_inputflinger_rust() 111 callbacks: &Strong<dyn IInputFilterCallbacks>, in createInputFilter() 112 ) -> binder::Result<Strong<dyn IInputFilter>> { in createInputFilter()
|
D | input_filter_thread.rs | 64 cpp_thread: Option<Strong<dyn IInputThread>>, 108 pub fn register_thread_callback(&self, callback: Box<dyn ThreadCallback + Send + Sync>) { in register_thread_callback() 116 pub fn unregister_thread_callback(&self, callback: Box<dyn ThreadCallback + Send + Sync>) { in unregister_thread_callback() 222 callbacks: Vec<Box<dyn ThreadCallback + Send + Sync>>, 234 fn register_thread_callback(&self, callback: Box<dyn ThreadCallback + Send + Sync>) { in register_thread_callback() 250 fn unregister_thread_callback(&self, callback: Box<dyn ThreadCallback + Send + Sync>) { in unregister_thread_callback()
|
D | bounce_keys_filter.rs | 42 next: Box<dyn Filter + Send + Sync>, 52 next: Box<dyn Filter + Send + Sync>, in new() 261 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_external_device() 273 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_internal_device() 285 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_devices()
|
D | slow_keys_filter.rs | 42 next: Box<dyn Filter + Send + Sync>, 61 next: Box<dyn Filter + Send + Sync>, in new() 387 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_external_device() 401 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_internal_device() 415 next: Box<dyn Filter + Send + Sync>, in setup_filter_with_devices()
|
D | sticky_keys_filter.rs | 45 next: Box<dyn Filter + Send + Sync>, 61 next: Box<dyn Filter + Send + Sync>, in new() 515 next: Box<dyn Filter + Send + Sync>, in setup_filter() 516 callbacks: Arc<RwLock<Strong<dyn IInputFilterCallbacks>>>, in setup_filter()
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/binder_rpc_test_session/ |
D | lib.rs | 93 binder: &Strong<(dyn IBinderRpcTest + 'static)>, in nestMe() 108 ) -> Result<Strong<(dyn IBinderRpcSession + 'static)>, Status> { in openSession() 131 _: &Strong<(dyn IBinderRpcCallback + 'static)>, in doCallback() 140 _: &Strong<(dyn IBinderRpcCallback + 'static)>, in doCallbackAsync()
|
/frameworks/native/libs/bufferstreams/rust/src/buffers/ |
D | buffer.rs | 25 buffer_owner: Box<dyn BufferOwner>, 31 pub fn new(buffer_owner: Box<dyn BufferOwner>, hardware_buffer: HardwareBuffer) -> Self { in new()
|
/frameworks/native/libs/bufferstreams/rust/src/subscriptions/ |
D | shared_buffer_subscription.rs | 38 pub fn clone_for_subscriber(&self) -> Box<dyn BufferSubscription> { in clone_for_subscriber() 39 Box::new(self.clone()) as Box<dyn BufferSubscription> in clone_for_subscriber()
|
/frameworks/native/libs/bufferstreams/rust/src/subscribers/ |
D | testing.rs | 35 subscription: Option<Box<dyn BufferSubscription>>, 88 fn on_subscribe(&mut self, subscription: Box<dyn BufferSubscription>) { in on_subscribe()
|
D | shared.rs | 69 fn on_subscribe(&mut self, subscription: Box<dyn BufferSubscription>) { in on_subscribe()
|
/frameworks/native/cmds/evemu-record/ |
D | main.rs | 108 ) -> Result<(), Box<dyn Error>> { in print_device_description() 169 ) -> Result<(), Box<dyn Error>> { in print_events() 200 fn main() -> Result<(), Box<dyn Error>> { in main() 207 Some(path) => Box::new(fs::File::create(path)?) as Box<dyn Write>, in main()
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/service/ |
D | main.rs | 108 binder: &Strong<(dyn IBinderRpcTest + 'static)>, in nestMe() 126 fn openSession(&self, name: &str) -> Result<Strong<(dyn IBinderRpcSession + 'static)>, Status> { in openSession() 164 _: &Strong<(dyn IBinderRpcCallback + 'static)>, in doCallback() 173 _: &Strong<(dyn IBinderRpcCallback + 'static)>, in doCallbackAsync()
|
/frameworks/native/libs/bufferstreams/rust/src/publishers/ |
D | testing.rs | 24 subscriber: Option<Box<dyn BufferSubscriber>>,
|
D | buffer_pool_publisher.rs | 25 subscriber: Option<Box<dyn BufferSubscriber>>,
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 389 struct dynamic_sensor_meta_event& dyn = buffer[i].dynamic_sensor_meta; in poll() local 390 if (dyn.connected) { in poll() 395 auto it = mConnectedDynamicSensors.find(dyn.handle); in poll() 397 mDynamicSensorsCv.wait_for(lock, MAX_DYN_SENSOR_WAIT, [&, dyn] { in poll() 398 return mConnectedDynamicSensors.find(dyn.handle) != in poll() 401 it = mConnectedDynamicSensors.find(dyn.handle); in poll() 405 dyn.sensor = &it->second; in poll()
|
/frameworks/native/cmds/sfdo/ |
D | sfdo.rs | 86 let composer_service = match binder::get_interface::<dyn ISurfaceComposer>(SERVICE_IDENTIFIER) { in main()
|
/frameworks/native/libs/bufferstreams/rust/src/ |
D | lib.rs | 95 fn on_subscribe(&mut self, subscription: Box<dyn BufferSubscription>); in on_subscribe()
|
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/ |
D | parcel_fuzzer.rs | 65 _service: &dyn BinderTransactTest, in on_transact()
|
/frameworks/native/libs/binder/rust/rpcbinder/src/ |
D | session.rs | 228 type RequestFd<'a> = &'a mut dyn FnMut() -> Option<RawFd>;
|