• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 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 #ifndef PLATFORM_QUEUE_TEST_H
10 #define PLATFORM_QUEUE_TEST_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 enum PlatformQueueTestCmd {
17     PLAT_QUEUE_TEST_ADD_AND_WAIT = 0,
18     PLAT_QUEUE_TEST_SUSPEND_AND_RESUME = 1,
19     PLAT_QUEUE_TEST_RELIABILITY = 2,
20     PLAT_QUEUE_TEST_CMD_MAX,
21 };
22 
23 int PlatformQueueTestExecute(int cmd);
24 void PlatformQueueTestExecuteAll(void);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 #endif /* PLATFORM_QUEUE_TEST_H */
30