Home
last modified time | relevance | path

Searched refs:highMode (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dgeneral_store_test.cpp33 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 Dstore_test.cpp100 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 Dkvdb_general_store_test.cpp322 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 Dgeneral_store.h75 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 Drdb_general_store.cpp539 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()
552highMode == 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 Drdb_general_store.h143 uint32_t highMode = AUTO_SYNC_MODE);