HomeSort by relevance Sort by last modified time
    Searched full:watchdog (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /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.cc 5 #include "base/threading/watchdog.h"
14 Watchdog::Watchdog(const TimeDelta& duration,
32 // Notify watchdog thread, and wait for it to finish up.
33 Watchdog::~Watchdog() {
44 void Watchdog::Arm() {
48 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) {
52 // Start clock for watchdog.
53 void Watchdog::ArmAtStartTime(const TimeTicks start_time)
    [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...]
  /device/samsung/manta/
init.recovery.manta.rc 4 # Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
  /external/kernel-headers/original/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 */
61 /** struct watchdog_ops - The watchdog-devices operations
64 * @start: The routine for starting the watchdog device.
65 * @stop: The routine for stopping the watchdog device.
66 * @ping: The routine that sends a keepalive ping to the watchdog device.
67 * @status: The routine that shows the status of the watchdog device.
68 * @set_timeout:The routine for setting the watchdog devices timeout value
    [all...]
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/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 */
  /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...]
  /cts/libs/util/src/android/cts/util/
WatchDog.java 29 public class WatchDog implements Runnable {
30 private static final String TAG = "WatchDog";
37 public WatchDog(long timeoutInMilliSecs) {
41 public WatchDog(long timeoutInMilliSecs, TimeoutCallback callback) {
85 Assert.assertTrue("Watchdog timed-out", success);
97 * Called by the Watchdog when it has timed out.
  /prebuilts/gcc/linux-x86/host/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? */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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? */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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? */
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
PlanetsSurfaceView.java 20 import android.cts.util.WatchDog;
24 private final WatchDog mWatchDog = new WatchDog(RENDERING_TIMEOUT);
  /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);
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
Profile.java 39 // This is a watchdog entry for one thread.
52 // This is a watchdog thread which dumps stacks of other threads periodically.
53 private static Watchdog sWatchdog = new Watchdog();
55 private static class Watchdog {
62 synchronized (Watchdog.this) {
70 public Watchdog() {
71 mHandlerThread = new HandlerThread("Watchdog Handler",
  /frameworks/base/services/java/com/android/server/
Watchdog.java 52 public class Watchdog extends Thread {
53 static final String TAG = "Watchdog";
59 // Set this to true to have the watchdog record kernel thread stacks when it fires
75 static final String REBOOT_ACTION = "com.android.service.Watchdog.REBOOT";
83 static Watchdog sWatchdog;
142 synchronized (Watchdog.this) {
148 synchronized (Watchdog.this) {
187 public static Watchdog getInstance() {
189 sWatchdog = new Watchdog();
195 private Watchdog() {
    [all...]
  /system/core/init/
watchdogd.c 22 #include <linux/watchdog.h>
27 #define DEV_NAME "/dev/watchdog"
  /external/webkit/Tools/DumpRenderTree/chromium/
TestShellMac.mm 40 // A class to be the target/selector of the "watchdog" thread that ensures
102 // Create a watchdog thread which just sets a timer and
105 // message loop. If the watchdog is what catches a
112 WatchDogTarget* watchdog = [[[WatchDogTarget alloc]
114 NSThread* thread = [[NSThread alloc] initWithTarget:watchdog
124 // Tell the watchdog that we're finished. No point waiting to re-join, it'll
  /frameworks/base/wifi/java/android/net/wifi/
RssiPacketCountInfo.java 23 * Bundle of RSSI and packet count information, for WiFi watchdog
  /frameworks/rs/
rsContext.h 181 watchdog.command = cmd;
182 watchdog.file = file;
183 watchdog.line = line;
220 } watchdog; member in class:android::renderscript::Context

Completed in 666 milliseconds

1 2 3 4 5 6 7