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

  /external/chromium/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_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...]
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_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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
Profile.java 38 // This is a watchdog entry for one thread.
51 // This is a watchdog thread which dumps stacks of other threads periodically.
52 private static Watchdog sWatchdog = new Watchdog();
54 private static class Watchdog {
60 synchronized (Watchdog.this) {
68 public Watchdog() {
69 mHandlerThread = new HandlerThread("Watchdog Handler",
  /frameworks/base/services/java/com/android/server/
Watchdog.java 45 public class Watchdog extends Thread {
46 static final String TAG = "Watchdog";
52 // Set this to true to have the watchdog record kernel thread stacks when it fires
68 static final String REBOOT_ACTION = "com.android.service.Watchdog.REBOOT";
76 static Watchdog sWatchdog;
136 synchronized (Watchdog.this) {
175 public static Watchdog getInstance() {
177 sWatchdog = new Watchdog();
183 private Watchdog() {
184 super("watchdog");
    [all...]
NativeDaemonConnector.java 44 final class NativeDaemonConnector implements Runnable, Handler.Callback, Watchdog.Monitor {
SystemServer.java 227 Slog.i(TAG, "Init Watchdog");
228 Watchdog.getInstance().init(context, battery, power, alarm,
    [all...]
NetworkManagementService.java 86 implements Watchdog.Monitor {
172 // Add ourself to the Watchdog monitors.
173 Watchdog.getInstance().addMonitor(this);
    [all...]
MountService.java 97 implements INativeDaemonConnectorCallbacks, Watchdog.Monitor {
    [all...]
PowerManagerService.java 81 implements LocalPowerManager, Watchdog.Monitor {
545 // Add ourself to the Watchdog monitors.
546 Watchdog.getInstance().addMonitor(this);
    [all...]
  /external/chromium/chrome/browser/
jankometer.cc 17 #include "base/threading/watchdog.h"
56 // Provide a special watchdog to make it easy to set the breakpoint on this
58 class JankWatchdog : public base::Watchdog {
63 : Watchdog(duration, thread_watched_name, enabled),
74 Watchdog::Alarm();
  /frameworks/base/services/java/com/android/server/input/
InputManagerService.java 21 import com.android.server.Watchdog;
92 public class InputManagerService extends IInputManager.Stub implements Watchdog.Monitor {
229 // Add ourself to the Watchdog monitors.
230 Watchdog.getInstance().addMonitor(this);
    [all...]
  /packages/apps/Email/src/com/android/email/service/
AttachmentDownloadService.java 64 // How often our watchdog checks for callback timeouts
151 * Watchdog alarm receiver; responsible for making sure that downloads in progress are not
154 public static class Watchdog extends BroadcastReceiver {
162 }, "AttachmentDownloadService Watchdog").start();
409 * Watchdog for downloads; we use this in case we are hanging on a download, which might
435 Log.d(TAG, "Reschedule watchdog...");
475 Intent intent = new Intent(mContext, Watchdog.class);
487 * set our watchdog alarm
    [all...]
  /hardware/qcom/media/mm-video/vidc/venc/test/
venc_test.cpp     [all...]
  /frameworks/base/services/java/com/android/server/wm/
WindowManagerService.java 46 import com.android.server.Watchdog;
157 implements Watchdog.Monitor, WindowManagerPolicy.WindowManagerFuncs {
    [all...]
  /frameworks/base/services/java/com/android/server/am/
ActivityManagerService.java 28 import com.android.server.Watchdog;
161 implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback {
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 

Completed in 2028 milliseconds