1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_DINPUT_IPC_INTERFACE_CODE_H 17 #define OHOS_DINPUT_IPC_INTERFACE_CODE_H 18 19 #include <cstdint> 20 21 namespace OHOS { 22 namespace DistributedHardware { 23 /* SAID: 4809 */ 24 enum class IDInputSourceInterfaceCode : uint32_t { 25 INIT = 0xf001U, 26 RELEASE = 0xf002U, 27 REGISTER_REMOTE_INPUT = 0xf003U, 28 UNREGISTER_REMOTE_INPUT = 0xf004U, 29 PREPARE_REMOTE_INPUT = 0xf005U, 30 UNPREPARE_REMOTE_INPUT = 0xf006U, 31 START_REMOTE_INPUT = 0xf007U, 32 STOP_REMOTE_INPUT = 0xf008U, 33 PREPARE_RELAY_REMOTE_INPUT = 0xf00aU, 34 UNPREPARE_RELAY_REMOTE_INPUT = 0xf00bU, 35 START_RELAY_TYPE_REMOTE_INPUT = 0xf00cU, 36 STOP_RELAY_TYPE_REMOTE_INPUT = 0xf00dU, 37 START_DHID_REMOTE_INPUT = 0xf00eU, 38 STOP_DHID_REMOTE_INPUT = 0xf00fU, 39 START_RELAY_DHID_REMOTE_INPUT = 0xf010U, 40 STOP_RELAY_DHID_REMOTE_INPUT = 0xf011U, 41 REGISTER_ADD_WHITE_LIST_CB_REMOTE_INPUT = 0xf013U, 42 REGISTER_DEL_WHITE_LIST_CB_REMOTE_INPUT = 0xf014U, 43 REGISTER_SIMULATION_EVENT_LISTENER = 0xf017U, 44 UNREGISTER_SIMULATION_EVENT_LISTENER = 0xf018U, 45 SYNC_NODE_INFO_REMOTE_INPUT = 0xf019U, 46 REGISTER_SESSION_STATE_CB = 0xf01aU, 47 UNREGISTER_SESSION_STATE_CB = 0xf01bU, 48 }; 49 50 /* SAID: 4810 */ 51 enum class IDInputSinkInterfaceCode : uint32_t { 52 INIT = 0xf011U, 53 RELEASE = 0xf012U, 54 NOTIFY_START_DSCREEN = 0xf013U, 55 NOTIFY_STOP_DSCREEN = 0xf014U, 56 REGISTER_SHARING_DHID_LISTENER = 0xf015U, 57 GET_SINK_SCREEN_INFOS = 0xf016U, 58 }; 59 } // namespace DistributedHardware 60 } // namespace OHOS 61 #endif