Home
last modified time | relevance | path

Searched refs:ProfileEventCallback (Results 1 - 2 of 2) sorted by relevance

/base/msdp/device_status/rust/subsystem/device_profile/binding/src/
H A Dfusion_device_profile_adapter.cpp36 class ProfileEventCallback final : public IProfileEventCallback {
38 explicit ProfileEventCallback(CICrossStateListener* listener);
39 ~ProfileEventCallback();
64 const std::shared_ptr<ProfileEventCallback> &callback);
69 const std::shared_ptr<ProfileEventCallback> &callback,
74 std::map<std::string, std::shared_ptr<ProfileEventCallback>> callbacks_;
78 ProfileEventCallback::ProfileEventCallback(CICrossStateListener* listener) in ProfileEventCallback() function in ProfileEventCallback
85 ProfileEventCallback::~ProfileEventCallback() in ~ProfileEventCallback()
[all...]
/base/msdp/device_status/rust/subsystem/device_profile/sys/src/
H A Ddevice_profile.rs124 struct ProfileEventCallback { structure names
129 impl ProfileEventCallback { impls
156 if let Some(callback_mut) = ProfileEventCallback::from_interface(cb) { in clone()
180 if let Some(callback_mut) = ProfileEventCallback::from_interface(cb) { in destruct()
182 unsafe { drop(Box::from_raw(callback_mut as *mut ProfileEventCallback)) }; in destruct()
195 impl From<Arc<dyn IProfileEventCallback>> for ProfileEventCallback {
260 let mut event_cb = ProfileEventCallback::from(event_callback.clone()); in subscribe_profile_events()
261 let event_cb_ptr: *mut ProfileEventCallback = &mut event_cb; in subscribe_profile_events()
315 let mut event_cb = ProfileEventCallback::from(event_callback.clone()); in unsubscribe_profile_events()
316 let event_cb_ptr: *mut ProfileEventCallback in unsubscribe_profile_events()
[all...]

Completed in 2 milliseconds