HomeSort by relevance Sort by last modified time
    Searched refs:Watchdog (Results 1 - 25 of 35) sorted by null

1 2

  /external/llvm/include/llvm/Support/
Watchdog.h 1 //===--- Watchdog.h - Watchdog timer ----------------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Watchdog class.
26 class Watchdog {
28 Watchdog(unsigned int seconds);
29 ~Watchdog();
32 Watchdog(const Watchdog &other) LLVM_DELETED_FUNCTION;
33 Watchdog &operator=(const Watchdog &other) LLVM_DELETED_FUNCTION
    [all...]
  /external/chromium_org/base/threading/
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...]
watchdog.cc 5 #include "base/threading/watchdog.h"
39 Watchdog::Watchdog(const TimeDelta& duration,
57 // Notify watchdog thread, and wait for it to finish up.
58 Watchdog::~Watchdog() {
67 void Watchdog::Cleanup() {
77 bool Watchdog::IsJoinable() {
84 void Watchdog::Arm() {
88 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta)
    [all...]
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...]
  /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",
  /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...]
  /frameworks/base/services/core/java/com/android/server/
Watchdog.java 47 public class Watchdog extends Thread {
48 static final String TAG = "Watchdog";
54 // Set this to true to have the watchdog record kernel thread stacks when it fires
73 static Watchdog sWatchdog;
170 synchronized (Watchdog.this) {
176 synchronized (Watchdog.this) {
198 public static Watchdog getInstance() {
200 sWatchdog = new Watchdog();
206 private Watchdog() {
207 super("watchdog");
    [all...]
NativeDaemonConnector.java 50 final class NativeDaemonConnector implements Runnable, Handler.Callback, Watchdog.Monitor {
NetworkManagementService.java 109 implements Watchdog.Monitor {
258 // Add ourself to the Watchdog monitors.
259 Watchdog.getInstance().addMonitor(this);
    [all...]
MountService.java 117 implements INativeDaemonConnectorCallbacks, Watchdog.Monitor {
    [all...]
  /external/llvm/lib/Support/
PrettyStackTrace.cpp 22 #include "llvm/Support/Watchdog.h"
39 sys::Watchdog W(5);
Android.mk 81 Watchdog.cpp \
  /external/chromium_org/chrome/browser/
jankometer_win.cc 19 #include "base/threading/watchdog.h"
55 // Provide a special watchdog to make it easy to set the breakpoint on this
57 class JankWatchdog : public base::Watchdog {
62 : Watchdog(duration, thread_watched_name, enabled),
73 Watchdog::Alarm();
  /external/chromium_org/chrome/browser/metrics/
thread_watcher.h 5 // This file defines a WatchDog thread that monitors the responsiveness of other
59 #include "base/threading/watchdog.h"
197 // Watched thread does nothing except post callback_task to the WATCHDOG
295 // use this during ping-pong messaging between WatchDog thread and watched
565 // They return true iff the watchdog thread existed and the task was posted.
604 // Watchdog thread.
619 base::Watchdog* startup_watchdog_;
642 base::Watchdog* shutdown_watchdog_;
thread_watcher.cc 916 class StartupWatchDogThread : public base::Watchdog {
921 : base::Watchdog(duration, "Startup watchdog thread", true) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/media/projection/
MediaProjectionManagerService.java 19 import com.android.server.Watchdog;
62 implements Watchdog.Monitor {
87 Watchdog.getInstance().addMonitor(this);
  /frameworks/base/services/core/java/com/android/server/media/
MediaSessionService.java 62 import com.android.server.Watchdog;
63 import com.android.server.Watchdog.Monitor;
112 Watchdog.getInstance().addMonitor(this);
    [all...]
MediaRouterService.java 19 import com.android.server.Watchdog;
65 implements Watchdog.Monitor {
94 Watchdog.getInstance().addMonitor(this);
    [all...]
  /frameworks/base/services/java/com/android/server/
SystemServer.java 466 Slog.i(TAG, "Init Watchdog");
467 final Watchdog watchdog = Watchdog.getInstance(); local
468 watchdog.init(context, mActivityManagerService);
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/apache/commons/commons-exec/1.2/
commons-exec-1.2.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-exec/1.1/
commons-exec-1.1.jar 
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 24 import com.android.server.Watchdog;
104 implements Watchdog.Monitor {
286 // Add ourself to the Watchdog monitors.
287 Watchdog.getInstance().addMonitor(this);
    [all...]
  /frameworks/base/services/core/java/com/android/server/power/
PowerManagerService.java 28 import com.android.server.Watchdog;
81 implements Watchdog.Monitor {
464 Watchdog.getInstance().addMonitor(this);
465 Watchdog.getInstance().addThread(mHandler);
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
ActivityManagerService.java 29 import static com.android.server.Watchdog.NATIVE_STACKS_OF_INTEREST;
81 import com.android.server.Watchdog;
233 implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback {
    [all...]
ActivityStack.java 48 import com.android.server.Watchdog;
    [all...]

Completed in 454 milliseconds

1 2