HomeSort by relevance Sort by last modified time
    Searched refs:Watchdog (Results 1 - 16 of 16) 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...]
  /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";
70 static Watchdog sWatchdog;
130 synchronized (Watchdog.this) {
169 public static Watchdog getInstance() {
171 sWatchdog = new Watchdog();
177 private Watchdog() {
178 super("watchdog");
    [all...]
NativeDaemonConnector.java 39 final class NativeDaemonConnector implements Runnable, Handler.Callback, Watchdog.Monitor {
SystemServer.java 210 Slog.i(TAG, "Init Watchdog");
211 Watchdog.getInstance().init(context, battery, power, alarm,
691 Watchdog.getInstance().start();
    [all...]
NetworkManagementService.java 76 implements Watchdog.Monitor {
160 // Add ourself to the Watchdog monitors.
161 Watchdog.getInstance().addMonitor(this);
    [all...]
MountService.java 93 implements INativeDaemonConnectorCallbacks, Watchdog.Monitor {
    [all...]
PowerManagerService.java 77 implements LocalPowerManager, Watchdog.Monitor {
497 // Add ourself to the Watchdog monitors.
498 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/wm/
InputManager.java 20 import com.android.server.Watchdog;
56 public class InputManager implements Watchdog.Monitor {
142 // Add ourself to the Watchdog monitors.
143 Watchdog.getInstance().addMonitor(this);
WindowManagerService.java 47 import com.android.server.Watchdog;
146 implements Watchdog.Monitor, WindowManagerPolicy.WindowManagerFuncs {
798 // Add ourself to the Watchdog monitors.
799 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 {
161 }, "AttachmentDownloadService Watchdog").start();
409 * Watchdog for downloads; we use this in case we are hanging on a download, which might
471 * set our watchdog alarm
496 Intent alarmIntent = new Intent(context, Watchdog.class);
    [all...]
  /hardware/qcom/media/mm-video/vidc/venc/test/
venc_test.cpp     [all...]
  /frameworks/base/services/java/com/android/server/am/
ActivityManagerService.java 26 import com.android.server.Watchdog;
151 implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback {
    [all...]
  /prebuilt/common/ant/
ant.jar 

Completed in 1405 milliseconds