/base/update/updateservice/services/core/ability/alarm/src/ |
D | timer_manager.cpp | 33 if (timer_ != nullptr) { in ~TimerManager() 35 timer_->Unregister(timerId); in ~TimerManager() 37 timer_->Shutdown(); in ~TimerManager() 48 uint32_t registerTimerId = timer_->Register(callback, repeatingTime * SECOND_MILLIS, false); in RegisterRepeatingAlarm() 60 if (timer_ != nullptr) { in UnregisterRepeatingAlarm() 61 timer_->Unregister(lastRegisterTimerId); in UnregisterRepeatingAlarm() 72 if (timer_ == nullptr) { in BuildTimer() 73 timer_ = std::make_shared<OHOS::Utils::Timer>("OTA Timer"); in BuildTimer() 74 uint32_t ret = timer_->Setup(); in BuildTimer()
|
/base/useriam/user_auth_framework/services/base/src/ |
D | relative_timer.cpp | 25 RelativeTimer::RelativeTimer() : timer_("iam_relative_timer") in RelativeTimer() 27 timer_.Setup(); in RelativeTimer() 33 timer_.Shutdown(); in ~RelativeTimer() 39 return timer_.Register(callback, ms, true); in Register() 44 return timer_.Unregister(timerId); in Unregister()
|
/base/powermgr/powermgr_lite/services/src/screensaver/small/ |
D | screen_saver_handler.cpp | 31 if (timer_ != nullptr) { in ~ScreenSaverHandler() 32 PowerMgrDestroyTimer(timer_); in ~ScreenSaverHandler() 33 timer_ = nullptr; in ~ScreenSaverHandler() 102 if (timer_ == nullptr) { in Init() 103 timer_ = PowerMgrCreateTimer(intervalMsec_, intervalMsec_, PowerTimerCallback); in Init() 118 if (timer_ != nullptr) { in SetInterval() 119 PowerMgrResetTimer(timer_, intervalMsec, intervalMsec); in SetInterval() 129 if (PowerMgrStartTimer(timer_, (void *)this) == FALSE) { in SetEnableLocked() 134 PowerMgrStopTimer(timer_); in SetEnableLocked() 145 PowerMgrStopTimer(timer_); in SetDisableLocked() [all …]
|
/base/time/time_service/services/time/src/ |
D | time_tick_notify.cpp | 48 TimeTickNotify::TimeTickNotify() : timer_("TickTimer"){}; in TimeTickNotify() 62 uint32_t ret = timer_.Setup(); in Init() 70 timerId_ = timer_.Register(callback, nextTriggerTime_); in Init() 78 timer_.Unregister(timerId_); in Callback() 81 timerId_ = timer_.Register(callback, nextTriggerTime_); in Callback() 88 timer_.Unregister(timerId_); in PowerCallback() 91 timerId_ = timer_.Register(callback, nextTriggerTime_); in PowerCallback() 108 timer_.Shutdown(); in Stop()
|
/base/inputmethod/imf/services/dfx/src/ |
D | inputmethod_sysevent.cpp | 161 if (timer_ == nullptr) { in StopTimer() 165 timer_->Unregister(timerId_); in StopTimer() 166 timer_->Shutdown(); in StopTimer() 172 if (timer_ == nullptr) { in StartTimer() 173 timer_ = std::make_shared<Utils::Timer>("imfTimer"); in StartTimer() 174 uint32_t ret = timer_->Setup(); in StartTimer() 179 timerId_ = timer_->Register(callback, interval, true); in StartTimer() 182 timer_->Unregister(timerId_); in StartTimer() 183 timerId_ = timer_->Register(callback, interval, false); in StartTimer()
|
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_kernel_service.cpp | 49 if (timer_ == nullptr) { in Init() 50 timer_ = std::make_shared<ThermalProtectorTimer>(provision_); in Init() 86 timer_->Init(); in Init()
|
/base/useriam/face_auth/services_ex/src/ |
D | screen_brightness_task.cpp | 180 ScreenBrightnessTask::ScreenBrightnessTask() : timer_("screen_brightness_timer") in ScreenBrightnessTask() 182 timer_.Setup(); in ScreenBrightnessTask() 193 timer_.Unregister(currTimerId_); in ~ScreenBrightnessTask() 194 timer_.Shutdown(); in ~ScreenBrightnessTask() 301 timer_.Unregister(currTimerId_); in StartProcess() 302 currTimerId_ = timer_.Register( in StartProcess() 360 timer_.Unregister(currTimerId_); in DoIncreaseBrightness() 361 currTimerId_ = timer_.Register(timeCallback, increaseBrightnessInterval_, true); in DoIncreaseBrightness() 370 timer_.Unregister(currTimerId_); in EndProcess()
|
/base/powermgr/thermal_manager/application/protector/include/ |
D | thermal_kernel_service.h | 59 return timer_; in GetTimer() 66 std::shared_ptr<ThermalProtectorTimer> timer_ {nullptr};
|
/base/security/device_security_level/interfaces/inner_api/src/standard/ |
D | device_security_level_callback_helper.cpp | 99 DeviceSecurityLevelCallbackHelper::CallbackInfoHolder::CallbackInfoHolder() : timer_(TIMER_NAME) in CallbackInfoHolder() 101 timer_.Setup(); in CallbackInfoHolder() 106 timer_.Shutdown(); in ~CallbackInfoHolder() 124 timer_.Register(deleter, keep * 1000, true); // 1000 millisec in PushCallback()
|
D | device_security_level_callback_helper.h | 67 OHOS::Utils::Timer timer_; variable
|
/base/useriam/fingerprint_auth/services_ex/src/ |
D | sensor_illumination_task.cpp | 144 SensorIlluminationTask::SensorIlluminationTask() : timer_("sensor_illumination_timer") in SensorIlluminationTask() 147 timer_.Setup(); in SensorIlluminationTask() 153 timer_.Unregister(currTimerId_); in ~SensorIlluminationTask() 154 timer_.Shutdown(); in ~SensorIlluminationTask() 289 timer_.Unregister(currTimerId_); in TurnOnSensorIllumination() 290 currTimerId_ = timer_.Register( in TurnOnSensorIllumination() 324 timer_.Unregister(currTimerId_); in TurnOffSensorIllumination()
|
/base/time/time_service/services/time/include/ |
D | time_tick_notify.h | 36 Utils::Timer timer_; variable
|
/base/useriam/user_auth_framework/services/base/inc/ |
D | relative_timer.h | 34 Utils::Timer timer_;
|
/base/powermgr/powermgr_lite/services/include/small/ |
D | screen_saver_handler.h | 54 PowerTimer *timer_{nullptr};
|
/base/update/updateservice/services/core/ability/alarm/include/ |
D | timer_manager.h | 45 std::shared_ptr<OHOS::Utils::Timer> timer_ = nullptr; variable
|
/base/useriam/face_auth/services_ex/inc/ |
D | screen_brightness_task.h | 70 Utils::Timer timer_; variable
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | curl_adp.cpp | 37 curlMulti_(nullptr), isReadAbort_(false), timer_("uploadTimer") in CUrlAdp() 457 uint32_t ret = timer_.Setup(); in StartTimer() 466 timerId_ = timer_.Register(TimeOutCallback, READFILE_TIMEOUT_MS, true); in StartTimer() 471 timer_.Unregister(timerId_); in StopTimer() 472 timer_.Shutdown(); in StopTimer()
|
/base/inputmethod/imf/services/dfx/include/ |
D | inputmethod_sysevent.h | 71 std::shared_ptr<Utils::Timer> timer_ = nullptr; variable
|
/base/useriam/fingerprint_auth/services_ex/inc/ |
D | sensor_illumination_task.h | 73 Utils::Timer timer_; variable
|
/base/request/request/frameworks/js/napi/include/upload/ |
D | curl_adp.h | 85 Utils::Timer timer_; variable
|