Searched refs:INVALID_INTERVAL (Results 1 - 9 of 9) sorted by relevance
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | executor_pool.h | 38 static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0); member in OHOS::ExecutorPool 81 return Schedule(std::move(task), INVALID_DELAY, INVALID_INTERVAL, UNLIMITED_TIMES); in Execute() 89 return Schedule(std::move(task), delay, INVALID_INTERVAL, 1); in Schedule() 129 if (task.interval != INVALID_INTERVAL) { in Reset() 133 return std::pair{ task.interval != INVALID_INTERVAL, time }; in Reset() 204 if (task.interval != INVALID_INTERVAL && --task.times > 0) { in NextTimer()
|
H A D | executor.h | 32 static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0); member in OHOS::Executor 44 Duration interval = INVALID_INTERVAL;
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | task_scheduler.h | 39 inline static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0); member in OHOS::TaskScheduler 63 TaskId At(const Time &begin, Task task, Duration interval = INVALID_INTERVAL, uint64_t times = UNLIMITED_TIMES) in At() argument 84 if (running_.taskId == taskId && running_.interval != INVALID_INTERVAL) { in Reset() 93 if (innerTask.interval != INVALID_INTERVAL) { in Reset() 147 Duration interval = INVALID_INTERVAL; 177 if (running_.interval != INVALID_INTERVAL && running_.times > 0) { in Loop()
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | executor_pool.h | 41 static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0); member in OHOS::NativePreferences::ExecutorPool 85 return Schedule(std::move(task), INVALID_DELAY, INVALID_INTERVAL, UNLIMITED_TIMES); in Execute() 93 return Schedule(std::move(task), delay, INVALID_INTERVAL, 1); in Schedule() 133 if (task.interval != INVALID_INTERVAL) { in Reset() 208 if (task.interval != INVALID_INTERVAL && --task.times > 0) { in NextTimer()
|
H A D | executor.h | 35 static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0); member in OHOS::NativePreferences::Executor 47 Duration interval = INVALID_INTERVAL;
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/include/ |
H A D | output_controller_constants.h | 41 const int64_t INVALID_INTERVAL = 0; member
|
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_rtg.cpp | 94 constexpr int INVALID_INTERVAL = 10; in HWTEST_F() local 101 bool ret = RTGCtrl::Instance().SetInvalidInterval(tgid, INVALID_INTERVAL); in HWTEST_F() 103 FFRT_LOGE("Failed to Set Invalid Interval %d", INVALID_INTERVAL); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/src/ |
H A D | output_controller.cpp | 461 TRUE_RETURN((interval == INVALID_INTERVAL), "Interverl is Invalid."); in CalSleepTime() 502 TRUE_RETURN((interval == INVALID_INTERVAL), "Interval is Invalid."); in HandleSmoothTime() 504 TRUE_RETURN((averTimeStampInterval == INVALID_INTERVAL), "AverTimeStampInterval is Invalid."); in HandleSmoothTime()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | priority_queue_test.cpp | 35 static constexpr Duration INVALID_INTERVAL = std::chrono::milliseconds(0);
member 43 Duration interval = INVALID_INTERVAL;
|
Completed in 6 milliseconds