summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSanket Padawe <sanketpadawe@google.com>2017-07-24 10:51:43 -0700
committerSanket Padawe <sanketpadawe@google.com>2017-07-24 10:51:43 -0700
commit59a312bd92640bfe4d73e0bdf473b7b9c34fedb1 (patch)
tree7ac7aadf6f6aa62acd94ad188d7284436bd755f3 /include
parentfded388c2ef6dbd464765e459386b6d984d5937b (diff)
downloadandroid_hardware_ril-59a312bd92640bfe4d73e0bdf473b7b9c34fedb1.tar.gz
android_hardware_ril-59a312bd92640bfe4d73e0bdf473b7b9c34fedb1.tar.bz2
android_hardware_ril-59a312bd92640bfe4d73e0bdf473b7b9c34fedb1.zip
Add SIM_ABSENT error
Bug: b/62926561 Test: N/A Change-Id: I27e86be7ee4a0b8a23c99fe28636f26b289c51b5
Diffstat (limited to 'include')
-rw-r--r--include/telephony/ril.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index df0e467..993ee0c 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -2400,6 +2400,7 @@ typedef struct {
* SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* PASSWORD_INCORRECT
+ * SIM_ABSENT
* (code is invalid)
* INTERNAL_ERR
* NO_MEMORY
@@ -2926,6 +2927,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?
*/
@@ -2972,6 +2975,8 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * MODE_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_SEND_SMS_EXPECT_MORE 26
@@ -3048,8 +3053,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
*/
@@ -3475,6 +3480,7 @@ typedef struct {
* NO_MEMORY
* NO_RESOURCES
* CANCELLED
+ * SIM_ABSENT
*
* See also: RIL_REQUEST_SETUP_DATA_CALL
*/
@@ -3975,6 +3981,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*
* See also: RIL_UNSOL_DATA_CALL_LIST_CHANGED
*/
@@ -4144,6 +4151,7 @@ typedef struct {
* CANCELLED
* INVALID_MODEM_STATE
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_WRITE_SMS_TO_SIM 63
@@ -4172,6 +4180,7 @@ typedef struct {
* CANCELLED
* INVALID_MODEM_STATE
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_DELETE_SMS_ON_SIM 64
@@ -4801,6 +4810,8 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * MODE_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_CDMA_SEND_SMS 87
@@ -5075,6 +5086,7 @@ typedef struct {
* CANCELLED
* INVALID_MODEM_STATE
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM 96
@@ -5103,7 +5115,7 @@ typedef struct {
* CANCELLED
* INVALID_MODEM_STATE
* REQUEST_NOT_SUPPORTED
- *
+ * SIM_ABSENT
*/
#define RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM 97
@@ -5194,6 +5206,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*
*/
#define RIL_REQUEST_GET_SMSC_ADDRESS 100
@@ -5220,7 +5233,7 @@ typedef struct {
* INTERNAL_ERR
* CANCELLED
* REQUEST_NOT_SUPPORTED
- *
+ * SIM_ABSENT
*/
#define RIL_REQUEST_SET_SMSC_ADDRESS 101
@@ -5372,6 +5385,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*/
#define RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS 107
@@ -5888,6 +5902,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*/
#define RIL_REQUEST_SET_DATA_PROFILE 128
@@ -5981,6 +5996,7 @@ typedef struct {
* NO_MEMORY
* NO_RESOURCES
* CANCELLED
+ * SIM_ABSENT
*/
#define RIL_REQUEST_START_LCE 132
@@ -6001,6 +6017,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*/
#define RIL_REQUEST_STOP_LCE 133
@@ -6020,6 +6037,7 @@ typedef struct {
* NO_RESOURCES
* CANCELLED
* REQUEST_NOT_SUPPORTED
+ * SIM_ABSENT
*/
#define RIL_REQUEST_PULL_LCEDATA 134