/external/perfetto/src/base/ |
D | watchdog_posix.cc | 94 Watchdog::Watchdog(uint32_t polling_interval_ms) in Watchdog() function in perfetto::base::Watchdog 97 Watchdog::~Watchdog() { in ~Watchdog() 117 Watchdog* Watchdog::GetInstance() { in GetInstance() 118 static Watchdog* watchdog = new Watchdog(kDefaultPollingInterval); in GetInstance() 123 Watchdog::Timer Watchdog::CreateFatalTimer(uint32_t ms, in CreateFatalTimer() 126 return Watchdog::Timer(this, 0, crash_reason); in CreateFatalTimer() 128 return Watchdog::Timer(this, ms, crash_reason); in CreateFatalTimer() 132 void Watchdog::AddFatalTimer(TimerData timer) { in AddFatalTimer() 139 void Watchdog::RemoveFatalTimer(TimerData timer) { in RemoveFatalTimer() 150 void Watchdog::RearmTimerFd_Locked() { in RearmTimerFd_Locked() [all …]
|
D | watchdog_unittest.cc | 41 class TestWatchdog : public Watchdog { 44 : Watchdog(polling_interval_ms) { in TestWatchdog() 70 std::map<int, Watchdog::Timer> timers; in TEST()
|
/external/perfetto/include/perfetto/ext/base/ |
D | watchdog_posix.h | 44 class Watchdog { 69 friend class Watchdog; 71 explicit Timer(Watchdog*, uint32_t ms, WatchdogCrashReason); 77 Watchdog* watchdog_ = nullptr; 80 virtual ~Watchdog(); 82 static Watchdog* GetInstance(); 147 Watchdog(const Watchdog&) = delete; 148 Watchdog& operator=(const Watchdog&) = delete; 149 Watchdog(Watchdog&&) = delete; 150 Watchdog& operator=(Watchdog&&) = delete; [all …]
|
D | watchdog_noop.h | 27 class Watchdog { 36 static Watchdog* GetInstance() { in GetInstance() 37 static Watchdog* watchdog = new Watchdog(); in GetInstance()
|
D | watchdog.h | 65 Watchdog::Timer handle = base::Watchdog::GetInstance()->CreateFatalTimer( in RunTaskWithWatchdogGuard()
|
/external/cronet/base/threading/ |
D | watchdog.cc | 42 Watchdog::Watchdog(const TimeDelta& duration, in Watchdog() function in base::Watchdog 62 Watchdog::~Watchdog() { in ~Watchdog() 70 void Watchdog::Cleanup() { in Cleanup() 78 bool Watchdog::IsJoinable() { in IsJoinable() 85 void Watchdog::Arm() { in Arm() 89 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { in ArmSomeTimeDeltaAgo() 94 void Watchdog::ArmAtStartTime(const TimeTicks start_time) { in ArmAtStartTime() 104 void Watchdog::Disarm() { in Disarm() 111 void Watchdog::Alarm() { in Alarm() 119 void Watchdog::DefaultAlarm() { in DefaultAlarm() [all …]
|
D | watchdog.h | 33 class BASE_EXPORT Watchdog { 46 Watchdog(const TimeDelta& duration, 51 Watchdog(const Watchdog&) = delete; 52 Watchdog& operator=(const Watchdog&) = delete; 54 ~Watchdog(); 85 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) { in ThreadDelegate() 92 raw_ptr<Watchdog> watchdog_;
|
D | watchdog_unittest.cc | 22 class WatchdogCounter : public Watchdog::Delegate { 39 Watchdog& watchdog() { return watchdog_; } in watchdog() 44 Watchdog watchdog_; 49 void SetUp() override { Watchdog::ResetStaticData(); } in SetUp() 59 Watchdog watchdog1(Milliseconds(300), "Disabled", false); in TEST_F() 60 Watchdog watchdog2(Milliseconds(300), "Enabled", true); in TEST_F() 65 Watchdog watchdog1(Milliseconds(300), "Disabled", false); in TEST_F() 71 Watchdog watchdog2(Milliseconds(300), "Enabled", true); in TEST_F()
|
/external/libchrome/base/threading/ |
D | watchdog.cc | 42 Watchdog::Watchdog(const TimeDelta& duration, in Watchdog() function in base::Watchdog 61 Watchdog::~Watchdog() { in ~Watchdog() 69 void Watchdog::Cleanup() { in Cleanup() 77 bool Watchdog::IsJoinable() { in IsJoinable() 84 void Watchdog::Arm() { in Arm() 88 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { in ArmSomeTimeDeltaAgo() 93 void Watchdog::ArmAtStartTime(const TimeTicks start_time) { in ArmAtStartTime() 103 void Watchdog::Disarm() { in Disarm() 110 void Watchdog::Alarm() { in Alarm() 117 void Watchdog::ThreadDelegate::ThreadMain() { in ThreadMain() [all …]
|
D | watchdog_unittest.cc | 21 class WatchdogCounter : public Watchdog { 26 : Watchdog(duration, thread_watched_name, enabled), in WatchdogCounter() 34 Watchdog::Alarm(); in Alarm() 47 void SetUp() override { Watchdog::ResetStaticData(); } in SetUp() 57 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F() 58 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F() 63 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F() 69 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F()
|
D | watchdog.h | 33 class BASE_EXPORT Watchdog { 36 Watchdog(const TimeDelta& duration, 39 virtual ~Watchdog(); 67 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) { in ThreadDelegate() 74 Watchdog* watchdog_; 91 DISALLOW_COPY_AND_ASSIGN(Watchdog);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Watchdog.h | 25 class Watchdog { 27 Watchdog(unsigned int seconds); 28 ~Watchdog(); 31 Watchdog(const Watchdog &other) = delete; 32 Watchdog &operator=(const Watchdog &other) = delete;
|
/external/llvm/include/llvm/Support/ |
D | Watchdog.h | 26 class Watchdog { 28 Watchdog(unsigned int seconds); 29 ~Watchdog(); 32 Watchdog(const Watchdog &other) = delete; 33 Watchdog &operator=(const Watchdog &other) = delete;
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Watchdog.inc | 1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===// 10 // This file provides the generic Unix implementation of the Watchdog class. 20 Watchdog::Watchdog(unsigned int seconds) { 26 Watchdog::~Watchdog() {
|
/external/llvm/lib/Support/Unix/ |
D | Watchdog.inc | 1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===// 10 // This file provides the generic Unix implementation of the Watchdog class. 20 Watchdog::Watchdog(unsigned int seconds) { 26 Watchdog::~Watchdog() {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Watchdog.inc | 1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===// 9 // This file provides the generic Unix implementation of the Watchdog class. 21 Watchdog::Watchdog(unsigned int seconds) { 27 Watchdog::~Watchdog() {
|
/external/llvm/lib/Support/Windows/ |
D | Watchdog.inc | 1 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===// 10 // This file provides the generic Windows implementation of the Watchdog class. 21 Watchdog::Watchdog(unsigned int seconds) {} 22 Watchdog::~Watchdog() {}
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
D | Watchdog.inc | 1 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===// 9 // This file provides the generic Windows implementation of the Watchdog class. 20 Watchdog::Watchdog(unsigned int seconds) {} 21 Watchdog::~Watchdog() {}
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | AsyncTimeout.java | 77 new Watchdog().start(); in scheduleTimeout() 277 private static final class Watchdog extends Thread { 278 public Watchdog() {
|
/external/pigweed/pw_rpc/py/tests/console_tools/ |
D | watchdog_test.py | 20 from pw_rpc.console_tools import Watchdog 31 self._watchdog = Watchdog(
|
/external/perfetto/src/traced/probes/ |
D | probes.cc | 95 base::Watchdog* watchdog = base::Watchdog::GetInstance(); in ProbesMain()
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | AsyncTimeout.java | 79 new Watchdog().start(); in scheduleTimeout() 279 private static final class Watchdog extends Thread { 280 public Watchdog() {
|
/external/perfetto/src/traced/service/ |
D | service.cc | 221 base::Watchdog* watchdog = base::Watchdog::GetInstance(); in ServiceMain()
|
/external/pigweed/pw_rpc/py/pw_rpc/console_tools/ |
D | __init__.py | 24 from pw_rpc.console_tools.watchdog import Watchdog
|
/external/okio/okio/src/jvmMain/kotlin/okio/ |
D | AsyncTimeout.kt | 173 private class Watchdog internal constructor() : Thread("Okio Watchdog") { class in okio.AsyncTimeout 231 Watchdog().start() in scheduleTimeout()
|