/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_crud_test.cpp | 335 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 D | subscribe_info_checker_test.cpp | 71 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 D | event_subscribe_test.cpp | 133 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 D | device_profile_utils_test.cpp | 72 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 D | subscribe_manager_test.cpp | 223 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 D | profile_event_handler_factory.cpp | 32 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 D | subscribe_info_checker.cpp | 40 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 D | subscribe_manager.h | 43 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 D | profile_event_handler_factory.h | 32 std::shared_ptr<ProfileEventHandler> GetHandler(ProfileEvent profileEvent); 41 std::map<ProfileEvent, Handler> handlersMap_;
|
/ohos5.0/foundation/deviceprofile/device_info_manager/ |
H A D | README_zh.md | 157 | 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 D | README.md | 153 | 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 D | DeviceProfile子系统.md | 157 | 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 D | device_profile_utils.cpp | 34 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 D | distributed_device_profile_client.h | 49 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 D | idistributed_device_profile.h | 38 std::list<ProfileEvent>& failedEvents) = 0; 39 virtual int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, 41 std::list<ProfileEvent>& failedEvents) = 0;
|
H A D | distributed_device_profile_proxy.h | 44 std::list<ProfileEvent>& failedEvents) override; 45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, 47 std::list<ProfileEvent>& failedEvents) override;
|
H A D | subscribe_info.h | 31 ProfileEvent profileEvent {ProfileEvent::EVENT_UNKNOWN};
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/ |
H A D | distributed_device_profile_client.cpp | 180 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 D | distributed_device_profile_proxy.cpp | 101 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 D | putdeviceprofileinner_fuzzer.cpp | 53 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 D | syncdeviceprofileinner_fuzzer.cpp | 52 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 D | distributed_device_profile_service.h | 44 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 D | DeviceProfile.md | 151 | 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 D | device_profile_utils.h | 29 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 D | dp_command.cpp | 316 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()
|