Home
last modified time | relevance | path

Searched refs:syncCount_ (Results 1 - 3 of 3) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp484 manager->syncCount_ = 10; // test syncCount_ in HWTEST_F()
489 manager->syncCount_ = 0; // test syncCount_ in HWTEST_F()
505 manager->syncCount_ = 1; // test syncCount_ in HWTEST_F()
507 ASSERT_EQ(manager->syncCount_, 1); // 1 is for testing in HWTEST_F()
510 ASSERT_EQ(manager->syncCount_, 0); // 0 is for testing in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_manager.cpp722 syncCount_ = 1; in Open()
725 syncCount_++; in Open()
726 ZLOGI("Object kvstore syncCount: %{public}d", syncCount_); in Open()
738 if (taskCount > 0 && syncCount_ == 1) { in Close()
743 syncCount_--; in Close()
744 ZLOGI("closed a store, syncCount = %{public}d", syncCount_); in Close()
774 if (!isSyncing_ && syncCount_ == 0 && delegate_ != nullptr) { in FlushClosedStore()
H A Dobject_manager.h211 uint32_t syncCount_ = 0; member in OHOS::DistributedObject::ObjectStoreManager

Completed in 5 milliseconds