12d4d9a4dSopenharmony_ci/* 22d4d9a4dSopenharmony_ci * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 32d4d9a4dSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 42d4d9a4dSopenharmony_ci * you may not use this file except in compliance with the License. 52d4d9a4dSopenharmony_ci * You may obtain a copy of the License at 62d4d9a4dSopenharmony_ci * 72d4d9a4dSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 82d4d9a4dSopenharmony_ci * 92d4d9a4dSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 102d4d9a4dSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 112d4d9a4dSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 122d4d9a4dSopenharmony_ci * See the License for the specific language governing permissions and 132d4d9a4dSopenharmony_ci * limitations under the License. 142d4d9a4dSopenharmony_ci */ 152d4d9a4dSopenharmony_ci 162d4d9a4dSopenharmony_ci#ifndef OHOS_DINPUT_ERRCODE_H 172d4d9a4dSopenharmony_ci#define OHOS_DINPUT_ERRCODE_H 182d4d9a4dSopenharmony_ci 192d4d9a4dSopenharmony_ci#include <cstdint> 202d4d9a4dSopenharmony_ci 212d4d9a4dSopenharmony_cinamespace OHOS { 222d4d9a4dSopenharmony_cinamespace DistributedHardware { 232d4d9a4dSopenharmony_cinamespace DistributedInput { 242d4d9a4dSopenharmony_ci constexpr int32_t DH_SUCCESS = 0; 252d4d9a4dSopenharmony_ci 262d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_EPOLL_INIT_FAIL = -60000; 272d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_EPOLL_WAIT_TIMEOUT = -60001; 282d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_OPEN_DEVICEPATH_FAIL = -60002; 292d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_QUERY_INPUT_DEVICE_INFO_FAIL = -60003; 302d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_MAKE_DEVICE_FAIL = -60004; 312d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_UNREGISTER_FD_FAIL = -60005; 322d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_GET_EVENT_FAIL = -60006; 332d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_DEVICE_ENABLE_FAIL = -60007; 342d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HUB_IS_VIRTUAL_DEVICE = -60008; 352d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_DLOPEN_FAIL = -60009; 362d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_DLSYM_FAIL = -60010; 372d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_LOW_LATENCY_LIB_NULL = -60011; 382d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CONTEXT_KEY_NOT_EXIST = -60012; 392d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CONTEXT_CALCULATE_FAIL = -60013; 402d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_JSON_PARSE_FAIL = -60014; 412d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_REGISTER_DEATH_FAIL = -60015; 422d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_UNREGISTER_DEATH_FAIL = -60016; 432d4d9a4dSopenharmony_ci 442d4d9a4dSopenharmony_ci // whilte list error code 452d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_WHILTELIST_INIT_FAIL = -61001; 462d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_WHILTELIST_GET_WHILTELIST_FAIL = -61002; 472d4d9a4dSopenharmony_ci 482d4d9a4dSopenharmony_ci // handler error code 492d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HANDLER_GET_DEVICE_ID_FAIL = -63000; 502d4d9a4dSopenharmony_ci 512d4d9a4dSopenharmony_ci // service sink error code 522d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_COLLECTOR_INIT_FAIL = -64000; 532d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_MANAGER_INIT_FAIL = -64001; 542d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_START_SWITCH_FAIL = -64002; 552d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_GET_OPEN_SESSION_FAIL = -64003; 562d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_INIT_FAIL = -64004; 572d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_RESPPREPARE_FAIL = 64005; 582d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_RESPUNPREPARE_FAIL = -64006; 592d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_RESPSTART_FAIL = -64007; 602d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_RESPSTOP_FAIL = -64008; 612d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_SENDMESSAGE_FAIL = -64009; 622d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_RESP_LATENCY_FAIL = -64010; 632d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_SCREEN_INFO_IS_EMPTY = -64011; 642d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANSPORT_GET_SESSIONID_FAIL = -64012; 652d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANS_START_FAIL = -64013; 662d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_TRANS_STOP_FAIL = -64014; 672d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_MANAGER_START_MSG_IS_BAD = -64015; 682d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_MANAGER_STOP_MSG_IS_BAD = -64016; 692d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_MANAGER_RELEASE_FAIL = -64017; 702d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SINK_MANAGER_IS_NULL = -64018; 712d4d9a4dSopenharmony_ci // service source error code 722d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_INJECT_REGISTER_FAIL = -65000; 732d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_INJECT_UNREGISTER_FAIL = -65001; 742d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_INJECT_PREPARE_FAIL = -65002; 752d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_INJECT_NODE_MANAGER_IS_NULL = -65003; 762d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_OPEN_DEVICE_NODE_FAIL = -65004; 772d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_CREATE_HANDLE_FAIL = -65005; 782d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_CLOSE_DEVICE_FAIL = -65006; 792d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_GET_DEVICE_FAIL = -65007; 802d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_INIT_FAIL = -65008; 812d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_RELEASE_FAIL = -65009; 822d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_REGISTER_FAIL = -65010; 832d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_UNREGISTER_FAIL = -65011; 842d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_REMOVE_INPUT_NODE_FAIL = -65012; 852d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_DELETE_DEVICE_FAIL = -65013; 862d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_PREPARE_FAIL = -65014; 872d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_UNPREPARE_FAIL = -65015; 882d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_START_FAIL = -65016; 892d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_STOP_FAIL = -65017; 902d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_INIT_FAIL = -65018; 912d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_DEVICE_SESSION_STATE = -65019; 922d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_OPEN_SESSION_FAIL = -65020; 932d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_OPEN_SESSION_TIMEOUT = -65021; 942d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_PREPARE_FAIL = -65022; 952d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_UNPREPARE_FAIL = -65023; 962d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_START_FAIL = -65024; 972d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_STOP_FAIL = -65025; 982d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_SENDMESSSAGE = -65026; 992d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGERGET_CALLBACK_HANDLER_FAIL = -65027; 1002d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_REGISTER_MSG_IS_BAD = -65028; 1012d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_UNREGISTER_MSG_IS_BAD = -65029; 1022d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_PREPARE_MSG_IS_BAD = -65030; 1032d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_UNPREPARE_MSG_IS_BAD = -65031; 1042d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_START_MSG_IS_BAD = -65032; 1052d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_STOP_MSG_IS_BAD = -65033; 1062d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_TRANSPORT_LATENCY_FAIL = -65034; 1072d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_VIRTUAL_SCREEN_NODE_IS_INVALID = -65035; 1082d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_REG_CALLBACK_ERR = -65036; 1092d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_SIMULATION_EVENT_CALLBACK_ERR = -65037; 1102d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_DH_FWK_KIT_IS_NULL = -65038; 1112d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_NODE_LISTENER_CALLBACK_ERR = -65039; 1122d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_SESSION_STATE_CB_IS_NULL = -65040; 1132d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SERVER_SOURCE_MANAGER_INJECT_EVENT_CB_IS_NULL = -65041; 1142d4d9a4dSopenharmony_ci 1152d4d9a4dSopenharmony_ci // handler error code 1162d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_HANDLER_INIT_SINK_SA_FAIL = -66000; 1172d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_HANDLER_INIT_SOURCE_SA_FAIL = -66001; 1182d4d9a4dSopenharmony_ci 1192d4d9a4dSopenharmony_ci // interface error code 1202d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_IPC_INVALID_DESCRIPTOR = -67000; 1212d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_GET_SOURCE_PROXY_FAIL = -67001; 1222d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_GET_SINK_PROXY_FAIL = -67002; 1232d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_REGISTER_FAIL = -67003; 1242d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_UNREGISTER_FAIL = -67004; 1252d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_PREPARE_FAIL = -67005; 1262d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_UNPREPARE_FAIL = -67006; 1272d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_START_FAIL = -67007; 1282d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_STOP_FAIL = -67008; 1292d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_REG_START_STOP_CB_FAIL = -67009; 1302d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_UNREG_START_STOP_CB_FAIL = -67010; 1312d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_REG_NODE_CB_FAIL = -67011; 1322d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_UNREG_NODE_CB_FAIL = -67012; 1332d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_REG_UNREG_KEY_STATE_FAIL = -67013; 1342d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_INIT_FAIL = -67014; 1352d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_RELEASE_FAIL = -67015; 1362d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_IS_START_INPUT_FAIL = -67016; 1372d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_STUB_ON_REMOTE_REQUEST_FAIL = -67017; 1382d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_INIT_FAIL = -67018; 1392d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_RELEASE_FAIL = -67019; 1402d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_REGISTER_WRITE_MSG_FAIL = -67020; 1412d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_REGISTER_FAIL = -67021; 1422d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNREGISTER_WRITE_MSG_FAIL = -67022; 1432d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNREGISTER_FAIL = -67023; 1442d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_PREPARE_WRITE_MSG_FAIL = -67024; 1452d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_PREPARE_FAIL = -67025; 1462d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNPREPARE_WRITE_MSG_FAIL = -67026; 1472d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNPREPARE_FAIL = -67027; 1482d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_START_WRITE_MSG_FAIL = -67028; 1492d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_START_FAIL = -67029; 1502d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_STOP_WRITE_MSG_FAIL = -67030; 1512d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_STOP_FAIL = -67031; 1522d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_IS_START_INPUT_FAIL = -67032; 1532d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_REGISTER_WHITELIST_FAIL = -67033; 1542d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNREGISTER_WHITELIST_FAIL = -67034; 1552d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_REGISTER_SIMULATION_LISTENER_FAIL = -67037; 1562d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_PROXY_UNREGISTER_SIMULATION_LISTENER_FAIL = -67038; 1572d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_STUB_REGISTER_SIMULATION_EVENT_LISTENER_FAIL = -67042; 1582d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_STUB_UNREGISTER_SIMULATION_EVENT_LISTENER_FAIL = -67043; 1592d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SOURCE_STUB_ON_REMOTE_REQUEST_FAIL = -67044; 1602d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_IPC_WRITE_TOKEN_VALID_FAIL = -67045; 1612d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_IPC_READ_TOKEN_VALID_FAIL = -67046; 1622d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_IPC_READ_VALID_FAIL = -67047; 1632d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_IPC_WRITE_VALID_FAIL = -67048; 1642d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_RPC_GET_REMOTE_DINPUT_FAIL = -67049; 1652d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_NOTIFY_START_DSCREEN_FAIL = -67050; 1662d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_NOTIFY_STOP_DSCREEN_FAIL = -67051; 1672d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_RPC_REPLY_FAIL = -67052; 1682d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SA_REQUEST_CODE_INVALID = -67053; 1692d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_REGISTER_SHARING_DHID_LISTENER_FAIL = -67054; 1702d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_STUB_REGISTER_SHARING_DHID_LISTENER_FAIL = -67055; 1712d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_REGISTER_GETSINKSCREENINFOS_FAIL = -67056; 1722d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_REGISTER_SESSION_STATE_FAIL = -67057; 1732d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_CLIENT_UNREGISTER_SESSION_STATE_FAIL = -67058; 1742d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_STUB_REGISTER_SESSION_STATE_FAIL = -67059; 1752d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_STUB_UNREGISTER_SESSION_STATE_FAIL = -67060; 1762d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_ENABLE_PERMISSION_CHECK_FAIL = -67061; 1772d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_ACCESS_PERMISSION_CHECK_FAIL = -67062; 1782d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_ENABLE_PERMISSION_CHECK_FAIL = -67063; 1792d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SINK_PROXY_DH_LISTENER_IS_NULL = -67064; 1802d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_PROXY_CALLBACK_IS_NULL = -67065; 1812d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_SRC_PROXY_EVENT_LISTENER_IS_NULL = -67066; 1822d4d9a4dSopenharmony_ci 1832d4d9a4dSopenharmony_ci // Hidump Helper error code 1842d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HIDUMP_INVALID_ARGS = -68000; 1852d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HIDUMP_DUMP_PROCESS_FAIL = -68001; 1862d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_HIDUMP_DPRINTF_FAIL = -68002; 1872d4d9a4dSopenharmony_ci 1882d4d9a4dSopenharmony_ci // null pointer is not verified 1892d4d9a4dSopenharmony_ci constexpr int32_t ERR_DH_INPUT_POINTER_NULL = -69000; 1902d4d9a4dSopenharmony_ci} // namespace DistributedInput 1912d4d9a4dSopenharmony_ci} // namespace DistributedHardware 1922d4d9a4dSopenharmony_ci} // namespace OHOS 1932d4d9a4dSopenharmony_ci 1942d4d9a4dSopenharmony_ci#endif // OHOS_DINPUT_ERRCODE_H