Home
last modified time | relevance | path

Searched refs:ProfileEvent (Results 1 - 3 of 3) sorted by relevance

/base/msdp/device_status/rust/subsystem/device_profile/sys/src/
H A Ddevice_profile.rs47 pub enum ProfileEvent { enum
53 impl From<ProfileEvent> for u32 {
54 fn from(value: ProfileEvent) -> u32 { in from()
56 ProfileEvent::Unknown => { 0 }, in from()
57 ProfileEvent::SyncCompleted => { 1 }, in from()
58 ProfileEvent::ProfileChanged => { 2 }, in from()
63 impl TryFrom<u32> for ProfileEvent {
68 _ if u32::from(ProfileEvent::Unknown) == value => { Ok(ProfileEvent::Unknown) }, in try_from()
69 _ if u32::from(ProfileEvent in try_from()
[all...]
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/
H A Dfusion_device_profile.cpp98 if ((cSub.profileEvent >= ProfileEvent::EVENT_UNKNOWN) && in SubscribeProfileEvents()
99 (cSub.profileEvent < ProfileEvent::EVENT_PROFILE_END)) { in SubscribeProfileEvents()
102 subscription.profileEvent = static_cast<ProfileEvent>(cSub.profileEvent); in SubscribeProfileEvents()
109 std::list<ProfileEvent> fails; in SubscribeProfileEvents()
145 std::list<ProfileEvent> profiles; in UnsubscribeProfileEvents()
149 if ((cPro >= static_cast<uint32_t>(ProfileEvent::EVENT_UNKNOWN)) && in UnsubscribeProfileEvents()
150 (cPro < static_cast<uint32_t>(ProfileEvent::EVENT_PROFILE_END))) { in UnsubscribeProfileEvents()
151 ProfileEvent profile = static_cast<ProfileEvent>(cPro); in UnsubscribeProfileEvents()
157 std::list<ProfileEvent> fail in UnsubscribeProfileEvents()
[all...]
H A Dfusion_device_profile_adapter.cpp42 bool SupportProfileEvent(const ProfileEvent &event) const;
43 void AddProfileEvent(const ProfileEvent &event);
44 void RemoveProfileEvents(const std::list<ProfileEvent> &profileEvents);
53 std::set<ProfileEvent> profileEvents_;
71 void RemoveFailedSubscriptions(const std::string &deviceId, const std::list<ProfileEvent> &failedEvents);
104 bool ProfileEventCallback::SupportProfileEvent(const ProfileEvent &event) const in SupportProfileEvent()
109 void ProfileEventCallback::AddProfileEvent(const ProfileEvent &event) in AddProfileEvent()
117 void ProfileEventCallback::RemoveProfileEvents(const std::list<ProfileEvent> &profileEvents) in RemoveProfileEvents()
206 changeEventInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; in RegisterCrossStateListener()
213 syncEventInfo.profileEvent = ProfileEvent in RegisterCrossStateListener()
[all...]

Completed in 2 milliseconds