Home
last modified time | relevance | path

Searched refs:BindEvent (Results 1 - 8 of 8) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/snapshot/
H A Dbind_event.cpp19 BindEvent::BindEvent(int32_t evtId, BindEventInfo&& bindInfo) : Event(evtId), bindInfo_(std::move(bindInfo)) in BindEvent() function in OHOS::DistributedData::BindEvent
23 const BindEvent::BindEventInfo& BindEvent::GetBindInfo() const in GetBindInfo()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dbind_event_test.cpp32 BindEvent::BindEventInfo info; in HWTEST_F()
34 BindEvent event(BindEvent::BIND_SNAPSHOT, std::move(info)); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/snapshot/
H A Dbind_event.h25 class API_EXPORT BindEvent : public Event { class
45 BindEvent(int32_t evtId, BindEventInfo&& bindInfo);
47 ~BindEvent() = default;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_asset_machine.cpp65 static BindEvent::BindEventInfo MakeBindInfo(ChangedAssetInfo& changedAsset);
316 BindEvent::BindEventInfo bindEventInfo = MakeBindInfo(changedAsset); in CompensateSync()
317 auto evt = std::make_unique<BindEvent>(BindEvent::COMPENSATE_SYNC, std::move(bindEventInfo)); in CompensateSync()
343 BindEvent::BindEventInfo bindEventInfo = MakeBindInfo(changedAsset); in Recover()
345 auto evt = std::make_unique<BindEvent>(BindEvent::RECOVER_SYNC, std::move(bindEventInfo)); in Recover()
350 static BindEvent::BindEventInfo MakeBindInfo(ChangedAssetInfo& changedAsset) in MakeBindInfo()
352 BindEvent::BindEventInfo bindEventInfo; in MakeBindInfo()
H A Dobject_service_impl.cpp345 auto& evt = static_cast<const BindEvent&>(event); in ObjectServiceImpl()
365 EventCenter::GetInstance().Subscribe(BindEvent::BIND_SNAPSHOT, process); in ObjectServiceImpl()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_impl.h159 void DoCompensateSync(const DistributedData::BindEvent& event);
H A Drdb_service_impl.cpp138 auto &evt = static_cast<const BindEvent &>(event); in RdbServiceImpl()
141 EventCenter::GetInstance().Subscribe(BindEvent::COMPENSATE_SYNC, compensateSyncProcess); in RdbServiceImpl()
142 EventCenter::GetInstance().Subscribe(BindEvent::RECOVER_SYNC, compensateSyncProcess); in RdbServiceImpl()
505 void RdbServiceImpl::DoCompensateSync(const BindEvent& event)
523 auto mixMode = event.GetEventId() == BindEvent::COMPENSATE_SYNC
H A Drdb_general_store.cpp180 BindEvent::BindEventInfo eventInfo; in Bind()
187 auto evt = std::make_unique<BindEvent>(BindEvent::BIND_SNAPSHOT, std::move(eventInfo)); in Bind()

Completed in 8 milliseconds