From 2e093616e811123de5142725db786d9451b01eb3 Mon Sep 17 00:00:00 2001 From: sqian Date: Mon, 24 Apr 2017 11:48:06 -0700 Subject: Remove GENERIC_FAILURE still in ril.h Bug: 36385785 Test: No change to behavior Change-Id: I1757219bb758b3af694395fbba229cde74614f00 --- include/telephony/ril.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'include') diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 9faacc4..6980f4f 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -2056,7 +2056,6 @@ typedef struct { * * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) - * GENERIC_FAILURE * PASSWORD_INCORRECT */ @@ -2619,7 +2618,6 @@ typedef struct { * * Based on the return error, caller decides to resend if sending sms * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332) - * and GENERIC_FAILURE means no retry (i.e. error cause is 500) * * Valid errors: * SUCCESS @@ -2662,7 +2660,6 @@ typedef struct { * * Based on the return error, caller decides to resend if sending sms * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332) - * and GENERIC_FAILURE means no retry (i.e. error cause is 500) * * Valid errors: * SUCCESS @@ -2755,7 +2752,7 @@ typedef struct { * For all other errors the RIL_Data_Call_Resonse_v6 is ignored. * * Other errors could include: - * RADIO_NOT_AVAILABLE, GENERIC_FAILURE, OP_NOT_ALLOWED_BEFORE_REG_TO_NW, + * RADIO_NOT_AVAILABLE, OP_NOT_ALLOWED_BEFORE_REG_TO_NW, * OP_NOT_ALLOWED_DURING_VOICE_CALL and REQUEST_NOT_SUPPORTED. * * See also: RIL_REQUEST_DEACTIVATE_DATA_CALL @@ -3268,8 +3265,6 @@ typedef struct { * * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and * no retries needed, such as illegal SIM or ME. - * Returns GENERIC_FAILURE for all other causes that might be - * fixed by retries. * */ #define RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC 46 @@ -3293,8 +3288,6 @@ typedef struct { * * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and * no retries needed, such as illegal SIM or ME. - * Returns GENERIC_FAILURE for all other causes that might be - * fixed by retries. * */ #define RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL 47 @@ -3785,7 +3778,6 @@ typedef struct { * Valid errors: * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_GET_PROFILE 67 @@ -3803,7 +3795,6 @@ typedef struct { * Valid errors: * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_SET_PROFILE 68 @@ -3825,7 +3816,6 @@ typedef struct { * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * SIM_BUSY * OPERATION_NOT_ALLOWED - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND 69 @@ -3844,7 +3834,6 @@ typedef struct { * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * RIL_E_OPERATION_NOT_ALLOWED - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE 70 @@ -3866,7 +3855,6 @@ typedef struct { * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * RIL_E_OPERATION_NOT_ALLOWED - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM 71 @@ -4214,7 +4202,6 @@ typedef struct { * fails. The CDMA error class is derived as follows, * SUCCESS is error class 0 (no error) * SMS_SEND_FAIL_RETRY is error class 2 (temporary failure) - * and GENERIC_FAILURE is error class 3 (permanent and no retry) * * Valid errors: * SUCCESS @@ -4702,7 +4689,6 @@ typedef struct { * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * SIM_BUSY * OPERATION_NOT_ALLOWED - * RIL_E_GENERIC_FAILURE */ #define RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS 107 @@ -5219,7 +5205,6 @@ typedef struct { * * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) - * GENERIC_FAILURE */ #define RIL_REQUEST_GET_ACTIVITY_INFO 135 -- cgit v1.2.3