Searched refs:GetFromDistributedDB (Results 1 - 7 of 7) sorted by relevance
/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_preferences_database.h | 55 bool GetFromDistributedDB(const std::string &key, std::string &value);
|
H A D | distributed_database.h | 68 bool GetFromDistributedDB(const std::string &key, std::string &value);
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
H A D | distributed_preferences_database_test.cpp | 132 * @tc.desc : test GetFromDistributedDB and CheckKvStore is false.
140 EXPECT_EQ(false, distributedPreferencesDatabase.GetFromDistributedDB(key, value));
in HWTEST_F() 146 * @tc.desc : test GetFromDistributedDB and CheckKvStore is true and KvStoreFlowControl is false.
156 EXPECT_EQ(false, distributedPreferencesDatabase.GetFromDistributedDB(key, value));
in HWTEST_F() 162 * @tc.desc : test GetFromDistributedDB KvStoreFlowControl is true and status != DistributedKv::Status::SUCCESS.
173 EXPECT_EQ(false, distributedPreferencesDatabase.GetFromDistributedDB(key, value));
in HWTEST_F() 179 * @tc.desc : test GetFromDistributedDB KvStoreFlowControl is true and status == DistributedKv::Status::SUCCESS.
190 EXPECT_EQ(true, distributedPreferencesDatabase.GetFromDistributedDB(key, value));
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
H A D | distributed_database_branch_test.cpp | 241 * @tc.desc : Test GetFromDistributedDB function and kvStore_ == nullptr.
248 EXPECT_EQ(false, database_->GetFromDistributedDB(key, value));
in HWTEST_F() 254 * @tc.desc : Test GetFromDistributedDB function and KvStoreFlowControl is false.
263 EXPECT_EQ(false, database_->GetFromDistributedDB(key, value));
in HWTEST_F() 269 * @tc.desc : Test GetFromDistributedDB function and status != DistributedKv::Status::SUCCESS.
278 EXPECT_EQ(false, database_->GetFromDistributedDB(key, value));
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences_database.cpp | 115 bool DistributedPreferencesDatabase::GetFromDistributedDB(const std::string &key, std::string &value) in GetFromDistributedDB() function in OHOS::Notification::DistributedPreferencesDatabase
|
H A D | distributed_database.cpp | 162 bool DistributedDatabase::GetFromDistributedDB(const std::string &key, std::string &value) in GetFromDistributedDB() function in OHOS::Notification::DistributedDatabase
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_database_test.cpp | 135 EXPECT_EQ(database_->GetFromDistributedDB(key, value), true); in HWTEST_F()
|
Completed in 4 milliseconds