Searched refs:highMode (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | general_store_test.cpp | 33 uint32_t highMode = GeneralStore::HighMode::MANUAL_SYNC_MODE; variable 34 auto ret = GeneralStore::MixMode(syncMode, highMode); 46 uint32_t highMode = GeneralStore::HighMode::MANUAL_SYNC_MODE; variable 47 auto mixMode = GeneralStore::MixMode(syncMode, highMode); 52 mixMode = GeneralStore::MixMode(syncMode, highMode); 57 mixMode = GeneralStore::MixMode(syncMode, highMode); 70 uint32_t highMode = GeneralStore::HighMode::MANUAL_SYNC_MODE; variable 71 auto mixMode = GeneralStore::MixMode(syncMode, highMode); 73 ASSERT_EQ(ret, highMode);
|
H A D | store_test.cpp | 100 auto highMode = GeneralStore::GetHighMode(mixMode); variable 101 EXPECT_EQ(highMode, GeneralStore::AUTO_SYNC_MODE);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | kvdb_general_store_test.cpp | 322 uint32_t highMode = GeneralStore::HighMode::MANUAL_SYNC_MODE; variable 323 auto mixMode = GeneralStore::MixMode(syncMode, highMode); 445 uint32_t highMode = GeneralStore::HighMode::MANUAL_SYNC_MODE; variable 446 auto mixMode = GeneralStore::MixMode(syncMode, highMode); 462 mixMode = GeneralStore::MixMode(syncMode, highMode); 469 mixMode = GeneralStore::MixMode(syncMode, highMode); 475 mixMode = GeneralStore::MixMode(syncMode, highMode); 481 mixMode = GeneralStore::MixMode(syncMode, highMode); 487 mixMode = GeneralStore::MixMode(syncMode, highMode);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_store.h | 75 static inline uint32_t MixMode(uint32_t syncMode, uint32_t highMode) in MixMode() argument 77 return syncMode | highMode; in MixMode()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_general_store.cpp | 539 auto highMode = GetHighMode(static_cast<uint32_t>(syncParam.mode)); in Sync() local 545 auto callback = GetDBProcessCB(std::move(async), syncMode, syncId, highMode); in Sync() 551 … (isPriority || highMode == MANUAL_SYNC_MODE), syncParam.isCompensation, {}, in Sync() 552 … highMode == AUTO_SYNC_MODE, LOCK_ACTION, syncParam.prepareTraceId }, in Sync() 732 uint32_t highMode) in GetDBProcessCB() argument 735 …return [async, autoAsync = async_, highMode, storeInfo = storeInfo_, flag = syncNotifyFlag_, syncM… in GetDBProcessCB() 778 if (highMode == AUTO_SYNC_MODE && autoAsync in GetDBProcessCB()
|
H A D | rdb_general_store.h | 143 uint32_t highMode = AUTO_SYNC_MODE);
|