Home
last modified time | relevance | path

Searched refs:DistributedDatabase (Results 1 – 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_database.cpp28 DistributedDatabase::DistributedDatabase( in DistributedDatabase() function in OHOS::Notification::DistributedDatabase
35 DistributedDatabase::~DistributedDatabase() in ~DistributedDatabase()
38 void DistributedDatabase::GetKvDataManager(void) in GetKvDataManager()
52 bool DistributedDatabase::CheckKvDataManager(void) in CheckKvDataManager()
64 void DistributedDatabase::GetKvStore(void) in GetKvStore()
100 bool DistributedDatabase::CheckKvStore(void) in CheckKvStore()
113 bool DistributedDatabase::OnDeviceConnected() in OnDeviceConnected()
118 bool DistributedDatabase::PutToDistributedDB(const std::string &key, const std::string &value) in PutToDistributedDB()
143 bool DistributedDatabase::GetFromDistributedDB(const std::string &key, std::string &value) in GetFromDistributedDB()
170 bool DistributedDatabase::GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Ent… in GetEntriesFromDistributedDB()
[all …]
Ddistributed_notification_manager.cpp62 database_ = std::make_shared<DistributedDatabase>(databaseCb_, deviceCb_); in DistributedNotificationManager()
221 std::vector<DistributedDatabase::Entry> entries; in OnDeviceDisconnected()
239 std::vector<DistributedDatabase::DeviceInfo> deviceList; in OnDeviceDisconnected()
383 std::vector<DistributedDatabase::Entry> entries; in GetCurrentDistributedNotification()
409 ErrCode DistributedNotificationManager::GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceI… in GetLocalDeviceInfo()
424 database_ = std::make_shared<DistributedDatabase>(databaseCb_, deviceCb_); in OnDistributedKvStoreDeathRecipient()
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_database.h33 class DistributedDatabase : private DistributedFlowControl {
44 DistributedDatabase(
50 ~DistributedDatabase();
143 DISALLOW_COPY_AND_MOVE(DistributedDatabase);
Ddistributed_notification_manager.h125 ErrCode GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceInfo);
164 std::shared_ptr<DistributedDatabase> database_ = nullptr;
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_database_test.cpp39 std::shared_ptr<DistributedDatabase> database_;
70 database_ = std::make_shared<DistributedDatabase>(databaseCallback_, deviceCallback_); in SetUp()
144 std::vector<DistributedDatabase::Entry> entries;
192 DistributedDatabase::DeviceInfo deviceInfo;
204 std::vector<DistributedDatabase::DeviceInfo> deviceInfos;
216 std::vector<DistributedDatabase::DeviceInfo> deviceInfos;
Ddistributed_notification_manager_test.cpp239 DistributedDatabase::DeviceInfo deviceInfo;
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp2910 DistributedDatabase::DeviceInfo localDeviceInfo; in CheckDistributedNotificationType()
3070 DistributedDatabase::DeviceInfo localDeviceInfo; in OnDistributedDelete()