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 SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 17 #define SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 18 19 /* SAID:1906 */ 20 namespace OHOS { 21 namespace SOCPERF { 22 enum class SocPerfInterfaceCode { 23 TRANS_IPC_ID_PERF_REQUEST = 0x0001, 24 TRANS_IPC_ID_PERF_REQUEST_EX = 0x0002, 25 TRANS_IPC_ID_SET_STATUS = 0x0003, 26 TRANS_IPC_ID_SET_THERMAL_LEVEL = 0x0004, 27 TRANS_IPC_ID_POWER_LIMIT_BOOST_FREQ = 0x0005, 28 TRANS_IPC_ID_SET_DEVICE_MODE = 0x0006, 29 TRANS_IPC_ID_REQUEST_CMDID_COUNT = 0x0007, 30 TRANS_IPC_ID_THERMAL_LIMIT_BOOST_FREQ = 0x0008, 31 TRANS_IPC_ID_LIMIT_REQUEST = 0x0009, 32 }; 33 } // namespace SOCPERF 34 } // namespace OHOS 35 36 #endif // SOC_PERF_INTERFACES_INNER_API_SOCPERF_CLIENT_INCLUDE_SOCPERF_IPC_INTERFACE_CODE_H 37