/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
H A D | distributed_preferences_database_test.cpp | 202 std::string prefixKey = "aa";
in HWTEST_F() local 204 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 218 std::string prefixKey = "aa";
in HWTEST_F() local 220 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 234 std::string prefixKey = "aa";
in HWTEST_F() local 236 EXPECT_EQ(false, distributedPreferencesDatabase.GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F()
|
H A D | mock_single_kv_store.cpp | 30 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 40 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/ |
H A D | mock_distributed_preferences_database.cpp | 57 const std::string &prefixKey, std::vector<Entry> &entries)
in GetEntriesFromDistributedDB() 56 GetEntriesFromDistributedDB( const std::string &prefixKey, std::vector<Entry> &entries) GetEntriesFromDistributedDB() argument
|
/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() argument
|
/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_preferences_database.h | 58 * @brief Get all entries which key start with prefixKey. 64 bool GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries);
|
H A D | distributed_database.h | 71 * @brief Get all entries which key start with prefixKey. 77 bool GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries);
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
H A D | distributed_database_branch_test.cpp | 289 std::string prefixKey = "<prefixKey>";
in HWTEST_F() local 293 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 306 std::string prefixKey = "<prefixKey>";
in HWTEST_F() local 310 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F() 323 std::string prefixKey = "<prefixKey>";
in HWTEST_F() local 327 EXPECT_EQ(false, database_->GetEntriesFromDistributedDB(prefixKey, entries));
in HWTEST_F()
|
H A D | mock_single_kv_store.cpp | 36 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const
in GetEntries() argument 46 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const
in GetResultSet() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/ |
H A D | mock_single_kv_store.h | 37 * @brief Get all entries in this store which key start with prefixKey. 43 Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override; 55 * @brief Get ResultSet in this store which key start with prefixKey. 61 Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const override;
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/ |
H A D | mock_single_kv_store.cpp | 30 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 45 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
H A D | mock_single_kv_store.cpp | 21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
H A D | mock_single_kv_store.h | 37 * @brief Get all entries in this store which key start with prefixKey. 43 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override; 55 * @brief Get ResultSet in this store which key start with prefixKey. 61 virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | mock_single_kv_store.cpp | 21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences_database.cpp | 138 const std::string &prefixKey, std::vector<Entry> &entries) in GetEntriesFromDistributedDB() 148 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB() 137 GetEntriesFromDistributedDB( const std::string &prefixKey, std::vector<Entry> &entries) GetEntriesFromDistributedDB() argument
|
H A D | distributed_screen_status_manager.cpp | 193 DistributedKv::Key prefixKey(""); in CheckRemoteDevicesIsUsing() 195 DistributedKv::Status status = kvStore_->GetEntries(prefixKey, entries); in CheckRemoteDevicesIsUsing()
|
H A D | distributed_notification_manager.cpp | 247 std::string prefixKey = deviceId + DELIMITER; in OnDeviceDisconnected() 253 if (!database_->GetEntriesFromDistributedDB(prefixKey, entries)) { in OnDeviceDisconnected() 438 std::string prefixKey = ""; in GetCurrentDistributedNotification() local 444 if (!database_->GetEntriesFromDistributedDB(prefixKey, entries)) { in GetCurrentDistributedNotification()
|
H A D | distributed_database.cpp | 189 bool DistributedDatabase::GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries) in GetEntriesFromDistributedDB() argument 203 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB()
|
/base/notification/distributed_notification_service/services/test/moduletest/mock/include/ |
H A D | mock_single_kv_store.h | 37 * @brief Get all entries in this store which key start with prefixKey. 43 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override; 55 * @brief Get ResultSet in this store which key start with prefixKey. 61 virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const override;
|
/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
H A D | mock_single_kv_store.cpp | 21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_single_kv_store.cpp | 101 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries() argument 106 if (iter.first.StartsWith(prefixKey)) { in GetEntries() 122 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const in GetResultSet() argument
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/ |
H A D | mock_single_kv_store.h | 36 * @brief Get all entries in this store which key start with prefixKey. 42 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override; 54 * @brief Get ResultSet in this store which key start with prefixKey. 60 virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const override;
|