/external/linux-kselftest/tools/testing/selftests/watchdog/ |
Makefile | 2 TEST_GEN_PROGS := watchdog-test
|
watchdog-test.c | 3 * Watchdog Driver Test Program 16 #include <linux/watchdog.h> 35 * the PC Watchdog card to reset its internal timer so it doesn't trigger 59 printf("\nStopping watchdog ticks failed (%d)...\n", errno); 61 printf("\nStopping watchdog ticks...\n"); 68 printf(" -b, --bootstatus Get last boot status (Watchdog/POR)\n"); 69 printf(" -d, --disable Turn off the watchdog timer\n"); 70 printf(" -e, --enable Turn on the watchdog timer\n"); 89 fd = open("/dev/watchdog", O_WRONLY); 92 printf("Watchdog device not enabled.\n") [all...] |
/external/perfetto/src/base/ |
watchdog_noop.cc | 22 Watchdog* Watchdog::GetInstance() { 23 static Watchdog* watchdog = new Watchdog(); local 24 return watchdog;
|
watchdog_unittest.cc | 17 #include "perfetto/base/watchdog.h" 30 class TestWatchdog : public Watchdog { 33 : Watchdog(polling_interval_ms) {} 42 TestWatchdog watchdog(100); 43 auto handle = watchdog.CreateFatalTimer(20); 50 std::map<int, Watchdog::Timer> timers; 53 TestWatchdog watchdog(100); 54 timers.emplace(0, watchdog.CreateFatalTimer(20)); 71 TestWatchdog watchdog(5); 72 watchdog.SetMemoryLimit(8 * 1024 * 1024, 25) [all...] |
watchdog_posix.cc | 30 #error perfetto::base::Watchdog should not be used in Chromium 54 Watchdog::Watchdog(uint32_t polling_interval_ms) 57 Watchdog::~Watchdog() { 72 Watchdog* Watchdog::GetInstance() { 73 static Watchdog* watchdog = new Watchdog(kDefaultPollingInterval) local [all...] |
/external/perfetto/src/traced/probes/ |
probes.cc | 49 // Set the watchdog to kill the process if we average more than 32MB of 51 base::Watchdog* watchdog = base::Watchdog::GetInstance(); local 52 watchdog->SetCpuLimit(75, 30 * 1000); 53 watchdog->SetMemoryLimit(32 * 1024 * 1024, 30 * 1000); 54 watchdog->Start();
|
/external/perfetto/src/traced/service/ |
service.cc | 18 #include "perfetto/base/watchdog.h" 46 // Set the CPU limit and start the watchdog running. The memory limit will 49 base::Watchdog* watchdog = base::Watchdog::GetInstance(); local 50 watchdog->SetCpuLimit(75, 30 * 1000); 51 watchdog->Start();
|
/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/tests/media/src/android/media/cts/ |
MediaRandomTest.java | 100 * This is a watchdog used to stop the process if it hasn't been pinged 103 * Watchdog w = new Watchdog(10000); // 10 seconds. 104 * w.start(); // start the watchdog. 110 * w.end(); // ask the watchdog to stop. 113 class Watchdog extends Thread { 118 public Watchdog(long timeoutMs) { 182 Watchdog watchdog = new Watchdog(5000) local 267 Watchdog watchdog = new Watchdog(5000); local [all...] |
/external/syslinux/com32/gplinclude/dmi/ |
dmi_system.h | 44 uint8_t watchdog; member in struct:__anon36980::__anon36981
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/ |
4-1.c | 55 void *watchdog(void *arg) function 60 printf("watchdog: pthread_cond_destroy() appears to be blocking\n"); 62 perror("watchdog: pthread_cond_signal()"); 82 rc = pthread_create(&watchdog_thread, NULL, watchdog, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/ |
2-1.c | 63 static void *watchdog(void *arg) function 70 printf("watchdog: It appears pthread_barrier_destroy() is blocking\n"); 73 perror("watchdog: pthread_barrier_wait"); 99 printf("main: create watchdog thread\n"); 100 if (pthread_create(&watchdog_thread, NULL, watchdog, NULL) != 0) {
|
/external/autotest/server/site_tests/firmware_EventLog/ |
firmware_EventLog.py | 145 watchdog = WatchdogTester(self.host) 146 if not watchdog.is_supported(): 147 logging.info('No hardware watchdog on this platform, skipping') 150 logging.info('Verifying eventlog behavior with hardware watchdog') 152 with watchdog: 153 watchdog.trigger_watchdog() 156 not self._has_event(r'Hardware watchdog reset')): 157 raise error.TestFail('Did not log hardware watchdog event')
|
/frameworks/rs/ |
rsContext.h | 190 watchdog.command = cmd; 191 watchdog.file = file; 192 watchdog.line = line; 230 } watchdog; member in class:android::renderscript::Context
|
rsContext.cpp | 108 watchdog.inRoot = true; 110 watchdog.inRoot = false; 391 if (rsc->watchdog.command && rsc->watchdog.file) { 392 ALOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot, 393 rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file); 395 ALOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ThreadTest.java | 233 // watchdog to unpark the tread in case it will be parked 236 Thread watchdog = new Thread() { local 248 watchdog.start(); 258 watchdog.interrupt(); 259 watchdog.join();
|
/system/core/init/ |
watchdogd.cpp | 19 #include <linux/watchdog.h> 32 #define DEV_NAME "/dev/watchdog"
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcTag.java | 264 PresenceCheckWatchdog watchdog; local 267 watchdog = mWatchdog; 269 if (watchdog != null) { 270 // Watchdog has already disconnected or will do it 271 watchdog.end(false); 273 watchdog.join();
|
/system/core/bootstat/ |
boot_reason_test.sh | 409 watchdog | watchdog,?* ) ;; 425 *wdog* | *watchdog* ) var="watchdog" ;; 953 kernel_panic | kernel_panic,* | watchdog | watchdog,* ) [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
AttachmentServiceTests.java | 407 final AttachmentService.AttachmentWatchdog watchdog = attachmentService.mWatchdog; local 420 final boolean shouldCancel = watchdog.validateDownloadRequest(dr, 60000, now); 432 final AttachmentService.AttachmentWatchdog watchdog = attachmentService.mWatchdog; local 445 final boolean shouldCancel = watchdog.validateDownloadRequest(dr, 1000, now);
|
/external/testng/src/main/java/org/testng/ |
TestNGAntTask.java | 531 ExecuteWatchdog watchdog= createWatchdog(); local 533 int exitValue= executeAsForked(cmd, watchdog); 534 if(null != watchdog) { 535 wasKilled= watchdog.killedProcess(); 805 * @param watchdog 808 protected int executeAsForked(CommandlineJava cmd, ExecuteWatchdog watchdog) { 810 watchdog); 856 * watchdog instance. [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
mksysctl_openbsd.pl | 77 kern.watchdog
|
zsysctl_openbsd.go | 118 {"kern.watchdog.auto", []_C_int{1, 64, 2}}, 119 {"kern.watchdog.period", []_C_int{1, 64, 1}},
|
/prebuilts/go/linux-x86/src/syscall/ |
mksysctl_openbsd.pl | 77 kern.watchdog
|
zsysctl_openbsd.go | 118 {"kern.watchdog.auto", []_C_int{1, 64, 2}}, 119 {"kern.watchdog.period", []_C_int{1, 64, 1}},
|