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 IS_DATA_ROAMING_ENABLED, 27 ENABLE_DATA_ROAMING, 28 GET_DEFAULT_SLOT_ID, 29 GET_DEFAULT_SIM_ID, 30 SET_DEFAULT_SLOT_ID, 31 GET_FLOW_TYPE_ID, 32 HAS_CAPABILITY, 33 CLEAR_ALL_CONNECTIONS, 34 APN_DATA_CHANGED, 35 REG_SIM_ACCOUNT_CALLBACK, 36 UN_REG_SIM_ACCOUNT_CALLBACK 37 }; 38 } // namespace Telephony 39 } // namespace OHOS 40 #endif // CELLULAR_DATA_IPC_INTERFACE_CODE_H