diff options
author | Sooraj Sasindran <ssasindr@quicinc.com> | 2016-01-27 14:30:45 -0800 |
---|---|---|
committer | Sooraj Sasindran <ssasindr@quicinc.com> | 2016-01-27 14:33:33 -0800 |
commit | 7e333b3c520b24b495af65ad61a296682a0b5360 (patch) | |
tree | 547e7a7718ae0ff042af72cbd71a6b353c0ae0bb /include | |
parent | 2e8e6690338706a8d937e1e32af4554f0c7b74dd (diff) | |
download | android_hardware_ril-7e333b3c520b24b495af65ad61a296682a0b5360.tar.gz android_hardware_ril-7e333b3c520b24b495af65ad61a296682a0b5360.tar.bz2 android_hardware_ril-7e333b3c520b24b495af65ad61a296682a0b5360.zip |
Add error codes to replace generic failure
Add error codes to be used instead of RIL_E_GENERIC_FAILURE.
Change-Id: I997da9a15225716786c53b7457b498d4628e76be
Diffstat (limited to 'include')
-rw-r--r-- | include/telephony/ril.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index c8b130f..fd5ddaf 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -133,8 +133,21 @@ typedef enum { RIL_E_SS_MODIFIED_TO_USSD = 25, /* SS request modified to USSD */ RIL_E_SUBSCRIPTION_NOT_SUPPORTED = 26, /* Subscription not supported by RIL */ RIL_E_SS_MODIFIED_TO_SS = 27, /* SS request modified to different SS request */ - RIL_E_LCE_NOT_SUPPORTED = 36 /* LCE service not supported(36 in RILConstants.java) */ - + RIL_E_LCE_NOT_SUPPORTED = 36, /* LCE service not supported(36 in RILConstants.java) */ + RIL_E_NO_MEMORY = 37, /* Not sufficient memory to process the request */ + RIL_E_INTERNAL_ERR = 38, /* Hit unexpected vendor internal error scenario */ + RIL_E_SYSTEM_ERR = 39, /* Hit platform or system error */ + RIL_E_MODEM_ERR = 40, /* Hit unexpected modem error */ + RIL_E_INVALID_STATE = 41, /* Can not process the request as vendor RIL is in + invalid state. */ + RIL_E_NO_RESOURCES = 42, /* Not sufficient resource to process the request */ + RIL_E_SIM_ERR = 43, /* Received error from SIM card */ + RIL_E_INVALID_ARGUMENTS = 44, /* Received invalid arguments in request */ + RIL_E_INVALID_SIM_STATE = 45, /* Can not process the request in current SIM state */ + RIL_E_INVALID_MODEM_STATE = 46, /* Can not process the request in current Modem state */ + RIL_E_INVALID_CALL_ID = 47, /* Received invalid call id in request */ + RIL_E_NO_SMS_TO_ACK = 48, /* ACK received when there is no SMS to ack */ + RIL_E_NETWORK_ERR = 49 /* Received error from network */ } RIL_Errno; |