Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_one_shot_timer.cpp43 HgmOneShotTimer::HgmOneShotTimer(std::string name, const Interval& interval, in HgmOneShotTimer() function in OHOS::Rosen::HgmOneShotTimer
58 HgmOneShotTimer::~HgmOneShotTimer() in ~HgmOneShotTimer()
68 void HgmOneShotTimer::Start() in Start()
76 void HgmOneShotTimer::Stop() in Stop()
86 void HgmOneShotTimer::Loop() in Loop()
137 bool HgmOneShotTimer::CheckTimerExpired(std::chrono::steady_clock::time_point expireTime) const in CheckTimerExpired()
142 HgmOneShotTimer::HgmTimerState HgmOneShotTimer::CheckForResetAndStop(HgmTimerState state) in CheckForResetAndStop()
153 void HgmOneShotTimer::Reset() in Reset()
160 std::string HgmOneShotTimer::Dump() const in Dump()
H A Dhgm_one_shot_timer.h36 class HgmOneShotTimer {
42 HgmOneShotTimer(std::string name, const Interval& interval, const ResetCallback& resetCallback,
45 ~HgmOneShotTimer();
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_touch_manager.h56 HgmOneShotTimer upTimeoutTimer_;
57 HgmOneShotTimer rsIdleTimeoutTimer_;
H A Dhgm_frame_rate_manager.h139 std::shared_ptr<HgmOneShotTimer> GetScreenTimer(ScreenId screenId) const;
220 std::unordered_map<ScreenId, std::shared_ptr<HgmOneShotTimer>> screenTimerMap_;
H A Dhgm_frame_rate_manager.cpp709 std::shared_ptr<HgmOneShotTimer> HgmFrameRateManager::GetScreenTimer(ScreenId screenId) const in GetScreenTimer()
721 auto newTimer = std::make_shared<HgmOneShotTimer>("idle_timer" + std::to_string(screenId), in StartScreenTimer()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_frame_rate_manager_test.cpp308 auto timer = HgmOneShotTimer("timer", std::chrono::milliseconds(interval), nullptr, nullptr);