Home
last modified time | relevance | path

Searched refs:kvDataManager_ (Results 1 – 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_screen_status_manager.cpp62 kvDataManager_->GetDeviceList(devInfoList, DistributedKv::DeviceFilterStrategy::NO_FILTER); in OnDeviceDisconnected()
65 kvDataManager_.reset(); in OnDeviceDisconnected()
77 kvDataManager_->DeleteKvStore(appId, storeId, KV_STORE_PATH); in OnDeviceDisconnected()
88 kvDataManager_ = std::make_unique<DistributedKv::DistributedKvDataManager>(); in GetKvDataManager()
89 if (kvDataManager_ != nullptr) { in GetKvDataManager()
90 DistributedKv::Status status = kvDataManager_->StartWatchDeviceChange(deviceCb_); in GetKvDataManager()
93 kvDataManager_.reset(); in GetKvDataManager()
102 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
105 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
126 …DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore()
[all …]
Ddistributed_database.cpp40 kvDataManager_ = std::make_unique<DistributedKv::DistributedKvDataManager>(); in GetKvDataManager()
41 if (kvDataManager_ != nullptr) { in GetKvDataManager()
42 DistributedKv::Status status = kvDataManager_->StartWatchDeviceChange(deviceCb_); in GetKvDataManager()
45 kvDataManager_.reset(); in GetKvDataManager()
54 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
57 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
80 …DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore()
84 kvDataManager_->StopWatchDeviceChange(deviceCb_); in GetKvStore()
85 kvDataManager_.reset(); in GetKvStore()
250 DistributedKv::Status status = kvDataManager_->GetLocalDevice(deviceInfo); in GetLocalDeviceId()
[all …]
Ddistributed_preferences_database.cpp38 kvDataManager_ = std::make_unique<DistributedKv::DistributedKvDataManager>(); in GetKvDataManager()
45 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
48 if (kvDataManager_ == nullptr) { in CheckKvDataManager()
69 …DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore()
73 kvDataManager_.reset(); in GetKvStore()
200 DistributedKv::Status status = kvDataManager_->CloseKvStore(appId, storeId); in ClearDatabase()
206 status = kvDataManager_->DeleteKvStore(appId, storeId, KV_STORE_PATH); in ClearDatabase()
217 kvDataManager_->CloseKvStore(appId, kvStore_); in CloseKvStore()
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_preferences_database.h90 std::unique_ptr<DistributedKv::DistributedKvDataManager> kvDataManager_; variable
Ddistributed_screen_status_manager.h65 std::unique_ptr<DistributedKv::DistributedKvDataManager> kvDataManager_ = nullptr; variable
Ddistributed_database.h136 std::unique_ptr<DistributedKv::DistributedKvDataManager> kvDataManager_; variable