/foundation/resourceschedule/device_standby/services/common/src/ |
H A D | timed_task.cpp | 29 TimedTask::TimedTask() in TimedTask() function in OHOS::DevStandbyMgr::TimedTask 32 TimedTask::TimedTask(bool repeat, uint64_t interval, bool isExact, bool isIdle) in TimedTask() function in OHOS::DevStandbyMgr::TimedTask 48 TimedTask::TimedTask(bool repeat, uint64_t interval, int type) in TimedTask() function in OHOS::DevStandbyMgr::TimedTask 55 TimedTask::~TimedTask() in ~TimedTask() 58 void TimedTask::OnTrigger() in OnTrigger() 68 void TimedTask [all...] |
/foundation/resourceschedule/device_standby/services/common/include/ |
H A D | timed_task.h | 35 class TimedTask : public MiscServices::ITimerInfo { class 37 TimedTask(); 38 TimedTask(bool repeat, uint64_t interval, bool isExact, bool isIdle = false); 39 TimedTask(bool repeat, uint64_t interval, int type); 40 virtual ~TimedTask();
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_helper.cpp | 63 uint64_t TimedTask::CreateTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle, in CreateTimer() 69 bool TimedTask::StartDayNightSwitchTimer(uint64_t& timeId) in StartDayNightSwitchTimer()
|
/foundation/resourceschedule/device_standby/plugins/standby_state/src/ |
H A D | sleep_state.cpp | 46 enterStandbyTimerId_ = TimedTask::CreateTimer(false, 0, true, true, callbackTask); in Init() 56 repeatedDetectionTimerId_ = TimedTask::CreateTimer(true, REPEATED_MOTION_DETECTION_INTERVAL, true, false, callback); in Init()
|
H A D | state_manager_adapter.cpp | 51 scrOffHalfHourTimerId_ = TimedTask::CreateTimer(false, 0, true, false, callbackTask); in Init()
|
/foundation/resourceschedule/device_standby/plugins/ext/src/ |
H A D | base_state.cpp | 42 enterStandbyTimerId_ = TimedTask::CreateTimer(false, 0, true, false, callbackTask); in Init()
|
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_service_unit_test.cpp | 650 * @tc.desc: test TimedTask of StandbyService. 656 auto timedTask = std::make_shared<TimedTask>(); in HWTEST_F() 973 * @tc.desc: test TimedTask. 979 auto timedTask = std::make_shared<TimedTask>(false, 0, true); in HWTEST_F() 980 timedTask = std::make_shared<TimedTask>(false, 0, false); in HWTEST_F() 990 TimedTask::CreateTimer(false, 0, false, false, callBack); in HWTEST_F() 1271 * @tc.desc: test CreateTimer of TimedTask. 1277 auto timedTask = std::make_shared<TimedTask>(false, 0, WAKEUP_EXACT_TIMER_TYPE); in HWTEST_F() 1282 timerId = TimedTask::CreateTimer(false, 0, WAKEUP_EXACT_TIMER_TYPE, callBack); in HWTEST_F() 1287 timerId = TimedTask in HWTEST_F() [all...] |
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 181 if (!TimedTask::StartDayNightSwitchTimer(standbyImpl->dayNightSwitchTimerId_)) { in DayNightSwitchCallback() 194 if (!TimedTask::StartDayNightSwitchTimer(standbyImpl->dayNightSwitchTimerId_)) { in DayNightSwitchCallback() 215 if (!TimedTask::RegisterDayNightSwitchTimer(dayNightSwitchTimerId_, false, 0, callBack)) { in RegisterTimeObserver()
|