Home
last modified time | relevance | path

Searched refs:syncResults (Results 1 - 25 of 26) sorted by relevance

12

/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_sync_handler.cpp35 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 Dprofile_event_notifier_proxy.cpp31 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 Dkv_sync_completed_listener.cpp64 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 Dsync_completed_callback_test.cpp68 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 Dkv_sync_completed_listener_test.cpp81 const SyncResults syncResults; in HWTEST_F() local
82 KvSyncCompletedListener_.NotifySyncCompleted(syncResults); in HWTEST_F()
H A Dprofile_cache_test.cpp55 void OnSyncCompleted(const map<string, SyncStatus>& syncResults) { in OnSyncCompleted() argument
H A Ddevice_profile_manager_test.cpp95 void OnSyncCompleted(const map<string, SyncStatus>& syncResults) { in OnSyncCompleted() argument
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_event_notifier_proxy_test.cpp73 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 Dprofile_change_notification_test.cpp252 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 Dprofile_proxy_test.cpp73 SyncResult syncResults; in HWTEST_F() local
75 eventCb.OnSyncCompleted(syncResults); in HWTEST_F()
H A Dsubscribe_manager_test.cpp372 SyncResult syncResults; in HWTEST_F() local
373 syncResults.emplace("testdeviceid", SUCCEEDED); in HWTEST_F()
374 handler->NotifySyncCompleted(syncResults); in HWTEST_F()
H A Devent_subscribe_test.cpp65 void OnSyncCompleted(const SyncResult& syncResults) override
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dsync_completed_callback_proxy.cpp32 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 Dsync_completed_callback_stub.cpp71 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 Dprofile_event_notifier_stub.cpp80 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 Dsync_completed_callback_proxy.h33 void OnSyncCompleted(const SyncResult& syncResults) override;
H A Di_sync_completed_callback.h32 virtual void OnSyncCompleted(const SyncResult& syncResults) = 0;
/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dprofile_event_notifier_proxy.h29 void OnSyncCompleted(const SyncResult& syncResults) override;
H A Dprofile_sync_handler.h42 void NotifySyncCompleted(const SyncResult& syncResults);
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/
H A Diprofile_event_callback.h36 virtual void OnSyncCompleted(const SyncResult& syncResults) {} in OnSyncCompleted() argument
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/listener/
H A Dkv_sync_completed_listener.h37 void NotifySyncCompleted(const SyncResults& syncResults);
/foundation/deviceprofile/device_info_manager/old/tools/dp/include/
H A Ddp_command.h59 void OnSyncCompleted(const SyncResult& syncResults) override;
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Ddevice_profile_manager.cpp514 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 Ddp_command.cpp479 void ProfileEventCallback::OnSyncCompleted(const SyncResult& syncResults) in OnSyncCompleted() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_manager.cpp1113 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()

Completed in 14 milliseconds

12