Home
last modified time | relevance | path

Searched refs:profileEventSubscribeInfos_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_event_handler.cpp42 auto iter = profileEventSubscribeInfos_.find(profileEventNotifier); in Subscribe()
43 if (iter == profileEventSubscribeInfos_.end()) { in Subscribe()
45 profileEventSubscribeInfos_.emplace(profileEventNotifier, std::move(subscribeInfo)); in Subscribe()
47 for (const auto& entry : profileEventSubscribeInfos_) { in Subscribe()
57 for (const auto& entry : profileEventSubscribeInfos_) { in Subscribe()
76 auto iter = profileEventSubscribeInfos_.find(profileEventNotifier); in Unsubscribe()
77 if (iter == profileEventSubscribeInfos_.end()) { in Unsubscribe()
82 profileEventSubscribeInfos_.erase(iter); in Unsubscribe()
83 HILOGI("profileEventSubscribeInfos_ size = %{public}zu", profileEventSubscribeInfos_.size()); in Unsubscribe()
84 for (const auto& entry : profileEventSubscribeInfos_) { in Unsubscribe()
[all …]
H A Dprofile_sync_handler.cpp65 HILOGI("profileEventSubscribeInfos size %{public}zu", profileEventSubscribeInfos_.size()); in NotifySyncCompleted()
66 auto iter = profileEventSubscribeInfos_.begin(); in NotifySyncCompleted()
67 while (iter != profileEventSubscribeInfos_.end()) { in NotifySyncCompleted()
76 profileEventSubscribeInfos_.erase(iter++); in NotifySyncCompleted()
77 … HILOGI("profileEventSubscribeInfos_ size = %{public}zu", profileEventSubscribeInfos_.size()); in NotifySyncCompleted()
78 for (const auto& entry : profileEventSubscribeInfos_) { in NotifySyncCompleted()
H A Dprofile_change_handler.cpp158 HILOGI("subscribers size = %{public}zu", profileEventSubscribeInfos_.size()); in NotifyProfileChanged()
167 for (const auto& [notifier, subscribeInfo] : profileEventSubscribeInfos_) { in NotifyProfileChanged()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_change_handler_test.cpp372 profileChangeHandler_->profileEventSubscribeInfos_[notifier] = subInfo;
414 ASSERT_TRUE(profileChangeHandler_->profileEventSubscribeInfos_.empty());
438 ASSERT_TRUE(profileChangeHandler_->profileEventSubscribeInfos_.empty());
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dprofile_event_handler.h59 std::map<sptr<IRemoteObject>, SubscribeInfo> profileEventSubscribeInfos_; variable