Searched refs:Watchdog (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hicollie/frameworks/native/ |
D | watchdog.cpp | 22 Watchdog::Watchdog() in Watchdog() function in OHOS::HiviewDFX::Watchdog 26 Watchdog::~Watchdog() in ~Watchdog() 30 int Watchdog::AddThread(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, in AddThread() 36 int Watchdog::AddThread(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler,… in AddThread() 41 void Watchdog::RunOneShotTask(const std::string& name, Task&& task, uint64_t delay) in RunOneShotTask() 46 void Watchdog::RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t … in RunPeriodicalTask() 51 void Watchdog::StopWatchdog() in StopWatchdog() 56 void Watchdog::InitFfrtWatchdog() in InitFfrtWatchdog()
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
D | watchdog_interface_test.cpp | 68 g_ret += Watchdog::GetInstance().AddThread("DoAddWatchThread", handler); in DoAddWatchThread() 83 Watchdog::GetInstance().InitFfrtWatchdog(); 104 … int result = Watchdog::GetInstance().AddThread("WindowManagerService", handler, timeOutCallback); 132 int ret = Watchdog::GetInstance().AddThread("BLOCK2S", handler, checkPeriod); 136 Watchdog::GetInstance().RunOneShotTask("block", taskFunc); 169 int result = Watchdog::GetInstance().AddThread("TestBlock70s", handler, timeOutCallback); 209 …int result = Watchdog::GetInstance().AddThread("TestBlock20", handler, timeOutCallback, checkPerio… 214 …int result2 = Watchdog::GetInstance().AddThread("TestBlock20_1", handler, timeOutCallback1, checkP… 244 …int result = Watchdog::GetInstance().AddThread("HiCollieTestBlock10_0", handler, nullptr, checkPer… 245 …int result2 = Watchdog::GetInstance().AddThread("HiCollieTestBlock10_2", handler, nullptr, checkPe… [all …]
|
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/ |
D | watchdog.h | 27 class Watchdog : public Singleton<Watchdog> { 28 DECLARE_SINGLETON(Watchdog);
|
/base/notification/distributed_notification_service/frameworks/core/common/src/ |
D | ans_watchdog.cpp | 27 if (Singleton<HiviewDFX::Watchdog>::GetInstance().AddThread(threadName, handler) != 0) { in AddHandlerThread()
|