Home
last modified time | relevance | path

Searched refs:CIProfileEventCb (Results 1 - 4 of 4) sorted by relevance

/base/msdp/device_status/rust/subsystem/device_profile/binding/include/
H A Dfusion_device_profile.h67 struct CIProfileEventCb { struct
68 CIProfileEventCb* (*clone)(CIProfileEventCb* cb);
69 void (*destruct)(CIProfileEventCb* cb);
70 void (*onProfileChanged)(CIProfileEventCb* cb, const CProfileChangeNotification* notification);
92 CIProfileEventCb* eventCb,
95 CIProfileEventCb* eventCb,
/base/msdp/device_status/rust/subsystem/device_profile/sys/src/
H A Dbinding.rs124 /// Type definition for the clone function of a CIProfileEventCb.
125 pub type CIProfileEventCbClone = extern "C" fn (profile_events: *mut CIProfileEventCb) -> *mut CIProfileEventCb;
126 /// Type definition for the destruct function of a CIProfileEventCb.
127 pub type CIProfileEventCbDestruct = extern "C" fn (profile_events: *mut CIProfileEventCb);
129 pub type OnProfileChanged = extern "C" fn (cb: *mut CIProfileEventCb, notification: *const CProfileChangeNotification);
133 pub struct CIProfileEventCb { structure names
176 event_cb: *mut CIProfileEventCb, in SubscribeProfileEvents()
180 event_cb: *mut CIProfileEventCb, in UnsubscribeProfileEvents()
H A Ddevice_profile.rs26 CIProfileEventCb,
125 interface: CIProfileEventCb,
139 fn from_interface(cb: *mut CIProfileEventCb) -> Option<&'static mut Self> in from_interface()
147 /// Clone a `CIProfileEventCb` instance.
154 extern "C" fn clone(cb: *mut CIProfileEventCb) -> *mut CIProfileEventCb in clone()
158 interface: CIProfileEventCb { in clone()
165 Box::into_raw(callback_box) as *mut CIProfileEventCb in clone()
167 error!(LOG_LABEL, "Failed to clone a CIProfileEventCb instance"); in clone()
171 /// Destruct a `CIProfileEventCb` instanc in clone()
[all...]
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/
H A Dfusion_device_profile.cpp35 explicit ProfileEventCallbackImpl(CIProfileEventCb* eventCb);
41 CIProfileEventCb* eventCb_ { nullptr };
44 ProfileEventCallbackImpl::ProfileEventCallbackImpl(CIProfileEventCb* eventCb) in ProfileEventCallbackImpl()
87 CIProfileEventCb* eventCb, in SubscribeProfileEvents()
140 CIProfileEventCb* eventCb, in UnsubscribeProfileEvents()

Completed in 3 milliseconds