/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/ |
H A D | subscribe_manager.cpp | 68 auto profileEvent = subscribeInfo.profileEvent; in SubscribeProfileEvents() local 69 auto iter = handlersMap_.find(profileEvent); in SubscribeProfileEvents() 73 failedEvents.emplace_back(profileEvent); in SubscribeProfileEvents() 77 handlersMap_.emplace(profileEvent, handler); in SubscribeProfileEvents() 81 failedEvents.emplace_back(profileEvent); in SubscribeProfileEvents() 87 HILOGE("subscribe event:%{public}d failed", profileEvent); in SubscribeProfileEvents() 88 failedEvents.emplace_back(profileEvent); in SubscribeProfileEvents() 90 subProfileEvents.set(static_cast<uint32_t>(profileEvent)); in SubscribeProfileEvents() 114 for (auto profileEvent : profileEvents) { in UnsubscribeProfileEvents() local 115 auto iter = handlersMap_.find(profileEvent); in UnsubscribeProfileEvents() [all …]
|
H A D | subscribe_info.cpp | 40 PARCEL_WRITE_HELPER_RET(parcel, Uint32, profileEvent, false); in Marshalling() 47 profileEvent = static_cast<ProfileEvent>(parcel.ReadUint32()); in Unmarshalling() 48 if (profileEvent >= EVENT_PROFILE_END || profileEvent == EVENT_UNKNOWN) { in Unmarshalling() 49 HILOGE("invalid profile event, %{public}u", static_cast<uint32_t>(profileEvent)); in Unmarshalling() 63 return ((profileEvent != rhs.profileEvent) || (extraInfo != rhs.extraInfo)); in operator !=()
|
H A D | profile_event_handler_factory.cpp | 38 …::shared_ptr<ProfileEventHandler> ProfileEventHandlerFactory::GetHandler(ProfileEvent profileEvent) in GetHandler() argument 40 HILOGI("get handler for event = %{public}u", static_cast<uint32_t>(profileEvent)); in GetHandler() 41 switch (static_cast<uint32_t>(profileEvent)) { in GetHandler() 47 …LOGW("unknown request code, please check, code = %{public}u", static_cast<uint32_t>(profileEvent)); in GetHandler()
|
H A D | subscribe_info_checker.cpp | 38 auto profileEvent = subscribeInfo.profileEvent; in Check() local 39 switch (static_cast<uint32_t>(profileEvent)) { in Check() 45 HILOGE("unknown profile event = %{public}u", static_cast<uint32_t>(profileEvent)); in Check()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
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;
|
H A D | profile_crud_test.cpp | 411 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 416 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; 485 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 490 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; 524 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 529 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; 662 ProfileEvent profileEvent; variable 663 profileEvents.emplace_back(profileEvent); 856 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; 1013 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; [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() 171 subscribeInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; in MockSubscribeEvent() 323 eventChange.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED;
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/common/src/ |
H A D | device_profile_utils.cpp | 38 for (auto profileEvent : profileEvents) { in WriteProfileEvents() local 39 PARCEL_WRITE_HELPER_RET(parcel, Uint32, static_cast<uint32_t>(profileEvent), false); in WriteProfileEvents() 52 ProfileEvent profileEvent = static_cast<ProfileEvent>(parcel.ReadUint32()); in ReadProfileEvents() local 53 if (profileEvent >= EVENT_PROFILE_END || profileEvent == EVENT_UNKNOWN) { in ReadProfileEvents() 56 profileEvents.emplace_back(profileEvent); in ReadProfileEvents()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/ |
H A D | distributed_device_profile_client.cpp | 194 subProfileEvents.set(static_cast<uint32_t>(subscribeInfo.profileEvent)); in SubscribeProfileEvents() 235 int32_t DistributedDeviceProfileClient::UnsubscribeProfileEvent(ProfileEvent profileEvent, in UnsubscribeProfileEvent() argument 239 profileEvents.emplace_back(profileEvent); in UnsubscribeProfileEvent() 254 for (auto profileEvent : profileEvents) { in UnsubscribeProfileEvents() local 255 unsubProfileEvents.set(static_cast<uint32_t>(profileEvent)); in UnsubscribeProfileEvents() 363 return subscribeInfo.profileEvent == newSubscribeInfo.profileEvent; in MergeSubscribeInfoLocked()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/ |
H A D | README_zh.md | 170 changeEventInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 176 syncEventInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
|
H A D | README.md | 166 changeEventInfo.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 172 syncEventInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | DeviceProfile子系统.md | 170 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 176 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/ |
H A D | subscribe_info.h | 31 ProfileEvent profileEvent {ProfileEvent::EVENT_UNKNOWN};
|
H A D | distributed_device_profile_client.h | 49 int32_t UnsubscribeProfileEvent(ProfileEvent profileEvent,
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/ |
H A D | profile_event_handler_factory.h | 32 std::shared_ptr<ProfileEventHandler> GetHandler(ProfileEvent profileEvent);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 284 HILOGD("profile event = %{public}u", static_cast<uint32_t>(subscribeInfo.profileEvent)); in SubscribeProfileEventInner() 312 ProfileEvent profileEvent = static_cast<ProfileEvent>(data.ReadUint32()); in UnsubscribeProfileEventInner() local 313 if (profileEvent >= EVENT_PROFILE_END || profileEvent == EVENT_UNKNOWN) { in UnsubscribeProfileEventInner() 316 profileEvents.emplace_back(profileEvent); in UnsubscribeProfileEventInner()
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/ |
H A D | icollect_plugin.h | 50 virtual bool CheckExtraMessage(int64_t extraDataId, const OnDemandEvent& profileEvent) in CheckExtraMessage() argument
|
H A D | common_event_collect.h | 51 bool CheckExtraMessage(int64_t extraDataId, const OnDemandEvent& profileEvent) override;
|
/ohos5.0/docs/en/readme/ |
H A D | DeviceProfile.md | 164 info1.profileEvent = ProfileEvent::EVENT_PROFILE_CHANGED; 170 info2.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED;
|
/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()
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | common_event_collect.cpp | 298 bool CommonEventCollect::CheckExtraMessage(int64_t extraDataId, const OnDemandEvent& profileEvent) in CheckExtraMessage() argument 305 for (auto [key, profileValue] : profileEvent.extraMessages) { in CheckExtraMessage()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/ |
H A D | device_profile_storage_manager.cpp | 430 subscribeInfo.profileEvent = ProfileEvent::EVENT_SYNC_COMPLETED; in NotifySyncStart()
|