/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/compiler-rt/test/tsan/ |
fork_deadlock.cc | 18 static void *watchdog(void *p) { function 28 pthread_create(&th2, 0, watchdog, 0);
|
/external/qemu/hw/watchdog/ |
watchdog.c | 2 * Virtual hardware watchdog. 25 #include "sysemu/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...] |
/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);
|
/external/qemu/include/sysemu/ |
watchdog.h | 2 * Virtual hardware watchdog. 52 extern WatchdogTimerModel *watchdog; 55 /* in hw/watchdog.c */
|
/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) { 180 Watchdog watchdog = new Watchdog(5000) local 265 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);
|
/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 | 194 watchdog.command = cmd; 195 watchdog.file = file; 196 watchdog.line = line; 233 } watchdog; member in class:android::renderscript::Context
|
rsContext.cpp | 119 watchdog.inRoot = true; 121 watchdog.inRoot = false; 495 if (rsc->watchdog.command && rsc->watchdog.file) { 496 ALOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot, 497 rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file); 499 ALOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot) [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsContext.h | 194 watchdog.command = cmd; 195 watchdog.file = file; 196 watchdog.line = line; 233 } watchdog; member in class:android::renderscript::Context
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsContext.h | 194 watchdog.command = cmd; 195 watchdog.file = file; 196 watchdog.line = line; 233 } watchdog; member in class:android::renderscript::Context
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsContext.h | 194 watchdog.command = cmd; 195 watchdog.file = file; 196 watchdog.line = line; 233 } watchdog; member in class:android::renderscript::Context
|
/external/lldb/tools/debugserver/source/MacOSX/ |
MachTask.cpp | 700 CFReleaser<SBSWatchdogAssertionRef> watchdog; local 705 watchdog.reset(::SBSWatchdogAssertionCreateForPID(NULL, pid, 60)); 706 DNBLogThreadedIf(LOG_TASK, "::SBSWatchdogAssertionCreateForPID (NULL, %4.4x, 60 ) => %p", pid, watchdog.get()); 708 if (watchdog.get()) 710 ::SBSWatchdogAssertionRenew (watchdog.get()); 712 CFTimeInterval watchdogRenewalInterval = ::SBSWatchdogAssertionGetRenewalInterval (watchdog.get()); 713 DNBLogThreadedIf(LOG_TASK, "::SBSWatchdogAssertionGetRenewalInterval ( %p ) => %g seconds", watchdog.get(), watchdogRenewalInterval); 808 if (watchdog.get()) 813 DNBLogThreadedIf(LOG_TASK, "SBSWatchdogAssertionRenew ( %p )", watchdog.get()); 814 ::SBSWatchdogAssertionRenew (watchdog.get()) [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/ip32/ |
crime.h | 104 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-12/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-13/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-15/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|
/prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/ip32/ |
crime.h | 104 volatile unsigned long watchdog; member in struct:sgi_crime
|