Home
last modified time | relevance | path

Searched refs:profileEvents (Results 1 - 21 of 21) sorted by relevance

/foundation/deviceprofile/device_info_manager/old/common/src/
H A Ddevice_profile_utils.cpp34 bool DeviceProfileUtils::WriteProfileEvents(const std::list<ProfileEvent>& profileEvents, Parcel& parcel) in WriteProfileEvents() argument
36 size_t size = profileEvents.size(); in WriteProfileEvents()
38 for (auto profileEvent : profileEvents) { in WriteProfileEvents()
44 bool DeviceProfileUtils::ReadProfileEvents(Parcel& parcel, std::list<ProfileEvent>& profileEvents) in ReadProfileEvents() argument
56 profileEvents.emplace_back(profileEvent); in ReadProfileEvents()
/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dsubscribe_manager.h44 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
53 ProfileEvents profileEvents; member
57 const ProfileEvents& profileEvents);
59 const ProfileEvents& profileEvents);
/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);
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_crud_test.cpp425 subscribeRecord.profileEvents.set(static_cast<uint32_t>(ProfileEvent::EVENT_PROFILE_CHANGED)); in HWTEST_F()
552 std::list<ProfileEvent> profileEvents; in HWTEST_F() local
555 if (profileEvents.empty() || eventCb == nullptr) { in HWTEST_F()
558 int result = DistributedDeviceProfileClient::GetInstance().UnsubscribeProfileEvents(profileEvents, in HWTEST_F()
661 std::list<ProfileEvent> profileEvents; in HWTEST_F() local
663 profileEvents.emplace_back(profileEvent); in HWTEST_F()
665 int result = DistributedDeviceProfileClient::GetInstance().UnsubscribeProfileEvents(profileEvents, in HWTEST_F()
705 std::list<ProfileEvent> profileEvents; in HWTEST_F() local
707 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED); in HWTEST_F()
708 profileEvents in HWTEST_F()
822 std::list<ProfileEvent> profileEvents; HWTEST_F() local
862 std::list<ProfileEvent> profileEvents; HWTEST_F() local
1059 std::list<ProfileEvent> profileEvents; HWTEST_F() local
[all...]
H A Devent_subscribe_test.cpp151 std::list<ProfileEvent> profileEvents; in MockUnsubscribeEvents() local
152 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED); in MockUnsubscribeEvents()
153 profileEvents.emplace_back(ProfileEvent::EVENT_SYNC_COMPLETED); in MockUnsubscribeEvents()
156 profileEvents, eventCb, failedEvents); in MockUnsubscribeEvents()
477 std::list<ProfileEvent> profileEvents; in HWTEST_F() local
478 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED); in HWTEST_F()
481 profileEvents, callback, failedEvents); in HWTEST_F()
H A Dsubscribe_manager_test.cpp259 std::list<ProfileEvent> profileEvents = { ProfileEvent::EVENT_SYNC_COMPLETED }; in HWTEST_F() local
262 int32_t ret = SubscribeManager::GetInstance().UnsubscribeProfileEvents(profileEvents, notifier, failedEvents); in HWTEST_F()
H A Ddistributed_device_profile_stub_test.cpp94 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
97 (void)profileEvents; in UnsubscribeProfileEvents()
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/
H A Ddistributed_device_profile_client.cpp227 iter->second.profileEvents |= subProfileEvents; in SubscribeProfileEvents()
238 std::list<ProfileEvent> profileEvents; in UnsubscribeProfileEvent() local
239 profileEvents.emplace_back(profileEvent); in UnsubscribeProfileEvent()
241 return UnsubscribeProfileEvents(profileEvents, eventCb, failedEvents); in UnsubscribeProfileEvent()
244 int32_t DistributedDeviceProfileClient::UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
248 if (profileEvents.empty() || eventCb == nullptr) { in UnsubscribeProfileEvents()
254 for (auto profileEvent : profileEvents) { in UnsubscribeProfileEvents()
270 int32_t errCode = dps->UnsubscribeProfileEvents(profileEvents, notifier, failedEvents); in UnsubscribeProfileEvents()
277 auto& subProfileEvents = iter->second.profileEvents; in UnsubscribeProfileEvents()
H A Ddistributed_device_profile_proxy.cpp136 const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents()
146 if (!DeviceProfileUtils::WriteProfileEvents(profileEvents, data)) { in UnsubscribeProfileEvents()
135 UnsubscribeProfileEvents( const std::list<ProfileEvent>& profileEvents, const sptr<IRemoteObject>& profileEventNotifier, std::list<ProfileEvent>& failedEvents) UnsubscribeProfileEvents() argument
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dsubscribe_manager.cpp107 int32_t SubscribeManager::UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
114 for (auto profileEvent : profileEvents) { in UnsubscribeProfileEvents()
160 iter->second.profileEvents |= subProfileEvents; in TryAddNotifierLocked()
175 auto& subProfileEvents = iter->second.profileEvents; in TryRemoveNotiferLocked()
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/syncdeviceprofileinner_fuzzer/
H A Dsyncdeviceprofileinner_fuzzer.cpp59 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
62 (void)profileEvents; in UnsubscribeProfileEvents()
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/putdeviceprofileinner_fuzzer/
H A Dputdeviceprofileinner_fuzzer.cpp60 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
63 (void)profileEvents; in UnsubscribeProfileEvents()
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/
H A Ddistributed_device_profile_client.h54 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
71 ProfileEvents profileEvents; member
H A Didistributed_device_profile.h39 virtual int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
H A Ddistributed_device_profile_proxy.h45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
/foundation/deviceprofile/device_info_manager/old/services/core/include/
H A Ddistributed_device_profile_service.h45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp332 std::list<ProfileEvent> profileEvents; in SubscribeCommand() local
333 profileEvents.emplace_back(ProfileEvent::EVENT_PROFILE_CHANGED); in SubscribeCommand()
335 DistributedDeviceProfileClient::GetInstance().UnsubscribeProfileEvents(profileEvents, callback, failedEvents); in SubscribeCommand()
/foundation/deviceprofile/device_info_manager/old/services/core/src/
H A Ddistributed_device_profile_service.cpp175 int32_t DistributedDeviceProfileService::UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
187 return SubscribeManager::GetInstance().UnsubscribeProfileEvents(profileEvents, in UnsubscribeProfileEvents()
H A Ddistributed_device_profile_stub.cpp310 std::list<ProfileEvent> profileEvents; in UnsubscribeProfileEventInner() local
316 profileEvents.emplace_back(profileEvent); in UnsubscribeProfileEventInner()
321 int32_t errCode = UnsubscribeProfileEvents(profileEvents, eventNotifier, failedEvents); in UnsubscribeProfileEventInner()
/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
H A Ddevice_profile_storage_manager.cpp454 std::list<ProfileEvent> profileEvents; in NotifySyncCompleted() local
455 profileEvents.emplace_back(ProfileEvent::EVENT_SYNC_COMPLETED); in NotifySyncCompleted()
458 profileEvents, syncEventNotifier_, failedEvents); in NotifySyncCompleted()
/foundation/deviceprofile/device_info_manager/old/services/core/test/fuzztest/subscribeprofileeventinner_fuzzer/
H A Dsubscribeprofileeventinner_fuzzer.cpp68 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument
71 (void)profileEvents; in UnsubscribeProfileEvents()

Completed in 12 milliseconds