Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dsync_completed_callback_test.cpp68 void OnSyncCompleted(const SyncResult& syncResults) override in OnSyncCompleted() argument
85 SyncResult syncResults; variable
86 syncResults.emplace("testdeviceid", SUCCEEDED);
90 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) {
94 for (const auto& [deviceId, syncResult] : syncResults) {
137 SyncResult syncResults; variable
146 syncResults.emplace("testdeviceid", SUCCEEDED);
147 proxy->OnSyncCompleted(syncResults);
H A Dkv_sync_completed_listener_test.cpp81 const SyncResults syncResults; variable
82 KvSyncCompletedListener_.NotifySyncCompleted(syncResults);
H A Dprofile_cache_test.cpp55 void OnSyncCompleted(const map<string, SyncStatus>& syncResults) { in OnSyncCompleted() argument
/ohos5.0/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()
/ohos5.0/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()
45 for (const auto& [deviceId, syncResult] : syncResults) { in OnSyncCompleted()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_change_notification_test.cpp252 SyncResult syncResults; variable
253 syncResults.emplace("testdeviceid", SUCCEEDED);
257 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) {
261 for (const auto& [deviceId, syncResult] : syncResults) {
307 SyncResult syncResults; variable
311 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) {
328 SyncResult syncResults; variable
332 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) {
348 SyncResult syncResults; variable
352 if (!data.WriteInt32(static_cast<int32_t>(syncResults.size()))) {
[all …]
H A Dprofile_event_notifier_proxy_test.cpp73 SyncResult syncResults; variable
74 proxy->OnSyncCompleted(syncResults);
90 SyncResult syncResults; variable
91 syncResults.emplace("testdeviceid", SUCCEEDED);
92 proxy->OnSyncCompleted(syncResults);
H A Dprofile_proxy_test.cpp73 SyncResult syncResults; variable
75 eventCb.OnSyncCompleted(syncResults);
H A Dsubscribe_manager_test.cpp372 SyncResult syncResults; variable
373 syncResults.emplace("testdeviceid", SUCCEEDED);
374 handler->NotifySyncCompleted(syncResults);
H A Devent_subscribe_test.cpp65 void OnSyncCompleted(const SyncResult& syncResults) override in OnSyncCompleted() argument
H A Dprofile_crud_test.cpp82 void OnSyncCompleted(const SyncResult& syncResults) override in OnSyncCompleted() argument
/ohos5.0/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()
46 for (const auto&[deviceId, syncResult]: syncResults) { 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()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/
H A Dprofile_event_notifier_stub.cpp80 SyncResult syncResults; variable
82 syncResults.emplace(data.ReadString(), static_cast<SyncStatus>(data.ReadInt32()));
85 profileEventCb_->OnSyncCompleted(syncResults);
/ohos5.0/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;
/ohos5.0/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
/ohos5.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);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/listener/
H A Dkv_sync_completed_listener.h37 void NotifySyncCompleted(const SyncResults& syncResults);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/include/
H A Ddp_command.h59 void OnSyncCompleted(const SyncResult& syncResults) override;
/ohos5.0/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()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp468 void ProfileEventCallback::OnSyncCompleted(const SyncResult& syncResults) in OnSyncCompleted() argument
/ohos5.0/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()

12