1 /* 2 * Copyright (C) 2021-2022 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_RIL_NOTIFICATION_H 17 #define OHOS_RIL_NOTIFICATION_H 18 19 typedef enum { 20 HNOTI_CALL_BASE = 1000, 21 HNOTI_CALL_STATE_UPDATED, 22 HNOTI_CALL_USSD_REPORT, 23 HNOTI_CALL_RINGBACK_VOICE_REPORT, 24 HNOTI_CALL_SRVCC_STATUS_REPORT, 25 HNOTI_CALL_EMERGENCY_NUMBER_REPORT, 26 HNOTI_CALL_SS_REPORT, 27 HNOTI_CALL_RSRVCC_STATUS_REPORT, 28 29 HNOTI_SMS_BASE = 1100, 30 HNOTI_SMS_NEW_SMS, 31 HNOTI_SMS_NEW_CDMA_SMS, 32 HNOTI_SMS_STATUS_REPORT, 33 HNOTI_SMS_NEW_SMS_STORED_ON_SIM, 34 HNOTI_CB_CONFIG_REPORT, 35 36 HNOTI_SIM_BASE = 1200, 37 HNOTI_SIM_STATUS_CHANGED, 38 HNOTI_SIM_STK_SESSION_END_NOTIFY, 39 HNOTI_SIM_STK_PROACTIVE_NOTIFY, 40 HNOTI_SIM_STK_ALPHA_NOTIFY, 41 HNOTI_SIM_STK_EVENT_NOTIFY, 42 HNOTI_SIM_STK_CALL_SETUP_NOTIFY, 43 HNOTI_SIM_REFRESH_NOTIFY, 44 HNOTI_SIM_RADIO_PROTOCOL_UPDATED, 45 46 HNOTI_DATA_BASE = 1300, 47 HNOTI_DATA_PDP_CONTEXT_LIST_UPDATED, 48 49 HNOTI_NETWORK_BASE = 1400, 50 HNOTI_NETWORK_CS_REG_STATUS_UPDATED, 51 HNOTI_NETWORK_SIGNAL_STRENGTH_UPDATED, 52 HNOTI_NETWORK_TIME_UPDATED, 53 HNOTI_NETWORK_TIME_ZONE_UPDATED, 54 HNOTI_NETWORK_IMS_REG_STATUS_UPDATED, 55 HNOTI_NETWORK_PS_REG_STATUS_UPDATED, 56 HNOTI_NETWORK_PHY_CHNL_CFG_UPDATED, 57 HNOTI_NETWORK_CURRENT_CELL_UPDATED, 58 59 HNOTI_COMMON_BASE = 1500, 60 HNOTI_MODEM_RADIO_STATE_UPDATED, 61 HNOTI_MODEM_VOICE_TECH_UPDATED, 62 } HRilNotification; 63 #endif // OHOS_RIL_NOTIFICATION_H 64