From 92a361dc59f92a10d56f5515c0d75f9f6b6d985a Mon Sep 17 00:00:00 2001 From: Sanket Padawe Date: Mon, 24 Jul 2017 10:51:43 -0700 Subject: [PATCH] msm8974-common: libril: Add SIM_ABSENT error Bug: b/62926561 Test: N/A Change-Id: I27e86be7ee4a0b8a23c99fe28636f26b289c51b5 --- ril/include/telephony/ril.h | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/ril/include/telephony/ril.h b/ril/include/telephony/ril.h index 734a12b..12c37d7 100644 --- a/ril/include/telephony/ril.h +++ b/ril/include/telephony/ril.h @@ -2417,6 +2417,7 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT + * SIM_ABSENT * (code is invalid) * INTERNAL_ERR * NO_MEMORY @@ -2943,6 +2944,8 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * MODE_NOT_SUPPORTED + * SIM_ABSENT * * FIXME how do we specify TP-Message-Reference if we need to resend? */ @@ -2989,6 +2992,8 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * MODE_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_SEND_SMS_EXPECT_MORE 26 @@ -3065,8 +3070,8 @@ typedef struct { * Other errors could include: * RADIO_NOT_AVAILABLE, OP_NOT_ALLOWED_BEFORE_REG_TO_NW, * OP_NOT_ALLOWED_DURING_VOICE_CALL, REQUEST_NOT_SUPPORTED, - * INVALID_ARGUMENTS, INTERNAL_ERR, NO_MEMORY, NO_RESOURCES - * and CANCELLED + * INVALID_ARGUMENTS, INTERNAL_ERR, NO_MEMORY, NO_RESOURCES, + * CANCELLED and SIM_ABSENT * * See also: RIL_REQUEST_DEACTIVATE_DATA_CALL */ @@ -3492,6 +3497,7 @@ typedef struct { * NO_MEMORY * NO_RESOURCES * CANCELLED + * SIM_ABSENT * * See also: RIL_REQUEST_SETUP_DATA_CALL */ @@ -3992,6 +3998,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT * * See also: RIL_UNSOL_DATA_CALL_LIST_CHANGED */ @@ -4161,6 +4168,7 @@ typedef struct { * CANCELLED * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_WRITE_SMS_TO_SIM 63 @@ -4189,6 +4197,7 @@ typedef struct { * CANCELLED * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_DELETE_SMS_ON_SIM 64 @@ -4818,6 +4827,8 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * MODE_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_CDMA_SEND_SMS 87 @@ -5092,6 +5103,7 @@ typedef struct { * CANCELLED * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM 96 @@ -5120,7 +5132,7 @@ typedef struct { * CANCELLED * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED - * + * SIM_ABSENT */ #define RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM 97 @@ -5211,6 +5223,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT * */ #define RIL_REQUEST_GET_SMSC_ADDRESS 100 @@ -5237,7 +5250,7 @@ typedef struct { * INTERNAL_ERR * CANCELLED * REQUEST_NOT_SUPPORTED - * + * SIM_ABSENT */ #define RIL_REQUEST_SET_SMSC_ADDRESS 101 @@ -5389,6 +5402,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT */ #define RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS 107 @@ -5905,6 +5919,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT */ #define RIL_REQUEST_SET_DATA_PROFILE 128 @@ -5998,6 +6013,7 @@ typedef struct { * NO_MEMORY * NO_RESOURCES * CANCELLED + * SIM_ABSENT */ #define RIL_REQUEST_START_LCE 132 @@ -6018,6 +6034,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT */ #define RIL_REQUEST_STOP_LCE 133 @@ -6037,6 +6054,7 @@ typedef struct { * NO_RESOURCES * CANCELLED * REQUEST_NOT_SUPPORTED + * SIM_ABSENT */ #define RIL_REQUEST_PULL_LCEDATA 134