Home
last modified time | relevance | path

Searched refs:GetFromDistributedDB (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences_database.h55 bool GetFromDistributedDB(const std::string &key, std::string &value);
H A Ddistributed_database.h68 bool GetFromDistributedDB(const std::string &key, std::string &value);
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
H A Ddistributed_preferences_database_test.cpp132 * @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 Ddistributed_database_branch_test.cpp241 * @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 Ddistributed_preferences_database.cpp115 bool DistributedPreferencesDatabase::GetFromDistributedDB(const std::string &key, std::string &value) in GetFromDistributedDB() function in OHOS::Notification::DistributedPreferencesDatabase
H A Ddistributed_database.cpp162 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 Ddistributed_database_test.cpp135 EXPECT_EQ(database_->GetFromDistributedDB(key, value), true); in HWTEST_F()

Completed in 4 milliseconds