New error codes for SMS/other messages
authorAjay Nambi <anambi@codeaurora.org>
Fri, 11 Mar 2016 20:02:55 +0000 (12:02 -0800)
committerChristopher N. Hesse <raymanfx@gmail.com>
Wed, 12 Oct 2016 20:00:43 +0000 (13:00 -0700)
This gerrit adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I4991e4a38c81501c39e91cfd5df90d8288f542ad

ril/libril/ril.cpp

index f5f6952093059829558c0291553a66ca1ca06fc3..2dac979e46babfc959fe41f642a786d9fbd632b7 100755 (executable)
@@ -5671,6 +5671,12 @@ failCauseToString(RIL_Errno e) {
         case RIL_E_NETWORK_REJECT: return "E_NETWORK_REJECT";
         case RIL_E_OPERATION_NOT_ALLOWED: return "E_OPERATION_NOT_ALLOWED";
         case RIL_E_EMPTY_RECORD: "E_EMPTY_RECORD";
+        case RIL_E_INVALID_SMS_FORMAT: return "E_INVALID_SMS_FORMAT";
+        case RIL_E_ENCODING_ERR: return "E_ENCODING_ERR";
+        case RIL_E_INVALID_SMSC_ADDRESS: return "E_INVALID_SMSC_ADDRESS";
+        case RIL_E_NO_SUCH_ENTRY: return "E_NO_SUCH_ENTRY";
+        case RIL_E_NETWORK_NOT_READY: return "E_NETWORK_NOT_READY";
+        case RIL_E_NOT_PROVISIONED: return "E_NOT_PROVISIONED";
         case RIL_E_OEM_ERROR_1: return "E_OEM_ERROR_1";
         case RIL_E_OEM_ERROR_2: return "E_OEM_ERROR_2";
         case RIL_E_OEM_ERROR_3: return "E_OEM_ERROR_3";