Searched refs:onTimer (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/utils/ |
D | TimeCheck.cpp | 142 TimeCheck::TimeCheck(std::string_view tag, OnTimerFunc&& onTimer, Duration requestedTimeoutDuration, in TimeCheck() argument 145 tag, std::move(onTimer), crashOnTimeout, requestedTimeoutDuration, in TimeCheck() 210 if (TimeCheck::getTimeCheckThread().cancelTask(timerHandle) && onTimer) { in onCancel() 216 onTimer(false /* timeout */, elapsedSteadyMs); in onCancel() 236 if (onTimer) { in onTimeout() 237 onTimer(true /* timeout */, elapsedSteadyMs); in onTimeout()
|
/frameworks/av/media/utils/include/mediautils/ |
D | TimeCheck.h | 86 explicit TimeCheck(std::string_view tag, OnTimerFunc&& onTimer, 112 , onTimer(std::forward<F>(_onTimer)) in TimeCheckHandler() 120 const OnTimerFunc onTimer; variable
|