/external/chromium/base/ |
watchdog_unittest.cc | 5 // Tests for Watchdog class. 10 #include "base/watchdog.h" 20 class WatchdogCounter : public Watchdog { 25 : Watchdog(duration, thread_watched_name, enabled), alarm_counter_(0) { 32 Watchdog::Alarm(); 46 Watchdog::ResetStaticData(); 56 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 57 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 62 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 68 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "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 29 class Watchdog { 31 // Constructor specifies how long the Watchdog will wait before alarming. 32 Watchdog(const base::TimeDelta& duration, 35 virtual ~Watchdog(); 48 DLOG(INFO) << "Watchdog alarmed for " << thread_watched_name_ [all...] |
watchdog.cc | 5 #include "base/watchdog.h" 17 Watchdog::Watchdog(const TimeDelta& duration, 35 // Notify watchdog thread, and wait for it to finish up. 36 Watchdog::~Watchdog() { 47 void Watchdog::Arm() { 51 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { 55 // Start clock for watchdog. 56 void Watchdog::ArmAtStartTime(const TimeTicks start_time) [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. 54 extern WatchdogTimerModel *watchdog; 57 /* in hw/watchdog.c */
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
watchdog.h | 2 * Generic watchdog defines. Derived from.. 4 * Berkshire PC Watchdog Defines 50 #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */ 51 #define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */
|
ncp_mount.h | 30 __kernel_pid_t wdog_pid; /* Who cares for our watchdog packets? */ 53 long wdog_pid; /* Who cares for our watchdog packets? */
|
rtc.h | 76 #define RTC_WIE_ON _IO('p', 0x0f) /* Watchdog int. enable on */
|
/frameworks/base/services/java/com/android/server/ |
WifiWatchdogService.java | 52 * connects to an access point, the watchdog verifies whether the DNS server is 53 * reachable. If not, the watchdog blacklists the current access point, leading 56 * The watchdog has a few safeguards: 62 * The watchdog checks for connectivity on an access point by ICMP pinging the 63 * DNS. There are settings that allow disabling the watchdog, or tweaking the 66 * The core logic of the watchdog is done on the main watchdog thread. Wi-Fi 68 * watchdog thread's handler. Most (if not all) state is only written to from 84 * The main watchdog thread. 88 * The handler for the main watchdog thread [all...] |
Watchdog.java | 46 public class Watchdog extends Thread { 47 static final String TAG = "Watchdog"; 53 // Set this to true to have the watchdog record kernel thread stacks when it fires 69 static final String REBOOT_ACTION = "com.android.service.Watchdog.REBOOT"; 71 static Watchdog sWatchdog; 131 synchronized (Watchdog.this) { 170 public static Watchdog getInstance() { 172 sWatchdog = new Watchdog(); 178 private Watchdog() { 179 super("watchdog"); [all...] |
/external/kernel-headers/original/linux/ |
ncp_mount.h | 30 __kernel_pid_t wdog_pid; /* Who cares for our watchdog packets? */ 53 long wdog_pid; /* Who cares for our watchdog packets? */ 78 __kernel_pid_t wdog_pid; /* Who cares for our watchdog packets? */
|
miscdevice.h | 15 #define WATCHDOG_MINOR 130 /* Watchdog timer */
|
/external/netperf/ |
netcpu_osx.c | 112 /* watchdog timers such as the udp stream test. We let these */
|
/dalvik/vm/alloc/ |
HeapWorker.c | 119 * read of the watchdog values. 139 * watchdog and just reset the timer. 141 LOGI("Debugger is attached -- suppressing HeapWorker watchdog\n"); 161 LOGI("HeapWorker watchdog expired, raising priority"
|
/frameworks/base/core/jni/ |
android_server_Watchdog.cpp | 107 return AndroidRuntime::registerNativeMethods(env, "com/android/server/Watchdog",
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
dhd_bus.h | 60 /* Watchdog timer function */
|
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/ |
DrvMain.c | 140 TI_HANDLE hWatchdogTimer;/* SM Watchdog timer - expires upon deadlock in Start/Stop/Recovery processes. */ 257 /* Create watchdog timer to detect deadlocks in the DrvMain SM processes. */ 748 /* Destroy the SM watchdog timer */ [all...] |
/external/qemu/ |
qemu-options.hx | [all...] |
/packages/apps/Email/src/com/android/email/service/ |
MailService.java | 73 private static final String EXTRA_DEBUG_WATCHDOG = "com.android.email.intent.extra.WATCHDOG";
246 // pressure, there will be no explicit restart. This is OK; Note that we set a watchdog
247 // alarm before each mailbox check. If the mailbox check never completes, the watchdog
363 * Create a watchdog alarm and set it. This is used in case a mail check fails (e.g. we are
365 * the watchdog will be replaced by the call to reschedule().
|
/external/strace/strace/linux/alpha/ |
ioctlent.h | 310 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 311 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 312 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 313 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 314 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 315 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 316 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 317 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |
/external/strace/strace/linux/hppa/ |
ioctlent.h | 272 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 273 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 274 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 275 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 276 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 277 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 278 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 279 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |
/external/strace/strace/linux/mips/ |
ioctlent.h | 331 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 332 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 333 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 334 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 335 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 336 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 337 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 338 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |
/external/strace/strace/linux/sparc/ |
ioctlent.h | 331 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 332 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 333 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 334 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 335 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 336 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 337 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 338 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |
/external/strace/strace/linux/sparc64/ |
ioctlent.h | 331 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 332 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 333 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 334 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 335 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 336 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 337 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 338 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |
ioctlent2.h | 331 {"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x5700}, 332 {"linux/watchdog.h", "WDIOC_GETSTATUS", 0x5701}, 333 {"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x5702}, 334 {"linux/watchdog.h", "WDIOC_GETTEMP", 0x5703}, 335 {"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x5704}, 336 {"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x5705}, 337 {"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0x5706}, 338 {"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x5707}, [all...] |