Home
last modified time | relevance | path

Searched refs:timeoutSet (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/startup/init/watchdog/
H A Dinit_watchdog.c115 int timeoutSet = interval + gap; in main() local
118 int ret = ioctl(fd, WDIOC_SETTIMEOUT, &timeoutSet); in main()
120 INIT_LOGE("Failed to set timeout to %d\n", timeoutSet); in main()
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dwatchdog_test.c118 ret = WatchdogSetTimeout(tester->handle, tester->config.timeoutSet); in TestCaseWatchdogSetGetTimeout()
128 if (tester->config.timeoutSet != timeoutGet) { in TestCaseWatchdogSetGetTimeout()
129 …HDF_LOGE("TestCaseWatchdogSetGetTimeout: set:%u, but get:%u!", tester->config.timeoutSet, timeoutG… in TestCaseWatchdogSetGetTimeout()
247 (void)WatchdogSetTimeout(NULL, tester->config.timeoutSet); in TestCaseWatchdogReliability()
H A Dwatchdog_test.h30 uint32_t timeoutSet; member
H A Dwatchdog_driver_test.c60 ret = drsOps->GetUint32(node, "timeoutSet", &config->timeoutSet, 0); in WatchdogTestReadConfig()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/
H A Dnativewindow_fuzzer.cpp75 int32_t timeoutSet = GetData<int32_t>(); in HandleOpt() local
76 OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, timeoutSet); in HandleOpt()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dnative_window_test.cpp371 int32_t timeoutSet = 10; // 10: for test variable
372 …ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, timeoutSet), OHOS::GSERROR_OK);
377 ASSERT_EQ(timeoutSet, timeoutGet);
598 int32_t timeoutSet = 10; // 10: for test in SetNativeWindowConfig() local
599 …ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, timeoutSet), OHOS::GSERROR_OK); in SetNativeWindowConfig()