Home
last modified time | relevance | path

Searched refs:CheckKvDataManager (Results 1 - 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_database.cpp63 bool DistributedDatabase::CheckKvDataManager() in CheckKvDataManager() function in OHOS::Notification::DistributedDatabase
77 if (!CheckKvDataManager()) { in GetKvStore()
263 if (!CheckKvDataManager()) { in GetLocalDeviceId()
289 if (!CheckKvDataManager()) { in GetLocalDeviceInfo()
310 if (!CheckKvDataManager()) { in GetDeviceInfoList()
331 if (!CheckKvDataManager()) { in RecreateDistributedDB()
H A Ddistributed_screen_status_manager.cpp58 if (!CheckKvDataManager()) { in OnDeviceDisconnected()
110 bool DistributedScreenStatusManager::CheckKvDataManager() in CheckKvDataManager() function in OHOS::Notification::DistributedScreenStatusManager
131 if (!CheckKvDataManager()) { in GetKvStore()
176 if (!CheckKvDataManager() || kvStore_ == nullptr) { in CheckRemoteDevicesIsUsing()
H A Ddistributed_preferences_database.cpp43 bool DistributedPreferencesDatabase::CheckKvDataManager() in CheckKvDataManager() function in OHOS::Notification::DistributedPreferencesDatabase
56 if (!CheckKvDataManager()) { in GetKvStore()
182 if (!CheckKvDataManager()) { in ClearDatabase()
/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences_database.h83 bool CheckKvDataManager();
H A Ddistributed_screen_status_manager.h55 bool CheckKvDataManager();
H A Ddistributed_database.h130 bool CheckKvDataManager();
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/
H A Ddistributed_screen_status_manager_branch_test.cpp52 * @tc.desc : Test CheckKvDataManager function and kvDataManager_ == nullptr.
60 EXPECT_EQ(true, distributedScreenStatusManager.CheckKvDataManager()); in HWTEST_F()
157 * @tc.desc : Test GetKvStore function and CheckKvDataManager is false.
186 * @tc.desc : Test OnDeviceDisconnected function and CheckKvDataManager is false.
203 * @tc.desc : Test CheckRemoteDevicesIsUsing function and CheckKvDataManager is false and kvStore_ is nullptr.
208 // set CheckKvDataManager is false in HWTEST_F()
226 // set CheckKvDataManager is true in HWTEST_F()
248 // set CheckKvDataManager is true in HWTEST_F()
272 // set CheckKvDataManager is true in HWTEST_F()
298 // set CheckKvDataManager i in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
H A Ddistributed_preferences_database_test.cpp49 * @tc.desc : test CheckKvDataManager and kvDataManager_ == nullptr.
55 EXPECT_EQ(true, distributedPreferencesDatabase.CheckKvDataManager()); in HWTEST_F()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/
H A Ddistributed_database_branch_test.cpp112 * @tc.desc : Test CheckKvDataManager function and kvDataManager_ == nullptr.
120 EXPECT_EQ(true, database_->CheckKvDataManager()); in HWTEST_F()
126 * @tc.desc : Test GetKvStore function and CheckKvDataManager is false.
447 * @tc.desc : Test GetLocalDeviceInfo function and CheckKvDataManager is false.
528 * @tc.desc : 1.Test RecreateDistributedDB function and CheckKvDataManager is true.
542 * @tc.desc : 1.Test RecreateDistributedDB function and CheckKvDataManager is true.

Completed in 5 milliseconds