Merge "sync RadioError from IRadio 1.6" am: 9c06156252 am: f56624d96f

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1475822

Change-Id: I1cc8b66fdaeeb451482be61f3f38a484d7d9c6b3
This commit is contained in:
Treehugger Robot
2020-11-03 10:29:29 +00:00
committed by Automerger Merge Worker

View File

@@ -37,31 +37,34 @@ public interface RILConstants {
int SIM_PUK2 = 5; /* Operation requires SIM PIN2 to be entered */ int SIM_PUK2 = 5; /* Operation requires SIM PIN2 to be entered */
int REQUEST_NOT_SUPPORTED = 6; int REQUEST_NOT_SUPPORTED = 6;
int REQUEST_CANCELLED = 7; int REQUEST_CANCELLED = 7;
int OP_NOT_ALLOWED_DURING_VOICE_CALL = 8; /* data operation is not allowed during voice call in int OP_NOT_ALLOWED_DURING_VOICE_CALL = 8; /* data operation is not allowed during voice
class C */ call in class C */
int OP_NOT_ALLOWED_BEFORE_REG_NW = 9; /* request is not allowed before device registers to int OP_NOT_ALLOWED_BEFORE_REG_NW = 9; /* request is not allowed before device
network */ registers to network */
int SMS_SEND_FAIL_RETRY = 10; /* send sms fail and need retry */ int SMS_SEND_FAIL_RETRY = 10; /* send sms fail and need retry */
int SIM_ABSENT = 11; /* ICC card is absent */ int SIM_ABSENT = 11; /* ICC card is absent */
int SUBSCRIPTION_NOT_AVAILABLE = 12; /* fail to find CDMA subscription from specified int SUBSCRIPTION_NOT_AVAILABLE = 12; /* fail to find CDMA subscription from specified
location */ location */
int MODE_NOT_SUPPORTED = 13; /* HW does not support preferred network type */ int MODE_NOT_SUPPORTED = 13; /* HW does not support preferred network type */
int FDN_CHECK_FAILURE = 14; /* send operation barred error when FDN is enabled */ int FDN_CHECK_FAILURE = 14; /* send operation barred error when FDN is
int ILLEGAL_SIM_OR_ME = 15; /* network selection failure due enabled */
to wrong SIM/ME and no int ILLEGAL_SIM_OR_ME = 15; /* network selection failure due to wrong
retries needed */ SIM/ME and no retries needed */
int MISSING_RESOURCE = 16; /* no logical channel available */ int MISSING_RESOURCE = 16; /* no logical channel available */
int NO_SUCH_ELEMENT = 17; /* application not found on SIM */ int NO_SUCH_ELEMENT = 17; /* application not found on SIM */
int DIAL_MODIFIED_TO_USSD = 18; /* DIAL request modified to USSD */ int DIAL_MODIFIED_TO_USSD = 18; /* DIAL request modified to USSD */
int DIAL_MODIFIED_TO_SS = 19; /* DIAL request modified to SS */ int DIAL_MODIFIED_TO_SS = 19; /* DIAL request modified to SS */
int DIAL_MODIFIED_TO_DIAL = 20; /* DIAL request modified to DIAL with different data*/ int DIAL_MODIFIED_TO_DIAL = 20; /* DIAL request modified to DIAL with
different data*/
int USSD_MODIFIED_TO_DIAL = 21; /* USSD request modified to DIAL */ int USSD_MODIFIED_TO_DIAL = 21; /* USSD request modified to DIAL */
int USSD_MODIFIED_TO_SS = 22; /* USSD request modified to SS */ int USSD_MODIFIED_TO_SS = 22; /* USSD request modified to SS */
int USSD_MODIFIED_TO_USSD = 23; /* USSD request modified to different USSD request */ int USSD_MODIFIED_TO_USSD = 23; /* USSD request modified to different USSD
request */
int SS_MODIFIED_TO_DIAL = 24; /* SS request modified to DIAL */ int SS_MODIFIED_TO_DIAL = 24; /* SS request modified to DIAL */
int SS_MODIFIED_TO_USSD = 25; /* SS request modified to USSD */ int SS_MODIFIED_TO_USSD = 25; /* SS request modified to USSD */
int SUBSCRIPTION_NOT_SUPPORTED = 26; /* Subscription not supported */ int SUBSCRIPTION_NOT_SUPPORTED = 26; /* Subscription not supported */
int SS_MODIFIED_TO_SS = 27; /* SS request modified to different SS request */ int SS_MODIFIED_TO_SS = 27; /* SS request modified to different SS
request */
int SIM_ALREADY_POWERED_OFF = 29; /* SAP: 0x03, Error card aleready powered off */ int SIM_ALREADY_POWERED_OFF = 29; /* SAP: 0x03, Error card aleready powered off */
int SIM_ALREADY_POWERED_ON = 30; /* SAP: 0x05, Error card already powered on */ int SIM_ALREADY_POWERED_ON = 30; /* SAP: 0x05, Error card already powered on */
int SIM_DATA_NOT_AVAILABLE = 31; /* SAP: 0x06, Error data not available */ int SIM_DATA_NOT_AVAILABLE = 31; /* SAP: 0x06, Error data not available */
@@ -69,21 +72,28 @@ public interface RILConstants {
int SIM_SAP_MSG_SIZE_TOO_LARGE = 33; int SIM_SAP_MSG_SIZE_TOO_LARGE = 33;
int SIM_SAP_MSG_SIZE_TOO_SMALL = 34; int SIM_SAP_MSG_SIZE_TOO_SMALL = 34;
int SIM_SAP_CONNECT_OK_CALL_ONGOING = 35; int SIM_SAP_CONNECT_OK_CALL_ONGOING = 35;
int LCE_NOT_SUPPORTED = 36; /* Link Capacity Estimation (LCE) not supported */ int LCE_NOT_SUPPORTED = 36; /* Link Capacity Estimation (LCE) not
int NO_MEMORY = 37; /* Not sufficient memory to process the request */ supported */
int INTERNAL_ERR = 38; /* Hit unexpected vendor internal error scenario */ int NO_MEMORY = 37; /* Not sufficient memory to process the
request */
int INTERNAL_ERR = 38; /* Hit unexpected vendor internal error
scenario */
int SYSTEM_ERR = 39; /* Hit platform or system error */ int SYSTEM_ERR = 39; /* Hit platform or system error */
int MODEM_ERR = 40; /* Hit unexpected modem error */ int MODEM_ERR = 40; /* Hit unexpected modem error */
int INVALID_STATE = 41; /* Unexpected request for the current state */ int INVALID_STATE = 41; /* Unexpected request for the current state */
int NO_RESOURCES = 42; /* Not sufficient resource to process the request */ int NO_RESOURCES = 42; /* Not sufficient resource to process the
request */
int SIM_ERR = 43; /* Received error from SIM card */ int SIM_ERR = 43; /* Received error from SIM card */
int INVALID_ARGUMENTS = 44; /* Received invalid arguments in request */ int INVALID_ARGUMENTS = 44; /* Received invalid arguments in request */
int INVALID_SIM_STATE = 45; /* Can not process the request in current SIM state */ int INVALID_SIM_STATE = 45; /* Can not process the request in current SIM
int INVALID_MODEM_STATE = 46; /* Can not process the request in current Modem state */ state */
int INVALID_MODEM_STATE = 46; /* Can not process the request in current Modem
state */
int INVALID_CALL_ID = 47; /* Received invalid call id in request */ int INVALID_CALL_ID = 47; /* Received invalid call id in request */
int NO_SMS_TO_ACK = 48; /* ACK received when there is no SMS to ack */ int NO_SMS_TO_ACK = 48; /* ACK received when there is no SMS to ack */
int NETWORK_ERR = 49; /* Received error from network */ int NETWORK_ERR = 49; /* Received error from network */
int REQUEST_RATE_LIMITED = 50; /* Operation denied due to overly-frequent requests */ int REQUEST_RATE_LIMITED = 50; /* Operation denied due to overly-frequent
requests */
int SIM_BUSY = 51; /* SIM is busy */ int SIM_BUSY = 51; /* SIM is busy */
int SIM_FULL = 52; /* The target EF is full */ int SIM_FULL = 52; /* The target EF is full */
int NETWORK_REJECT = 53; /* Request is rejected by network */ int NETWORK_REJECT = 53; /* Request is rejected by network */
@@ -92,15 +102,24 @@ public interface RILConstants {
int INVALID_SMS_FORMAT = 56; /* Invalid sms format */ int INVALID_SMS_FORMAT = 56; /* Invalid sms format */
int ENCODING_ERR = 57; /* Message not encoded properly */ int ENCODING_ERR = 57; /* Message not encoded properly */
int INVALID_SMSC_ADDRESS = 58; /* SMSC address specified is invalid */ int INVALID_SMSC_ADDRESS = 58; /* SMSC address specified is invalid */
int NO_SUCH_ENTRY = 59; /* No such entry present to perform the request */ int NO_SUCH_ENTRY = 59; /* No such entry present to perform the
int NETWORK_NOT_READY = 60; /* Network is not ready to perform the request */ request */
int NOT_PROVISIONED = 61; /* Device doesnot have this value provisioned */ int NETWORK_NOT_READY = 60; /* Network is not ready to perform the
request */
int NOT_PROVISIONED = 61; /* Device doesnot have this value
provisioned */
int NO_SUBSCRIPTION = 62; /* Device doesnot have subscription */ int NO_SUBSCRIPTION = 62; /* Device doesnot have subscription */
int NO_NETWORK_FOUND = 63; /* Network cannot be found */ int NO_NETWORK_FOUND = 63; /* Network cannot be found */
int DEVICE_IN_USE = 64; /* Operation cannot be performed because the device int DEVICE_IN_USE = 64; /* Operation cannot be performed because the
is currently in use */ device is currently in use */
int ABORTED = 65; /* Operation aborted */ int ABORTED = 65; /* Operation aborted */
int INVALID_RESPONSE = 66; /* Invalid response sent by vendor code */ int INVALID_RESPONSE = 66; /* Invalid response sent by vendor code */
int SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWED = 67; /* 1X voice and SMS are not allowed
simulteneously */
int ACCESS_BARRED = 68; /* SMS access is barred */
int BLOCKED_DUE_TO_CALL = 69; /* SMS is blocked due to call control */
int RF_HARDWARE_ISSUE = 70; /* RF HW issue is detected */
int NO_RF_CALIBRATION_INFO = 71; /* No RF calibration in device */
// Below is list of OEM specific error codes which can by used by OEMs in case they don't want to // Below is list of OEM specific error codes which can by used by OEMs in case they don't want to
// reveal particular replacement for Generic failure // reveal particular replacement for Generic failure