OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:watchdog
(Results
1 - 25
of
263
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/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) = delete;
33
Watchdog
&operator=(const
Watchdog
&other) = delete
[
all
...]
/external/llvm/lib/Support/Unix/
Watchdog.inc
1
//===--- Unix/
Watchdog
.inc - Unix
Watchdog
Implementation -------*- C++ -*-===//
10
// This file provides the generic Unix implementation of the
Watchdog
class.
20
Watchdog
::
Watchdog
(unsigned int seconds) {
26
Watchdog
::~
Watchdog
() {
/external/chromium-trace/catapult/devil/devil/utils/
watchdog_timer.py
11
"""A resetable timeout-based
watchdog
.
17
"""Initializes the
watchdog
.
30
"""Returns the elapsed time of the
watchdog
."""
34
"""Returns the remaining time of the
watchdog
."""
41
"""Whether the
watchdog
has timed out.
44
True if the
watchdog
has timed out, False otherwise.
/external/llvm/lib/Support/Windows/
Watchdog.inc
1
//===--- Windows/
Watchdog
.inc - Windows
Watchdog
Implementation -*- C++ -*-===//
10
// This file provides the generic Windows implementation of the
Watchdog
class.
21
Watchdog
::
Watchdog
(unsigned int seconds) {}
22
Watchdog
::~
Watchdog
() {}
/external/autotest/server/site_tests/firmware_ECWatchdog/
control
9
PURPOSE = "Servo based EC
watchdog
test"
10
CRITERIA = "This test will fail if EC
watchdog
misbehalved."
20
This test check if EC
watchdog
is functioning correctly.
firmware_ECWatchdog.py
13
Servo based EC
watchdog
test.
18
# Delay of spin-wait in ms. Should be long enough to trigger
watchdog
reset.
33
Trigger a
watchdog
reset.
45
logging.info("Trigger a
watchdog
reset and power on system again.")
/external/llvm/lib/Support/
Watchdog.cpp
1
//===----
Watchdog
.cpp - Implement
Watchdog
---------------------*- C++ -*-===//
10
// This file implements the
Watchdog
class.
14
#include "llvm/Support/
Watchdog
.h"
19
#include "Unix/
Watchdog
.inc"
22
#include "Windows/
Watchdog
.inc"
/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
...]
/device/htc/flounder/
init.recovery.flounder.rc
5
# Set
watchdog
timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
/external/autotest/client/virt/tests/
watchdog.py
8
Configure
watchdog
, crash the guest and check if watchdog_action occurs.
18
watchdog_enable_cmd = "chkconfig
watchdog
on && service
watchdog
start"
38
logging.info("Enabling
watchdog
service...")
/external/autotest/server/site_tests/platform_HWwatchdog/
platform_HWwatchdog.py
5
# This test isn't really HW specific. It's testing /dev/
watchdog
API
19
"""Test to make sure that /dev/
watchdog
will reboot the system."""
24
# HW
watchdog
is open and closed "properly".
32
# Test the machine will reboot if HW
watchdog
is open but NOT pet.
39
logging.info("KernelHWpath: tickled
watchdog
on %s (%ds to reboot)",
59
# If daisydog is running, stop it so we can use /dev/
watchdog
61
"""If running, stop daisydog so we can use /dev/
watchdog
."""
70
secs = re.findall(r'HW
watchdog
interval is (\d*) seconds', output)[0]
75
wd_dev = '/dev/
watchdog
'
77
# If
watchdog
not present, just skip this tes
[
all
...]
control
15
This test uses the hardware
watchdog
interface to make sure a machine
/external/kernel-headers/original/uapi/linux/
watchdog.h
2
* Generic
watchdog
defines. Derived from..
4
* Berkshire PC
Watchdog
Defines
48
#define WDIOF_ALARMONLY 0x0400 /*
Watchdog
triggers a management or
52
#define WDIOS_DISABLECARD 0x0001 /* Turn off the
watchdog
timer */
53
#define WDIOS_ENABLECARD 0x0002 /* Turn on the
watchdog
timer */
/cts/common/device-side/util/src/com/android/compatibility/common/util/
WatchDog.java
28
public class
WatchDog
implements Runnable {
29
private static final String TAG =
WatchDog
.class.getSimpleName();
36
public
WatchDog
(long timeoutInMilliSecs) {
40
public
WatchDog
(long timeoutInMilliSecs, TimeoutCallback callback) {
84
Assert.assertTrue("
Watchdog
timed-out", success);
96
* Called by the
Watchdog
when it has timed out.
/cts/libs/deviceutil/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.
/external/deqp/android/cts/master/
mustpass.xml
22
<Configuration caseListFile="egl-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
25
<Configuration caseListFile="gles2-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
28
<Configuration caseListFile="gles3-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
29
<Configuration caseListFile="gles3-rotate-portrait.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=0 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-portrait"/>
30
<Configuration caseListFile="gles3-rotate-landscape.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=90 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-landscape"/>
31
<Configuration caseListFile="gles3-rotate-reverse-portrait.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=180 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-reverse-portrait"/>
32
<Configuration caseListFile="gles3-rotate-reverse-landscape.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=270 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-reverse-landscape"/>
33
<Configuration caseListFile="gles3-multisample.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms4 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="multisample"/>
34
<Configuration caseListFile="gles3-565-no-depth-no-stencil.txt" commandLine="--deqp-gl-config-name=rgb565d0s0ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="565-no-depth-no-stencil"/>
37
<Configuration caseListFile="gles31-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/
[
all
...]
/device/asus/fugu/
init.recovery.fugu.rc
14
# Reset the
watchdog
counter once boot is completed
16
write /sys/devices/virtual/misc/
watchdog
/counter "0"
/external/deqp/android/cts/mnc/
mustpass.xml
22
<Configuration caseListFile="egl-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
25
<Configuration caseListFile="gles2-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
28
<Configuration caseListFile="gles3-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/>
29
<Configuration caseListFile="gles3-rotate-portrait.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=0 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-portrait"/>
30
<Configuration caseListFile="gles3-rotate-landscape.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=90 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-landscape"/>
31
<Configuration caseListFile="gles3-rotate-reverse-portrait.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=180 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-reverse-portrait"/>
32
<Configuration caseListFile="gles3-rotate-reverse-landscape.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=270 --deqp-surface-type=window --deqp-
watchdog
=enable" name="rotate-reverse-landscape"/>
33
<Configuration caseListFile="gles3-multisample.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms4 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="multisample"/>
34
<Configuration caseListFile="gles3-565-no-depth-no-stencil.txt" commandLine="--deqp-gl-config-name=rgb565d0s0ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="565-no-depth-no-stencil"/>
37
<Configuration caseListFile="gles31-master.txt" commandLine="--deqp-gl-config-name=rgba8888d24s8ms0 --deqp-screen-rotation=unspecified --deqp-surface-type=window --deqp-
watchdog
=enable" name="master"/
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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 */
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/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 */
/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/helgrind/tests/
tc18_semabuse.c
47
void*
watchdog
( void* v )
function
50
fprintf(stderr, "
watchdog
timer expired - not a good sign\n");
58
r= pthread_create(&t, NULL,
watchdog
, NULL);
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
GLPrimitiveActivity.java
18
import android.cts.util.
WatchDog
;
114
private class Worker extends Thread implements
WatchDog
.TimeoutCallback {
116
private
WatchDog
watchDog
;
129
// Creates a
watchdog
to ensure a iteration doesn't exceed the timeout.
130
watchDog
= new
WatchDog
(mTimeout, this);
139
watchDog
.start();
142
watchDog
.stop();
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
GLGameActivity.java
19
import android.cts.util.
WatchDog
;
100
private class Worker extends Thread implements
WatchDog
.TimeoutCallback {
102
private
WatchDog
watchDog
;
117
// Creates a
watchdog
to ensure a iteration doesn't exceed the timeout.
118
watchDog
= new
WatchDog
(mTimeout, this);
119
watchDog
.start();
134
watchDog
.stop();
/external/compiler-rt/test/tsan/
fork_deadlock.cc
16
static void *
watchdog
(void *p) {
function
27
pthread_create(&th2, 0,
watchdog
, 0);
Completed in 3452 milliseconds
1
2
3
4
5
6
7
8
9
10
11