Home
last modified time | relevance | path

Searched refs:timeOutCallback (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hicollie/frameworks/native/
Dwatchdog_task.cpp34 TimeOutCallback timeOutCallback, uint64_t interval) in WatchdogTask() argument
35 : name(name), task(nullptr), timeOutCallback(timeOutCallback), timeout(0), func(nullptr), in WatchdogTask()
47 …: name(name), task(std::move(task)), timeOutCallback(nullptr), checker(nullptr), timeout(0), func(… in WatchdogTask()
58 …: name(name), task(nullptr), timeOutCallback(nullptr), checker(nullptr), timeout(timeout), func(st… in WatchdogTask()
180 if (timeOutCallback != nullptr) { in EvaluateCheckerState()
181 timeOutCallback(name, waitState); in EvaluateCheckerState()
191 if (timeOutCallback != nullptr) { in EvaluateCheckerState()
192 timeOutCallback(name, waitState); in EvaluateCheckerState()
Dwatchdog_task.h34 TimeOutCallback timeOutCallback, uint64_t interval);
40 timeOutCallback(nullptr), in WatchdogTask()
64 TimeOutCallback timeOutCallback; variable
Dwatchdog.cpp31 TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() argument
33 return WatchdogInner::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread()
Dwatchdog_inner.h42 TimeOutCallback timeOutCallback, uint64_t interval);
Dwatchdog_inner.cpp93 …std::shared_ptr<AppExecFwk::EventHandler> handler, TimeOutCallback timeOutCallback, uint64_t inter… in AddThread() argument
109 if (!InsertWatchdogTaskLocked(name, WatchdogTask(name, handler, timeOutCallback, interval))) { in AddThread()
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dwatchdog_interface_test.cpp101 auto timeOutCallback = [](const std::string &name, int waitState) { in __anona24dcad40302() variable
104 … int result = Watchdog::GetInstance().AddThread("WindowManagerService", handler, timeOutCallback);
166 auto timeOutCallback = [](const std::string &name, int waitState) { in __anona24dcad40602() variable
169 int result = Watchdog::GetInstance().AddThread("TestBlock70s", handler, timeOutCallback);
206 auto timeOutCallback = [](const std::string &name, int waitState) { in __anona24dcad40802() variable
209 …int result = Watchdog::GetInstance().AddThread("TestBlock20", handler, timeOutCallback, checkPerio…
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/
Dwatchdog.h43 TimeOutCallback timeOutCallback = nullptr, uint64_t interval = WATCHDOG_TIMEVAL);