From a216ed40b16c856bdb4bf0670ac9ed39e06235c3 Mon Sep 17 00:00:00 2001 From: sqian Date: Tue, 20 Jun 2017 11:54:31 -0700 Subject: Update ril.h documentation for vts Update ril.h documentation for errors found by VTS copy of https://partner-android-review.googlesource.com/#/c/836670/ + extra update for some missed error code + request_not_supported Bug: 35671595 Test: Manual Change-Id: Ib444c357830ff4533716dfe12c1189fd32715da9 Merged-In: Ib444c357830ff4533716dfe12c1189fd32715da9 --- include/telephony/ril.h | 513 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 505 insertions(+), 8 deletions(-) diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 277878a..31126ef 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -2190,7 +2190,14 @@ typedef struct { * "response" is const RIL_CardStatus_v6 * * * Valid errors: - * Must never fail + * + * SUCCESS + * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_SIM_STATUS 1 @@ -2211,6 +2218,13 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ENTER_SIM_PIN 2 @@ -2234,6 +2248,13 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT * (PUK is invalid) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ENTER_SIM_PUK 3 @@ -2256,6 +2277,13 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ENTER_SIM_PIN2 4 @@ -2279,6 +2307,13 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT * (PUK2 is invalid) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ENTER_SIM_PUK2 5 @@ -2302,7 +2337,13 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT * (old PIN is invalid) - * + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_CHANGE_SIM_PIN 6 @@ -2327,6 +2368,13 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT * (old PIN2 is invalid) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED * */ @@ -2349,6 +2397,11 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * PASSWORD_INCORRECT * (code is invalid) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION 8 @@ -2368,6 +2421,10 @@ typedef struct { * RADIO_NOT_AVAILABLE (radio resetting) * NO_MEMORY * (request will be made again in a few hundred msec) + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_CURRENT_CALLS 9 @@ -2402,6 +2459,8 @@ typedef struct { * DEVICE_IN_USE * MODE_NOT_SUPPORTED * ABORTED + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_DIAL 10 @@ -2419,6 +2478,12 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_SIM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_IMSI 11 @@ -2447,6 +2512,9 @@ typedef struct { * NO_MEMORY * INVALID_CALL_ID * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_HANGUP 12 @@ -2474,6 +2542,9 @@ typedef struct { * NO_RESOURCES * OPERATION_NOT_ALLOWED * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND 13 @@ -2500,6 +2571,8 @@ typedef struct { * OPERATION_NOT_ALLOWED * INVALID_ARGUMENTS * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND 14 @@ -2535,6 +2608,9 @@ typedef struct { * INVALID_ARGUMENTS * INVALID_CALL_ID * OPERATION_NOT_ALLOWED + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE 15 @@ -2558,6 +2634,9 @@ typedef struct { * INVALID_CALL_ID * INVALID_ARGUMENTS * OPERATION_NOT_ALLOWED + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_CONFERENCE 16 @@ -2581,6 +2660,8 @@ typedef struct { * INVALID_CALL_ID * OPERATION_NOT_ALLOWED * INVALID_ARGUMENTS + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_UDUB 17 @@ -2630,6 +2711,10 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE * NO_MEMORY + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE */ @@ -2655,6 +2740,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SIGNAL_STRENGTH 19 @@ -2669,6 +2756,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_VOICE_REGISTRATION_STATE 20 @@ -2689,6 +2781,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_DATA_REGISTRATION_STATE 21 @@ -2714,6 +2808,8 @@ typedef struct { * INTERNAL_ERR * SYSTEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_OPERATOR 22 @@ -2749,6 +2845,8 @@ typedef struct { * OPERATION_NOT_ALLOWED * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_RADIO_POWER 23 @@ -2776,6 +2874,10 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * INVALID_CALL_ID + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_DTMF_STOP, RIL_REQUEST_DTMF_START * @@ -2816,6 +2918,10 @@ typedef struct { * MODEM_ERR * NETWORK_ERR * MODE_NOT_SUPPORTED + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * FIXME how do we specify TP-Message-Reference if we need to resend? */ @@ -2858,6 +2964,10 @@ typedef struct { * ENCODING_ERR * INVALID_SMSC_ADDRESS * MODE_NOT_SUPPORTED + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_SEND_SMS_EXPECT_MORE 26 @@ -2933,8 +3043,9 @@ typedef struct { * * Other errors could include: * RADIO_NOT_AVAILABLE, OP_NOT_ALLOWED_BEFORE_REG_TO_NW, - * OP_NOT_ALLOWED_DURING_VOICE_CALL and REQUEST_NOT_SUPPORTED, - * INVALID_ARGUMENTS + * OP_NOT_ALLOWED_DURING_VOICE_CALL, REQUEST_NOT_SUPPORTED, + * INVALID_ARGUMENTS, INTERNAL_ERR, NO_MEMORY, NO_RESOURCES + * and CANCELLED * * See also: RIL_REQUEST_DEACTIVATE_DATA_CALL */ @@ -2964,6 +3075,9 @@ typedef struct { * RADIO_NOT_AVAILABLE * SIM_PIN2 * SIM_PUK2 + * INVALID_SIM_STATE + * SIM_ERR + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_IO 28 @@ -3002,6 +3116,9 @@ typedef struct { * ABORTED * SYSTEM_ERR * INVALID_STATE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_CANCEL_USSD, RIL_UNSOL_ON_USSD */ @@ -3025,6 +3142,9 @@ typedef struct { * INTERNAL_ERR * NO_MEMORY * INVALID_STATE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_CANCEL_USSD 30 @@ -3049,6 +3169,9 @@ typedef struct { * INTERNAL_ERR * FDN_CHECK_FAILURE * SYSTEM_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_CLIR 31 @@ -3068,6 +3191,11 @@ typedef struct { * SS_MODIFIED_TO_SS * INVALID_ARGUMENTS * SYSTEM_ERR + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_CLIR 32 @@ -3100,6 +3228,9 @@ typedef struct { * INTERNAL_ERR * NO_MEMORY * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_QUERY_CALL_FORWARD_STATUS 33 @@ -3125,6 +3256,9 @@ typedef struct { * INTERNAL_ERR * INVALID_STATE * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_CALL_FORWARD 34 @@ -3159,6 +3293,9 @@ typedef struct { * NO_MEMORY * FDN_CHECK_FAILURE * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_QUERY_CALL_WAITING 35 @@ -3186,6 +3323,9 @@ typedef struct { * INTERNAL_ERR * INVALID_STATE * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_CALL_WAITING 36 @@ -3212,6 +3352,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SMS_ACKNOWLEDGE 37 @@ -3235,6 +3380,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_GET_IMEI 38 @@ -3259,6 +3406,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_GET_IMEISV 39 @@ -3285,6 +3434,9 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * INVALID_CALL_ID + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ANSWER 40 @@ -3315,6 +3467,10 @@ typedef struct { * INVALID_STATE * INVALID_ARGUMENTS * REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED * * See also: RIL_REQUEST_SETUP_DATA_CALL */ @@ -3353,6 +3509,9 @@ typedef struct { * SYSTEM_ERR * MODEM_ERR * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_QUERY_FACILITY_LOCK 42 @@ -3390,6 +3549,9 @@ typedef struct { * MODEM_ERR * INVALID_STATE * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_SET_FACILITY_LOCK 43 @@ -3420,6 +3582,9 @@ typedef struct { * INTERNAL_ERR * SYSTEM_ERR * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CHANGE_BARRING_PASSWORD 44 @@ -3445,6 +3610,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_QUERY_NETWORK_SELECTION_MODE 45 @@ -3471,6 +3638,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and * no retries needed, such as illegal SIM or ME. @@ -3501,6 +3670,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and * no retries needed, such as illegal SIM or ME. @@ -3539,6 +3710,8 @@ typedef struct { * REQUEST_NOT_SUPPORTED * CANCELLED * OPERATION_NOT_ALLOWED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_QUERY_AVAILABLE_NETWORKS 48 @@ -3566,6 +3739,9 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * INVALID_CALL_ID + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_DTMF, RIL_REQUEST_DTMF_STOP */ @@ -3590,6 +3766,9 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * INVALID_CALL_ID + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_DTMF, RIL_REQUEST_DTMF_START */ @@ -3614,6 +3793,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_BASEBAND_VERSION 51 @@ -3649,6 +3830,8 @@ typedef struct { * INVALID_CALL_ID * INVALID_STATE * OPERATION_NOT_ALLOWED + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SEPARATE_CONNECTION 52 @@ -3672,6 +3855,10 @@ typedef struct { * INVALID_ARGUMENTS * NO_MEMORY * REQUEST_RATE_LIMITED + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_MUTE 53 @@ -3693,6 +3880,10 @@ typedef struct { * SS_MODIFIED_TO_SS * NO_MEMORY * REQUEST_RATE_LIMITED + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_MUTE 54 @@ -3718,6 +3909,9 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * FDN_CHECK_FAILURE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_QUERY_CLIP 55 @@ -3745,6 +3939,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_LAST_CALL_FAIL_CAUSE * @@ -3767,6 +3966,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_UNSOL_DATA_CALL_LIST_CHANGED */ @@ -3872,6 +4076,8 @@ typedef struct { * INTERNAL_ERR * SYSTEM_ERR * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SCREEN_STATE 61 @@ -3900,6 +4106,9 @@ typedef struct { * SYSTEM_ERR * MODEM_ERR * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_UNSOL_SUPP_SVC_NOTIFICATION. */ @@ -3928,6 +4137,9 @@ typedef struct { * INVALID_MODEM_STATE * MODE_NOT_SUPPORTED * INVALID_SMSC_ADDRESS + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_WRITE_SMS_TO_SIM 63 @@ -3951,6 +4163,11 @@ typedef struct { * SYSTEM_ERR * MODEM_ERR * NO_SUCH_ENTRY + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_DELETE_SMS_ON_SIM 64 @@ -3975,6 +4192,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * See also: RIL_REQUEST_QUERY_AVAILABLE_BAND_MODE */ @@ -3999,6 +4218,8 @@ typedef struct { * SYSTEM_ERR * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * See also: RIL_REQUEST_SET_BAND_MODE */ @@ -4019,6 +4240,11 @@ typedef struct { * Valid errors: * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_GET_PROFILE 67 @@ -4036,6 +4262,11 @@ typedef struct { * Valid errors: * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_SET_PROFILE 68 @@ -4057,6 +4288,13 @@ typedef struct { * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * SIM_BUSY * OPERATION_NOT_ALLOWED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_ARGUMENTS + * MODEM_ERR + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND 69 @@ -4075,6 +4313,12 @@ typedef struct { * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * RIL_E_OPERATION_NOT_ALLOWED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE 70 @@ -4096,6 +4340,11 @@ typedef struct { * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * RIL_E_OPERATION_NOT_ALLOWED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM 71 @@ -4120,6 +4369,9 @@ typedef struct { * INVALID_CALL_ID * INVALID_STATE * OPERATION_NOT_ALLOWED + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_EXPLICIT_CALL_TRANSFER 72 @@ -4144,6 +4396,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE 73 @@ -4167,6 +4421,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * See also: RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */ @@ -4189,6 +4445,8 @@ typedef struct { * MODEM_ERR * NO_NETWORK_FOUND * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_GET_NEIGHBORING_CELL_IDS 75 @@ -4217,6 +4475,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * * See also: RIL_REQUEST_SCREEN_STATE, RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED */ @@ -4238,6 +4498,11 @@ typedef struct { * RADIO_NOT_AVAILABLE * SIM_ABSENT * SUBSCRIPTION_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE */ @@ -4265,6 +4530,8 @@ typedef struct { * MODEM_ERR * REQUEST_NOT_SUPPORTED * OPERATION_NOT_ALLOWED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_CDMA_SET_ROAMING_PREFERENCE 78 @@ -4291,6 +4558,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_CDMA_QUERY_ROAMING_PREFERENCE 79 @@ -4313,11 +4582,14 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * INTERNAL_ERR - * NO_MEMOR + * NO_MEMORY * INVALID_ARGUMENTS * MODEM_ERR * INTERNAL_ERR - * NO_MEMORYY + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_TTY_MODE 80 @@ -4343,6 +4615,9 @@ typedef struct { * INTERNAL_ERR * NO_MEMORY * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_QUERY_TTY_MODE 81 @@ -4367,6 +4642,9 @@ typedef struct { * INTERNAL_ERR * NO_MEMORY * INVALID_CALL_ID + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE 82 @@ -4390,6 +4668,9 @@ typedef struct { * INTERNAL_ERR * NO_MEMORY * INVALID_ARGUMENTS + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE 83 @@ -4413,6 +4694,9 @@ typedef struct { * INTERNAL_ERR * INVALID_CALL_ID * INVALID_STATE + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_FLASH 84 @@ -4440,6 +4724,10 @@ typedef struct { * MODEM_ERR * INTERNAL_ERR * INVALID_CALL_ID + * NO_RESOURCES + * CANCELLED + * MODE_NOT_SUPPORTED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_BURST_DTMF 85 @@ -4469,6 +4757,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY 86 @@ -4504,6 +4794,9 @@ typedef struct { * ENCODING_ERR * INVALID_SMSC_ADDRESS * MODE_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_SEND_SMS 87 @@ -4532,6 +4825,7 @@ typedef struct { * MODE_NOT_SUPPORTED * NETWORK_NOT_READY * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_SMS_ACKNOWLEDGE 88 @@ -4556,7 +4850,11 @@ typedef struct { * NO_RESOURCES * MODEM_ERR * SYSTEM_ERR - * + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GSM_GET_BROADCAST_SMS_CONFIG 89 @@ -4580,6 +4878,11 @@ typedef struct { * REQUEST_RATE_LIMITED * MODEM_ERR * SYSTEM_ERR + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_GSM_SET_BROADCAST_SMS_CONFIG 90 @@ -4604,7 +4907,12 @@ typedef struct { * NO_MEMORY * SYSTEM_ERR * REQUEST_RATE_LIMITED - * MODEM_ERR +* MODEM_ERR +* INTERNAL_ERR +* NO_RESOURCES +* CANCELLED +* INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_GSM_SMS_BROADCAST_ACTIVATION 91 @@ -4629,6 +4937,11 @@ typedef struct { * NO_RESOURCES * MODEM_ERR * SYSTEM_ERR + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_GET_BROADCAST_SMS_CONFIG 92 @@ -4653,6 +4966,11 @@ typedef struct { * REQUEST_RATE_LIMITED * MODEM_ERR * SYSTEM_ERR + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_SET_BROADCAST_SMS_CONFIG 93 @@ -4678,6 +4996,11 @@ typedef struct { * SYSTEM_ERR * REQUEST_RATE_LIMITED * MODEM_ERR + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_SMS_BROADCAST_ACTIVATION 94 @@ -4713,6 +5036,9 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED * */ @@ -4742,6 +5068,9 @@ typedef struct { * INVALID_MODEM_STATE * MODE_NOT_SUPPORTED * INVALID_SMSC_ADDRESS + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM 96 @@ -4765,6 +5094,11 @@ typedef struct { * SYSTEM_ERR * MODEM_ERR * NO_SUCH_ENTRY + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM 97 @@ -4800,6 +5134,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_DEVICE_IDENTITY 98 @@ -4825,6 +5161,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_EXIT_EMERGENCY_CALLBACK_MODE 99 @@ -4849,6 +5187,9 @@ typedef struct { * INVALID_ARGUMENTS * INVALID_MODEM_STATE * NOT_PROVISIONED + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_GET_SMSC_ADDRESS 100 @@ -4872,6 +5213,9 @@ typedef struct { * REQUEST_RATE_LIMITED * MODEM_ERR * NO_RESOURCES + * INTERNAL_ERR + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_SET_SMSC_ADDRESS 101 @@ -4896,6 +5240,10 @@ typedef struct { * SYSTEM_ERR * REQUEST_RATE_LIMITED * MODEM_ERR + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_REPORT_SMS_MEMORY_STATUS 102 @@ -4912,6 +5260,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING 103 @@ -4931,6 +5284,11 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE * SUBSCRIPTION_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * * See also: RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE */ @@ -4948,6 +5306,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ISIM_AUTHENTICATION 105 @@ -4968,6 +5331,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_ACKNOWLEDGE_INCOMING_GSM_SMS_WITH_PDU 106 @@ -4995,6 +5363,11 @@ typedef struct { * RIL_E_RADIO_NOT_AVAILABLE (radio resetting) * SIM_BUSY * OPERATION_NOT_ALLOWED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS 107 @@ -5011,6 +5384,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_VOICE_RADIO_TECH 108 @@ -5035,6 +5413,8 @@ typedef struct { * MODEM_ERR * NO_NETWORK_FOUND * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_GET_CELL_INFO_LIST 109 @@ -5060,6 +5440,8 @@ typedef struct { * SYSTEM_ERR * INVALID_ARGUMENTS * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE 110 @@ -5094,6 +5476,8 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_SET_INITIAL_ATTACH_APN 111 @@ -5121,6 +5505,12 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_IMS_REGISTRATION_STATE 112 @@ -5154,6 +5544,10 @@ typedef struct { * ENCODING_ERR * INVALID_SMSC_ADDRESS * MODE_NOT_SUPPORTED + * INTERNAL_ERR + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_IMS_SEND_SMS 113 @@ -5174,6 +5568,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC 114 @@ -5196,6 +5595,14 @@ typedef struct { * RADIO_NOT_AVAILABLE * MISSING_RESOURCE * NO_SUCH_ELEMENT + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * SIM_ERR + * INVALID_SIM_STATE + * MISSING_RESOURCE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_OPEN_CHANNEL 115 @@ -5213,6 +5620,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_CLOSE_CHANNEL 116 @@ -5231,6 +5643,11 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL 117 @@ -5247,6 +5664,7 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_NV_READ_ITEM 118 @@ -5263,6 +5681,7 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_NV_WRITE_ITEM 119 @@ -5279,6 +5698,7 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_NV_WRITE_CDMA_PRL 120 @@ -5298,6 +5718,7 @@ typedef struct { * Valid errors: * SUCCESS * RADIO_NOT_AVAILABLE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_NV_RESET_CONFIG 121 @@ -5320,6 +5741,8 @@ typedef struct { * INVALID_ARGUMENTS * MODEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_SET_UICC_SUBSCRIPTION 122 @@ -5348,6 +5771,8 @@ typedef struct { * DEVICE_IN_USE * INVALID_MODEM_STATE * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_ALLOW_DATA 123 @@ -5361,6 +5786,10 @@ typedef struct { * "data" is NULL * * "response" is an array of RIL_HardwareConfig. + * + * Valid errors: + * RADIO_NOT_AVAILABLE + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_GET_HARDWARE_CONFIG 124 @@ -5382,6 +5811,17 @@ typedef struct { * int sw1; Status bytes per 3GPP TS 31.102 section 7.3 * int sw2; * char *simResponse; Response in Base64 format, see 3GPP TS 31.102 7.1.2 + * + * Valid errors: + * RADIO_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * INVALID_MODEM_STATE + * INVALID_ARGUMENTS + * SIM_ERR + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SIM_AUTHENTICATION 125 @@ -5399,6 +5839,10 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE * REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED * * See also: RIL_UNSOL_DC_RT_INFO_CHANGED */ @@ -5435,6 +5879,11 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE (radio resetting) * SUBSCRIPTION_NOT_AVAILABLE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_SET_DATA_PROFILE 128 @@ -5455,6 +5904,8 @@ typedef struct { * INTERNAL_ERR * SYSTEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SHUTDOWN 129 @@ -5471,6 +5922,10 @@ typedef struct { * OPERATION_NOT_ALLOWED * INVALID_STATE * REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_GET_RADIO_CAPABILITY 130 @@ -5497,6 +5952,8 @@ typedef struct { * MODEM_ERR * INVALID_STATE * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_RADIO_CAPABILITY 131 @@ -5517,6 +5974,9 @@ typedef struct { * LCE_NOT_SUPPORTED * INTERNAL_ERR * REQUEST_NOT_SUPPORTED + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_START_LCE 132 @@ -5532,6 +5992,11 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE * LCE_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_STOP_LCE 133 @@ -5546,6 +6011,11 @@ typedef struct { * SUCCESS * RADIO_NOT_AVAILABLE * LCE_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED */ #define RIL_REQUEST_PULL_LCEDATA 134 @@ -5571,6 +6041,7 @@ typedef struct { * MODEM_ERR * NOT_PROVISIONED * REQUEST_NOT_SUPPORTED + * NO_RESOURCES CANCELLED */ #define RIL_REQUEST_GET_ACTIVITY_INFO 135 @@ -5604,6 +6075,10 @@ typedef struct { * RIL_E_INVALID_ARGUMENTS * RIL_E_RADIO_NOT_AVAILABLE * RIL_E_REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_CARRIER_RESTRICTIONS 136 @@ -5622,6 +6097,10 @@ typedef struct { * RIL_E_SUCCESS * RIL_E_RADIO_NOT_AVAILABLE * RIL_E_REQUEST_NOT_SUPPORTED + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_GET_CARRIER_RESTRICTIONS 137 @@ -5646,6 +6125,8 @@ typedef struct { * SYSTEM_ERR * INVALID_ARGUMENTS * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SEND_DEVICE_STATE 138 @@ -5671,6 +6152,8 @@ typedef struct { * INTERNAL_ERR * SYSTEM_ERR * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER 139 @@ -5698,6 +6181,10 @@ typedef struct { * REQUEST_NOT_SUPPORTED * SIM_ABSENT * INVALID_ARGUMENTS + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_SIM_CARD_POWER 140 @@ -5719,6 +6206,10 @@ typedef struct { * RIL_E_REQUEST_NOT_SUPPORTED * INVALID_ARGUMENTS * MODEM_INTERNAL_FAILURE + * INTERNAL_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED */ #define RIL_REQUEST_SET_CARRIER_INFO_IMSI_ENCRYPTION 141 @@ -5743,6 +6234,8 @@ typedef struct { * MODEM_ERR * INVALID_ARGUMENTS * REQUEST_NOT_SUPPORTED + * NO_RESOURCES + * CANCELLED * */ #define RIL_REQUEST_START_NETWORK_SCAN 142 @@ -5762,6 +6255,10 @@ typedef struct { * SUCCESS * INTERNAL_ERR * MODEM_ERR + * NO_MEMORY + * NO_RESOURCES + * CANCELLED + * REQUEST_NOT_SUPPORTED * */ #define RIL_REQUEST_STOP_NETWORK_SCAN 143 -- cgit v1.2.3