• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 
9 #include "hdf_log.h"
10 #include "watchdog_if.h"
11 
WatchdogBark(DevHandle handle)12 int32_t WatchdogBark(DevHandle handle)
13 {
14     (void)handle;
15     HDF_LOGI("WatchdogBark: success!");
16     return HDF_SUCCESS;
17 }
18 
WatchdogEnable(DevHandle handle,bool enable)19 int32_t WatchdogEnable(DevHandle handle, bool enable)
20 {
21     (void)enable;
22     (void)handle;
23     HDF_LOGI("WatchdogEnable: success!");
24     return HDF_SUCCESS;
25 }
26 
WatchdogGetEnable(DevHandle handle,bool * enable)27 int32_t WatchdogGetEnable(DevHandle handle, bool *enable)
28 {
29     (void)enable;
30     (void)handle;
31     HDF_LOGI("WatchdogGetEnable: success!");
32     return HDF_SUCCESS;
33 }
34