/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 | 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) { 175 Watchdog watchdog = new Watchdog(5000) local 260 Watchdog watchdog = new Watchdog(5000); local [all...] |
/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...] |
NativeDaemonConnector.java | 48 final class NativeDaemonConnector implements Runnable, Handler.Callback, Watchdog.Monitor {
|
SystemServer.java | 304 Slog.i(TAG, "Init Watchdog"); 305 Watchdog.getInstance().init(context, battery, power, alarm, [all...] |
NetworkManagementService.java | 90 implements Watchdog.Monitor { 195 // Add ourself to the Watchdog monitors. 196 Watchdog.getInstance().addMonitor(this); [all...] |
MountService.java | 106 implements INativeDaemonConnectorCallbacks, Watchdog.Monitor { [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; 97 implements Watchdog.Monitor, DisplayManagerService.InputManagerFuncs { 267 // Add ourself to the Watchdog monitors. 268 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...] |
/frameworks/base/services/java/com/android/server/power/ |
PowerManagerService.java | 24 import com.android.server.Watchdog; 75 implements Watchdog.Monitor { 408 Watchdog.getInstance().addMonitor(this); [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActivityManagerService.java | 31 import com.android.server.Watchdog; 170 implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback { [all...] |
/hardware/qcom/media/mm-video/vidc/venc/test/ |
venc_test.cpp | [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowManagerService.java | 57 import com.android.server.Watchdog; 173 implements Watchdog.Monitor, WindowManagerPolicy.WindowManagerFuncs, 821 // Add ourself to the Watchdog monitors. 822 Watchdog.getInstance().addMonitor(this); [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 | |
/prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/ |
ant-1.8.0.jar | |