/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | cloud_event.cpp | 19 CloudEvent::CloudEvent(int32_t evtId, StoreInfo storeInfo) in CloudEvent() function in OHOS::DistributedData::CloudEvent 24 const StoreInfo &CloudEvent::GetStoreInfo() const in GetStoreInfo() 29 int32_t CloudEvent::GetEventId() const in GetEventId()
|
H A D | cloud_sync_finished_event.cpp | 20 : CloudEvent(CLOUD_SYNC_FINISHED, storeMetaData.GetStoreInfo()), metaData_(storeMetaData) in CloudSyncFinishedEvent()
|
H A D | cloud_lock_event.cpp | 20 : CloudEvent(evtId, storeInfo), callback_(std::move(callback)) in CloudLockEvent()
|
H A D | cloud_share_event.cpp | 20 : CloudEvent(CLOUD_SHARE, std::move(storeInfo)), query_(std::move(query)), callback_(std::move(callback)) in CloudShareEvent()
|
H A D | sync_event.cpp | 54 : CloudEvent(CLOUD_SYNC, std::move(storeInfo)), info_(std::move(info)) in SyncEvent() 59 : CloudEvent(evtId, std::move(storeInfo)), info_(std::move(info)) in SyncEvent()
|
H A D | make_query_event.cpp | 21 : CloudEvent(MAKE_QUERY, std::move(storeInfo)), predicates_(std::move(predicates)), columns_(columns), in MakeQueryEvent()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | cloud_event.h | 25 class API_EXPORT CloudEvent : public Event { class 45 CloudEvent(int32_t evtId, StoreInfo storeInfo); 46 ~CloudEvent() = default;
|
H A D | cloud_sync_finished_event.h | 25 class API_EXPORT CloudSyncFinishedEvent : public CloudEvent {
|
H A D | cloud_lock_event.h | 24 class API_EXPORT CloudLockEvent : public CloudEvent {
|
H A D | make_query_event.h | 27 class API_EXPORT MakeQueryEvent : public CloudEvent {
|
H A D | cloud_share_event.h | 23 class API_EXPORT CloudShareEvent : public CloudEvent {
|
H A D | sync_event.h | 22 class API_EXPORT SyncEvent : public CloudEvent {
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/commonevent/ |
H A D | data_sync_event.h | 22 class API_EXPORT DataSyncEvent : public CloudEvent {
30 : CloudEvent(DATA_SYNC, std::move(storeInfo)), syncMode_(syncMode), status_(std::move(status)),
in DataSyncEvent()
|
H A D | data_change_event.h | 22 class API_EXPORT DataChangeEvent : public CloudEvent { 34 : CloudEvent(DATA_CHANGE, std::move(storeInfo)), info_(std::move(evtInfo)) in DataChangeEvent()
|
H A D | set_searchable_event.h | 22 class API_EXPORT SetSearchableEvent : public CloudEvent { 30 : CloudEvent(evtId, std::move(storeInfo)), info_(std::move(evtInfo)) in SetSearchableEvent()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | sync_manager.cpp | 187 if (evt.GetEventId() == CloudEvent::LOCK_CLOUD_CONTAINER) { in GetLockChangeHandler() 199 EventCenter::GetInstance().Subscribe(CloudEvent::LOCK_CLOUD_CONTAINER, GetLockChangeHandler()); in SyncManager() 200 EventCenter::GetInstance().Subscribe(CloudEvent::UNLOCK_CLOUD_CONTAINER, GetLockChangeHandler()); in SyncManager() 201 EventCenter::GetInstance().Subscribe(CloudEvent::LOCAL_CHANGE, GetClientChangeHandler()); in SyncManager() 373 Defer defer(GetSyncHandler(std::move(retryer)), CloudEvent::CLOUD_SYNC); 517 EventCenter::GetInstance().PostEvent(std::make_unique<CloudEvent>(CloudEvent::GET_SCHEMA, storeInfo));
|
H A D | cloud_service_impl.h | 95 using CloudEvent = DistributedData::CloudEvent;
|
H A D | cloud_service_impl.cpp | 85 EventCenter::GetInstance().Subscribe(CloudEvent::GET_SCHEMA, [this](const Event &event) { in CloudServiceImpl() 88 EventCenter::GetInstance().Subscribe(CloudEvent::CLOUD_SHARE, [this](const Event &event) { in CloudServiceImpl() 233 EventCenter::GetInstance().PostEvent(std::make_unique<CloudEvent>(CloudEvent::CLEAN_DATA, storeInfo)); in DoClean() 970 auto &rdbEvent = static_cast<const CloudEvent &>(event); in GetSchema()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.cpp | 101 auto &evt = static_cast<const CloudEvent &>(event); in RdbServiceImpl() 122 EventCenter::GetInstance().Subscribe(CloudEvent::CLOUD_SYNC, process); in RdbServiceImpl() 123 EventCenter::GetInstance().Subscribe(CloudEvent::CLEAN_DATA, process); in RdbServiceImpl() 125 EventCenter::GetInstance().Subscribe(CloudEvent::MAKE_QUERY, [](const Event& event) { in RdbServiceImpl() 287 return PostSearchEvent(CloudEvent::SET_SEARCH_TRIGGER, param, eventInfo); in SetDistributedTables() 826 auto event = std::make_unique<CloudEvent>(CloudEvent::GET_SCHEMA, std::move(storeInfo)); 1141 return PostSearchEvent(CloudEvent::SET_SEARCHABLE, param, eventInfo); 1227 auto evt = std::make_unique<CloudLockEvent>(CloudEvent::LOCK_CLOUD_CONTAINER, std::move(storeInfo), callback); 1249 auto evt = std::make_unique<CloudLockEvent>(CloudEvent [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.cpp | 98 const auto &evt = static_cast<const CloudEvent &>(event); in Init() 129 EventCenter::GetInstance().Subscribe(CloudEvent::CLOUD_SYNC, process); in Init() 130 EventCenter::GetInstance().Subscribe(CloudEvent::CLEAN_DATA, process); in Init() 674 auto event = std::make_unique<CloudEvent>(CloudEvent::GET_SCHEMA, storeInfo); in BeforeCreate()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | cloud_test.cpp | 541 CloudEvent event(evtId, info); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/ |
H A D | water_version_manager.cpp | 67 EventCenter::GetInstance().Subscribe(CloudEvent::CLOUD_SYNC_FINISHED, [this](const Event &event) { in Init()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_data_test.cpp | 312 auto event = std::make_unique<CloudEvent>(CloudEvent::GET_SCHEMA, storeInfo); in HWTEST_F() 678 EventCenter::GetInstance().Subscribe(CloudEvent::MAKE_QUERY, [](const Event &event) { in HWTEST_F()
|