/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | watchdog_task.cpp | 51 TimeOutCallback timeOutCallback, uint64_t interval) in WatchdogTask() 52 : name(name), task(nullptr), timeOutCallback(timeOutCallback), timeout(0), func(nullptr), in WatchdogTask() 64 : name(name), task(std::move(task)), timeOutCallback(nullptr), checker(nullptr), timeout(0), func(nullptr), in WatchdogTask() 75 : name(name), task(nullptr), timeOutCallback(nullptr), checker(nullptr), timeout(timeout), func(std::move(func)), in WatchdogTask() 87 : name(name), task(nullptr), timeOutCallback(nullptr), timeout(0), func(nullptr), arg(nullptr), flag(0), in WatchdogTask() 307 if (timeOutCallback != nullptr) { in EvaluateCheckerState() 308 timeOutCallback(name, waitState); in EvaluateCheckerState() 321 if (timeOutCallback != nullptr) { in EvaluateCheckerState() 322 timeOutCallback(nam in EvaluateCheckerState() 50 WatchdogTask(std::string name, std::shared_ptr<AppExecFwk::EventHandler> handler, TimeOutCallback timeOutCallback, uint64_t interval) WatchdogTask() argument [all...] |
H A D | watchdog_task.h | 35 TimeOutCallback timeOutCallback, uint64_t interval); 42 timeOutCallback(nullptr), in WatchdogTask() 76 TimeOutCallback timeOutCallback; member in OHOS::HiviewDFX::WatchdogTask
|
H A D | watchdog.cpp | 31 TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() 33 return WatchdogInner::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread() 30 AddThread(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, TimeOutCallback timeOutCallback, uint64_t interval) AddThread() argument
|
H A D | watchdog_inner.h | 67 TimeOutCallback timeOutCallback, uint64_t interval);
|
H A D | watchdog_inner.cpp | 452 std::shared_ptr<AppExecFwk::EventHandler> handler, TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() 469 if (!InsertWatchdogTaskLocked(limitedName, WatchdogTask(limitedName, handler, timeOutCallback, interval))) { in AddThread() 451 AddThread(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, TimeOutCallback timeOutCallback, uint64_t interval) AddThread() argument
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
H A D | watchdog_interface_test.cpp | 106 auto timeOutCallback = [](const std::string &name, int waitState) { in HWTEST_F() local 109 int result = Watchdog::GetInstance().AddThread("TestBlock70s", handler, timeOutCallback); in HWTEST_F() 146 auto timeOutCallback = [](const std::string &name, int waitState) { in HWTEST_F() local 149 int result = Watchdog::GetInstance().AddThread("TestBlock20", handler, timeOutCallback, checkPeriod); in HWTEST_F()
|
H A D | watchdog_inner_test.cpp | 357 auto timeOutCallback = [](const std::string &name, int waitState) {
in HWTEST_F() local 358 printf("timeOutCallback name is %s, waitState is %d\n", name.c_str(), waitState);
in HWTEST_F() 360 int result = WatchdogInner::GetInstance().AddThread("AddThread", nullptr, timeOutCallback, 10);
in HWTEST_F()
|
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/ |
H A D | watchdog.h | 41 * @param timeOutCallback, callback when timeout 47 TimeOutCallback timeOutCallback = nullptr, uint64_t interval = WATCHDOG_TIMEVAL);
|