Searched refs:LONG_INTERVAL (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | task_scheduler_test.cpp | 28 static constexpr uint32_t LONG_INTERVAL = 1; // s member in OHOS::Test::TaskSchedulerTest 47 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, testData); 73 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); 98 expiredTime += std::chrono::milliseconds(LONG_INTERVAL); 120 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, testData); 167 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); 196 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); 219 auto blockDataTest = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); 220 auto blockDataWait = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); 246 auto blockDataTest = std::make_shared<BlockData<int>>(LONG_INTERVAL, 0); [all …]
|
H A D | executor_pool_test.cpp | 36 static constexpr uint32_t LONG_INTERVAL = 1; // s member in OHOS::Test::ExecutorPoolTest 59 auto blockData = std::make_shared<BlockData<int>>(LONG_INTERVAL, testData); 111 … = executorPool_->Schedule(task, std::chrono::seconds(0), std::chrono::seconds(LONG_INTERVAL), 10); 115 std::this_thread::sleep_for(std::chrono::seconds(LONG_INTERVAL * 10)); 210 std::this_thread::sleep_for(std::chrono::seconds(LONG_INTERVAL));
|