/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/ |
H A D | mock_distributed_preferences_database.cpp | 56 bool DistributedPreferencesDatabase::GetEntriesFromDistributedDB(
in GetEntriesFromDistributedDB() function in OHOS::Notification::DistributedPreferencesDatabase 60 entry.key = "GetEntriesFromDistributedDB";
in GetEntriesFromDistributedDB()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/ |
H A D | mock_distributed_database.cpp | 54 bool DistributedDatabase::GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries)
in GetEntriesFromDistributedDB() function in OHOS::Notification::DistributedDatabase 57 entry.key = "GetEntriesFromDistributedDB";
in GetEntriesFromDistributedDB()
|
/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_preferences_database.h | 64 bool GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries);
|
H A D | distributed_database.h | 77 bool GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries);
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
H A D | distributed_preferences_database_test.cpp | 196 * @tc.desc : test GetEntriesFromDistributedDB and CheckKvStore is false.
204 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 210 * @tc.desc : test GetEntriesFromDistributedDB and KvStoreFlowControl is false.
220 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 226 * @tc.desc : test GetEntriesFromDistributedDB and status != DistributedKv::Status::SUCCESS.
236 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
H A D | distributed_database_branch_test.cpp | 284 * @tc.desc : Test GetEntriesFromDistributedDB function and kvStore_ == nullptr.
293 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 299 * @tc.desc : Test GetEntriesFromDistributedDB function and KvStoreFlowControl is false.
310 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 316 * @tc.desc : Test GetEntriesFromDistributedDB function and status != DistributedKv::Status::SUCCESS.
327 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences_database.cpp | 137 bool DistributedPreferencesDatabase::GetEntriesFromDistributedDB( in GetEntriesFromDistributedDB() function in OHOS::Notification::DistributedPreferencesDatabase
|
H A D | distributed_notification_manager.cpp | 253 if (!database_->GetEntriesFromDistributedDB(prefixKey, entries)) { in OnDeviceDisconnected() 254 ANS_LOGE("GetEntriesFromDistributedDB failed."); in OnDeviceDisconnected() 444 if (!database_->GetEntriesFromDistributedDB(prefixKey, entries)) { in GetCurrentDistributedNotification() 445 ANS_LOGE("GetEntriesFromDistributedDB failed."); in GetCurrentDistributedNotification()
|
H A D | distributed_preferences.cpp | 50 if (!database_->GetEntriesFromDistributedDB(DISTRIBUTED_LABEL, entries)) { in InitDistributedAllInfo()
|
H A D | distributed_database.cpp | 189 bool DistributedDatabase::GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries) in GetEntriesFromDistributedDB() function in OHOS::Notification::DistributedDatabase
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_database_test.cpp | 148 EXPECT_EQ(database_->GetEntriesFromDistributedDB(prifixKey, entries), true); in HWTEST_F()
|