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 CELLULAR_DATA_IPC_INTERFACE_CODE_H 17 #define CELLULAR_DATA_IPC_INTERFACE_CODE_H 18 19 /* SAID:4007 */ 20 namespace OHOS { 21 namespace Telephony { 22 enum class CellularDataInterfaceCode { 23 IS_CELLULAR_DATA_ENABLED = 0, 24 ENABLE_CELLULAR_DATA, 25 GET_CELLULAR_DATA_STATE, 26 GET_CELLULAR_DATA_APN_STATE, 27 GET_RECOVERY_STATE, 28 IS_DATA_ROAMING_ENABLED, 29 ENABLE_DATA_ROAMING, 30 GET_DEFAULT_SLOT_ID, 31 GET_DEFAULT_SIM_ID, 32 SET_DEFAULT_SLOT_ID, 33 GET_FLOW_TYPE_ID, 34 HAS_CAPABILITY, 35 CLEAR_ALL_CONNECTIONS, 36 CLEAR_ALL_CONNECTIONS_USE_REASON, 37 APN_DATA_CHANGED, 38 REG_SIM_ACCOUNT_CALLBACK, 39 UN_REG_SIM_ACCOUNT_CALLBACK, 40 GET_DATA_CONN_APN_ATTR, 41 GET_DATA_CONN_IP_TYPE, 42 IS_NEED_DO_RECOVERY, 43 ENABLE_INTELLIGENCE_SWITCH, 44 INIT_CELLULAR_DATA_CONTROLLER, 45 GET_INTELLIGENCE_SWITCH_STATE 46 }; 47 } // namespace Telephony 48 } // namespace OHOS 49 #endif // CELLULAR_DATA_IPC_INTERFACE_CODE_H