/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/ |
H A D | profile_sync_handler.cpp | 35 SyncResult syncResults; in SyncCompleted() local 40 syncResults.emplace(deviceId, syncStauts); in SyncCompleted() 43 auto notifyTask = [this, syncResults = std::move(syncResults)]() { in SyncCompleted() 44 NotifySyncCompleted(syncResults); in SyncCompleted() 52 void ProfileSyncHandler::NotifySyncCompleted(const SyncResult& syncResults) in NotifySyncCompleted() argument 73 profileEventNotifier->OnSyncCompleted(syncResults); in NotifySyncCompleted()
|
H A D | profile_event_notifier_proxy.cpp | 31 void ProfileEventNotifierProxy::OnSyncCompleted(const SyncResult& syncResults) in OnSyncCompleted() argument 40 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in OnSyncCompleted() 41 HILOGE("write syncResults size failed"); in OnSyncCompleted() 45 for (const auto& [deviceId, syncResult] : syncResults) { in OnSyncCompleted() 48 HILOGE("write syncResults failed"); in OnSyncCompleted()
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/ |
H A D | kv_sync_completed_listener.cpp | 64 SyncResults syncResults; in SyncCompleted() local 68 syncResults.emplace(deviceId, syncStatus); in SyncCompleted() 70 auto notifyTask = [this, syncResults = std::move(syncResults)]() { in SyncCompleted() 71 NotifySyncCompleted(syncResults); in SyncCompleted() 86 void KvSyncCompletedListener::NotifySyncCompleted(const SyncResults& syncResults) in NotifySyncCompleted() argument 97 syncListenerProxy->OnSyncCompleted(syncResults); in NotifySyncCompleted()
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | sync_completed_callback_test.cpp | 68 void OnSyncCompleted(const SyncResult& syncResults) override 85 SyncResult syncResults; in HWTEST_F() local 86 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F() 90 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in HWTEST_F() 94 for (const auto& [deviceId, syncResult] : syncResults) { in HWTEST_F() 137 SyncResult syncResults; in HWTEST_F() local 146 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F() 147 proxy->OnSyncCompleted(syncResults); in HWTEST_F()
|
H A D | kv_sync_completed_listener_test.cpp | 81 const SyncResults syncResults; in HWTEST_F() local 82 KvSyncCompletedListener_.NotifySyncCompleted(syncResults); in HWTEST_F()
|
H A D | profile_cache_test.cpp | 55 void OnSyncCompleted(const map<string, SyncStatus>& syncResults) { in OnSyncCompleted() argument
|
H A D | device_profile_manager_test.cpp | 95 void OnSyncCompleted(const map<string, SyncStatus>& syncResults) { in OnSyncCompleted() argument
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_event_notifier_proxy_test.cpp | 73 SyncResult syncResults; in HWTEST_F() local 74 proxy->OnSyncCompleted(syncResults); in HWTEST_F() 90 SyncResult syncResults; in HWTEST_F() local 91 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F() 92 proxy->OnSyncCompleted(syncResults); in HWTEST_F()
|
H A D | profile_change_notification_test.cpp | 252 SyncResult syncResults; in HWTEST_F() local 253 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F() 257 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in HWTEST_F() 261 for (const auto& [deviceId, syncResult] : syncResults) { in HWTEST_F() 307 SyncResult syncResults; in HWTEST_F() local 311 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in HWTEST_F() 328 SyncResult syncResults; in HWTEST_F() local 332 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in HWTEST_F() 348 SyncResult syncResults; in HWTEST_F() local 352 if (!data.WriteInt32(static_cast<int32_t>(syncResults in HWTEST_F() 368 SyncResult syncResults; HWTEST_F() local [all...] |
H A D | profile_proxy_test.cpp | 73 SyncResult syncResults; in HWTEST_F() local 75 eventCb.OnSyncCompleted(syncResults); in HWTEST_F()
|
H A D | subscribe_manager_test.cpp | 372 SyncResult syncResults; in HWTEST_F() local 373 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F() 374 handler->NotifySyncCompleted(syncResults); in HWTEST_F()
|
H A D | event_subscribe_test.cpp | 65 void OnSyncCompleted(const SyncResult& syncResults) override
|
/foundation/deviceprofile/device_info_manager/common/src/interfaces/ |
H A D | sync_completed_callback_proxy.cpp | 32 void SyncCompletedCallbackProxy::OnSyncCompleted(const SyncResult &syncResults) in OnSyncCompleted() argument 41 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) { in OnSyncCompleted() 42 HILOGE("write syncResults size failed"); in OnSyncCompleted() 46 for (const auto&[deviceId, syncResult]: syncResults) { in OnSyncCompleted() 49 HILOGE("write syncResults failed"); in OnSyncCompleted()
|
H A D | sync_completed_callback_stub.cpp | 71 SyncResult syncResults; in OnSyncCompletedInner() local 73 syncResults.emplace(data.ReadString(), static_cast<SyncStatus>(data.ReadInt32())); in OnSyncCompletedInner() 76 OnSyncCompleted(syncResults); in OnSyncCompletedInner()
|
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/ |
H A D | profile_event_notifier_stub.cpp | 80 SyncResult syncResults; in OnSyncCompletedInner() local 82 syncResults.emplace(data.ReadString(), static_cast<SyncStatus>(data.ReadInt32())); in OnSyncCompletedInner() 85 profileEventCb_->OnSyncCompleted(syncResults); in OnSyncCompletedInner()
|
/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | sync_completed_callback_proxy.h | 33 void OnSyncCompleted(const SyncResult& syncResults) override;
|
H A D | i_sync_completed_callback.h | 32 virtual void OnSyncCompleted(const SyncResult& syncResults) = 0;
|
/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/ |
H A D | profile_event_notifier_proxy.h | 29 void OnSyncCompleted(const SyncResult& syncResults) override;
|
H A D | profile_sync_handler.h | 42 void NotifySyncCompleted(const SyncResult& syncResults);
|
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/ |
H A D | iprofile_event_callback.h | 36 virtual void OnSyncCompleted(const SyncResult& syncResults) {} in OnSyncCompleted() argument
|
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/listener/ |
H A D | kv_sync_completed_listener.h | 37 void NotifySyncCompleted(const SyncResults& syncResults);
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/include/ |
H A D | dp_command.h | 59 void OnSyncCompleted(const SyncResult& syncResults) override;
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | device_profile_manager.cpp | 514 std::map<std::string, SyncStatus> syncResults; in SyncWithNotOHBasedDeviceFailed() local 516 syncResults[deviceId] = SyncStatus::FAILED; in SyncWithNotOHBasedDeviceFailed() 523 syncListenerProxy->OnSyncCompleted(syncResults); in SyncWithNotOHBasedDeviceFailed()
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | dp_command.cpp | 479 void ProfileEventCallback::OnSyncCompleted(const SyncResult& syncResults) in OnSyncCompleted() argument
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_manager.cpp | 1113 std::map<std::string, int32_t> syncResults;
in Process() local 1115 syncResults[item.first] = item.second == DistributedDB::DBStatus::OK ? 0 : -1;
in Process() 1117 seqIdCallbackRelations_[sequenceId](syncResults);
in Process()
|