Searched refs:timeOutCallback (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/hicollie/frameworks/native/ |
D | watchdog_task.cpp | 34 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()
|
D | watchdog_task.h | 34 TimeOutCallback timeOutCallback, uint64_t interval); 40 timeOutCallback(nullptr), in WatchdogTask() 64 TimeOutCallback timeOutCallback; variable
|
D | watchdog.cpp | 31 TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() argument 33 return WatchdogInner::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread()
|
D | watchdog_inner.h | 42 TimeOutCallback timeOutCallback, uint64_t interval);
|
D | watchdog_inner.cpp | 93 …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/ |
D | watchdog_interface_test.cpp | 101 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/ |
D | watchdog.h | 43 TimeOutCallback timeOutCallback = nullptr, uint64_t interval = WATCHDOG_TIMEVAL);
|