Home
last modified time | relevance | path

Searched refs:ProfileEvent (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_crud_test.cpp335 ProfileEvent profileEvent = static_cast<ProfileEvent>(parcel.ReadUint32());
356 std::list<ProfileEvent> failedEvents;
381 std::list<ProfileEvent> failedEvents;
420 std::list<ProfileEvent> failedEvents;
454 std::list<ProfileEvent> failedEvents;
493 std::list<ProfileEvent> failedEvents;
532 std::list<ProfileEvent> failedEvents;
554 std::list<ProfileEvent> failedEvents;
636 ProfileEvent subscribeInfo1;
662 ProfileEvent profileEvent;
[all …]
H A Dsubscribe_info_checker_test.cpp71 subInfo.profileEvent = ProfileEvent::EVENT_UNKNOWN;
90 subInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
109 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
128 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
146 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
166 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
182 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
198 subInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
231 subInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
250 subInfo.profileEvent = ProfileEvent::EVENT_UNKNOWN;
[all …]
H A Devent_subscribe_test.cpp133 eventChange.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; in MockSubscribeEvents()
138 eventSync.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; in MockSubscribeEvents()
141 std::list<ProfileEvent> failedEvents; in MockSubscribeEvents()
151 std::list<ProfileEvent> profileEvents; in MockUnsubscribeEvents()
153 profileEvents.emplace_back(ProfileEvent::EVENT_SYNC_COMPLETED); in MockUnsubscribeEvents()
154 std::list<ProfileEvent> failedEvents; in MockUnsubscribeEvents()
328 std::list<ProfileEvent> failedEvents;
343 ProfileEvent::EVENT_PROFILE_CHANGED, callback);
394 ProfileEvent::EVENT_SYNC_COMPLETED, callback);
477 std::list<ProfileEvent> profileEvents;
[all …]
H A Ddevice_profile_utils_test.cpp72 std::list<ProfileEvent> failedEvents;
86 std::list<ProfileEvent> failedEvents;
87 failedEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED);
88 failedEvents.emplace_back(ProfileEvent::EVENT_SYNC_COMPLETED);
104 std::list<ProfileEvent> failedEvents;
120 std::list<ProfileEvent> failedEvents;
136 std::list<ProfileEvent> failedEvents;
152 std::list<ProfileEvent> failedEvents;
H A Dsubscribe_manager_test.cpp223 std::list<ProfileEvent> failedEvents;
242 std::list<ProfileEvent> failedEvents;
259 std::list<ProfileEvent> profileEvents = { ProfileEvent::EVENT_SYNC_COMPLETED };
260 std::list<ProfileEvent> failedEvents;
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_event_handler_factory.cpp32 handlersMap_[ProfileEvent::EVENT_SYNC_COMPLETED] = in ProfileEventHandlerFactory()
34 handlersMap_[ProfileEvent::EVENT_PROFILE_CHANGED] = in ProfileEventHandlerFactory()
38 std::shared_ptr<ProfileEventHandler> ProfileEventHandlerFactory::GetHandler(ProfileEvent profileEve… in GetHandler()
42 case ProfileEvent::EVENT_SYNC_COMPLETED: in GetHandler()
44 case ProfileEvent::EVENT_PROFILE_CHANGED: in GetHandler()
H A Dsubscribe_info_checker.cpp40 case ProfileEvent::EVENT_SYNC_COMPLETED: in Check()
42 case ProfileEvent::EVENT_PROFILE_CHANGED: in Check()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dsubscribe_manager.h43 std::list<ProfileEvent>& failedEvents);
44 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
46 std::list<ProfileEvent>& failedEvents);
67 std::map<ProfileEvent, std::shared_ptr<ProfileEventHandler>> handlersMap_;
H A Dprofile_event_handler_factory.h32 std::shared_ptr<ProfileEventHandler> GetHandler(ProfileEvent profileEvent);
41 std::map<ProfileEvent, Handler> handlersMap_;
/ohos5.0/foundation/deviceprofile/device_info_manager/
H A DREADME_zh.md157 | failedEvents | ProfileEvent | 是 | 失败事件 |
170 changeEventInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
176 syncEventInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
180 std::list<ProfileEvent> failedEvents;
185 std::list<ProfileEvent> profileEvents;
186 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED);
H A DREADME.md153 | failedEvents | ProfileEvent | Yes | Failure event. |
166 changeEventInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
172 syncEventInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
176 std::list<ProfileEvent> failedEvents;
181 std::list<ProfileEvent> profileEvents;
182 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED);
/ohos5.0/docs/zh-cn/readme/
H A DDeviceProfile子系统.md157 | failedEvents | ProfileEvent | 是 | 失败事件 |
170 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
176 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
180 std::list<ProfileEvent> failedEvents;
184 std::list<ProfileEvent> profileEvents;
185 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/common/src/
H A Ddevice_profile_utils.cpp34 bool DeviceProfileUtils::WriteProfileEvents(const std::list<ProfileEvent>& profileEvents, Parcel& p… in WriteProfileEvents()
44 bool DeviceProfileUtils::ReadProfileEvents(Parcel& parcel, std::list<ProfileEvent>& profileEvents) in ReadProfileEvents()
52 ProfileEvent profileEvent = static_cast<ProfileEvent>(parcel.ReadUint32()); in ReadProfileEvents()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/
H A Ddistributed_device_profile_client.h49 int32_t UnsubscribeProfileEvent(ProfileEvent profileEvent,
53 std::list<ProfileEvent>& failedEvents);
54 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
56 std::list<ProfileEvent>& failedEvents);
H A Didistributed_device_profile.h38 std::list<ProfileEvent>& failedEvents) = 0;
39 virtual int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
41 std::list<ProfileEvent>& failedEvents) = 0;
H A Ddistributed_device_profile_proxy.h44 std::list<ProfileEvent>& failedEvents) override;
45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
47 std::list<ProfileEvent>& failedEvents) override;
H A Dsubscribe_info.h31 ProfileEvent profileEvent {ProfileEvent::EVENT_UNKNOWN};
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/
H A Ddistributed_device_profile_client.cpp180 std::list<ProfileEvent> failedEvents; in SubscribeProfileEvent()
186 std::list<ProfileEvent>& failedEvents) in SubscribeProfileEvents()
235 int32_t DistributedDeviceProfileClient::UnsubscribeProfileEvent(ProfileEvent profileEvent, in UnsubscribeProfileEvent()
238 std::list<ProfileEvent> profileEvents; in UnsubscribeProfileEvent()
240 std::list<ProfileEvent> failedEvents; in UnsubscribeProfileEvent()
244 int32_t DistributedDeviceProfileClient::UnsubscribeProfileEvents(const std::list<ProfileEvent>& pro… in UnsubscribeProfileEvents()
246 std::list<ProfileEvent>& failedEvents) in UnsubscribeProfileEvents()
H A Ddistributed_device_profile_proxy.cpp101 std::list<ProfileEvent>& failedEvents) in SubscribeProfileEvents()
136 const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents()
138 std::list<ProfileEvent>& failedEvents) in UnsubscribeProfileEvents()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/putdeviceprofileinner_fuzzer/
H A Dputdeviceprofileinner_fuzzer.cpp53 const sptr<IRemoteObject>& profileEventNotifier, std::list<ProfileEvent>& failedEvents) in SubscribeProfileEvents()
60 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents()
61 const sptr<IRemoteObject>& profileEventNotifier, std::list<ProfileEvent>& failedEvents) in UnsubscribeProfileEvents()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/syncdeviceprofileinner_fuzzer/
H A Dsyncdeviceprofileinner_fuzzer.cpp52 const sptr<IRemoteObject>& profileEventNotifier, std::list<ProfileEvent>& failedEvents) in SubscribeProfileEvents()
59 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents()
60 const sptr<IRemoteObject>& profileEventNotifier, std::list<ProfileEvent>& failedEvents) in UnsubscribeProfileEvents()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/
H A Ddistributed_device_profile_service.h44 std::list<ProfileEvent>& failedEvents) override;
45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
47 std::list<ProfileEvent>& failedEvents) override;
/ohos5.0/docs/en/readme/
H A DDeviceProfile.md151 | failedEvents | ProfileEvent | Yes | Failure event. |
164 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
170 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
174 std::list<ProfileEvent> failedEvents;
178 std::list<ProfileEvent> profileEvents;
179 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/common/include/
H A Ddevice_profile_utils.h29 static bool WriteProfileEvents(const std::list<ProfileEvent>& profileEvents, Parcel& parcel);
30 static bool ReadProfileEvents(Parcel& parcel, std::list<ProfileEvent>& profileEvents);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp316 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; in SubscribeCommand()
321 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; in SubscribeCommand()
324 std::list<ProfileEvent> failedEvents; in SubscribeCommand()
327 std::list<ProfileEvent> profileEvents; in SubscribeCommand()
328 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED); in SubscribeCommand()

12