/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& 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 D | subscribe_manager.h | 44 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 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);
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_crud_test.cpp | 425 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 D | event_subscribe_test.cpp | 151 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 D | subscribe_manager_test.cpp | 259 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 D | distributed_device_profile_stub_test.cpp | 94 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 D | distributed_device_profile_client.cpp | 227 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 D | distributed_device_profile_proxy.cpp | 136 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 D | subscribe_manager.cpp | 107 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 D | syncdeviceprofileinner_fuzzer.cpp | 59 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 D | putdeviceprofileinner_fuzzer.cpp | 60 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 D | distributed_device_profile_client.h | 54 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, 71 ProfileEvents profileEvents; member
|
H A D | idistributed_device_profile.h | 39 virtual int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
|
H A D | distributed_device_profile_proxy.h | 45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
|
/foundation/deviceprofile/device_info_manager/old/services/core/include/ |
H A D | distributed_device_profile_service.h | 45 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents,
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | dp_command.cpp | 332 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 D | distributed_device_profile_service.cpp | 175 int32_t DistributedDeviceProfileService::UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument 187 return SubscribeManager::GetInstance().UnsubscribeProfileEvents(profileEvents, in UnsubscribeProfileEvents()
|
H A D | distributed_device_profile_stub.cpp | 310 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 D | device_profile_storage_manager.cpp | 454 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 D | subscribeprofileeventinner_fuzzer.cpp | 68 int32_t UnsubscribeProfileEvents(const std::list<ProfileEvent>& profileEvents, in UnsubscribeProfileEvents() argument 71 (void)profileEvents; in UnsubscribeProfileEvents()
|