/external/chromium/base/threading/ |
watchdog_unittest.cc | 5 #include "base/threading/watchdog.h" 20 class WatchdogCounter : public Watchdog { 25 : Watchdog(duration, thread_watched_name, enabled), alarm_counter_(0) { 32 Watchdog::Alarm(); 46 Watchdog::ResetStaticData(); 57 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 58 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 63 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 69 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 78 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Enabled", true) [all...] |
watchdog.h | 5 // The Watchdog class creates a second thread that can Alarm if a specific 7 // specified at construction time. The Watchdog may be used many times by 9 // The Watchdog is typically used under a debugger, where the stack traces on 10 // other threads can be examined if/when the Watchdog alarms. 14 // to permanently disable the watchdog. Disabled watchdogs don't even spawn 32 class BASE_API Watchdog { 34 // Constructor specifies how long the Watchdog will wait before alarming. 35 Watchdog(const TimeDelta& duration, 38 virtual ~Watchdog(); 59 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) [all...] |
/external/chromium_org/base/threading/ |
watchdog_unittest.cc | 5 #include "base/threading/watchdog.h" 20 class WatchdogCounter : public Watchdog { 25 : Watchdog(duration, thread_watched_name, enabled), 33 Watchdog::Alarm(); 47 Watchdog::ResetStaticData(); 58 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 59 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 64 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 70 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 79 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Enabled", true) [all...] |
watchdog.h | 5 // The Watchdog class creates a second thread that can Alarm if a specific 7 // specified at construction time. The Watchdog may be used many times by 9 // The Watchdog is typically used under a debugger, where the stack traces on 10 // other threads can be examined if/when the Watchdog alarms. 14 // to permanently disable the watchdog. Disabled watchdogs don't even spawn 32 class BASE_EXPORT Watchdog { 34 // Constructor specifies how long the Watchdog will wait before alarming. 35 Watchdog(const TimeDelta& duration, 38 virtual ~Watchdog(); 40 // Notify watchdog thread to finish up. Sets the state_ to SHUTDOWN [all...] |
/external/qemu/hw/ |
watchdog.c | 2 * Virtual hardware watchdog. 25 #include "hw/watchdog.h" 43 if (watchdog) { 45 "qemu: only one watchdog option may be given\n"); 49 /* -watchdog ? lists available devices and exits cleanly. */ 60 watchdog = model; 65 fprintf(stderr, "Unknown -watchdog device. Supported devices are:\n"); 93 /* This actually performs the "action" once a watchdog has expired, 116 fprintf(stderr, "watchdog: timer fired\n"); 126 if (watchdog) [all...] |
watchdog.h | 2 * Virtual hardware watchdog. 52 extern WatchdogTimerModel *watchdog; 55 /* in hw/watchdog.c */
|
/external/valgrind/main/helgrind/tests/ |
tc18_semabuse.c | 44 void* watchdog ( void* v ) function 47 fprintf(stderr, "watchdog timer expired - not a good sign\n"); 55 r= pthread_create(&t, NULL, watchdog, NULL);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRandomTest.java | 98 * This is a watchdog used to stop the process if it hasn't been pinged 101 * Watchdog w = new Watchdog(10000); // 10 seconds. 102 * w.start(); // start the watchdog. 108 * w.end(); // ask the watchdog to stop. 111 class Watchdog extends Thread { 116 public Watchdog(long timeoutMs) { 175 Watchdog watchdog = new Watchdog(5000) local 260 Watchdog watchdog = new Watchdog(5000); local [all...] |
/system/core/init/ |
watchdogd.c | 22 #include <linux/watchdog.h> 27 #define DEV_NAME "/dev/watchdog"
|
/external/chromium_org/content/gpu/ |
gpu_watchdog_thread.h | 27 // Accessible on watched thread but only modified by watchdog thread. 46 // on the watched thread and checks whether the watchdog is armed. 49 explicit GpuWatchdogTaskObserver(GpuWatchdogThread* watchdog);
|
gpu_watchdog_thread.cc | 27 : base::Thread("Watchdog"), 66 // Acknowledge the watchdog if it has armed itself. The watchdog will not 83 GpuWatchdogThread* watchdog) 84 : watchdog_(watchdog) { 122 // the OnAcknowledge task is run on the watchdog thread. 174 // Post a task to the watchdog thread to exit if the monitored thread does 184 // Use the --disable-gpu-watchdog command line switch to disable this. 204 // If the watchdog woke up significantly behind schedule, disarm and reset 205 // the watchdog check. This is to prevent the watchdog thread from terminatin [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jdepend.jar | |
/frameworks/rs/ |
rsContext.h | 193 watchdog.command = cmd; 194 watchdog.file = file; 195 watchdog.line = line; 232 } watchdog; member in class:android::renderscript::Context
|
rsContext.cpp | 117 watchdog.inRoot = true; 119 watchdog.inRoot = false; 483 if (rsc->watchdog.command && rsc->watchdog.file) { 484 ALOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot, 485 rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file); 487 ALOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot) [all...] |
/bionic/libc/kernel/arch-mips/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/external/chromium_org/content/common/gpu/ |
gpu_channel_manager.h | 65 GpuWatchdog* watchdog,
|
gpu_channel.h | 64 GpuWatchdog* watchdog,
|
gpu_channel_manager.cc | 33 GpuWatchdog* watchdog, 43 watchdog_(watchdog),
|
/external/kernel-headers/original/asm-mips/ip32/ |
crime.h | 89 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|