Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package android.telephony; |
| 18 | |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 19 | import android.annotation.SystemApi; |
| 20 | |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 21 | /** |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 22 | * Contains precise disconnect call causes generated by the framework and the RIL. |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 23 | * @hide |
| 24 | */ |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 25 | @SystemApi |
chen xu | 7621ff2 | 2019-02-21 19:17:22 -0800 | [diff] [blame] | 26 | public final class PreciseDisconnectCause { |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 27 | |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 28 | /** The disconnect cause is not valid (Not received a disconnect cause).*/ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 29 | public static final int NOT_VALID = -1; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 30 | /** No disconnect cause provided. Generally a local disconnect or an incoming missed call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 31 | public static final int NO_DISCONNECT_CAUSE_AVAILABLE = 0; |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 32 | /** |
| 33 | * The destination cannot be reached because the number, although valid, |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 34 | * is not currently assigned. |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 35 | */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 36 | public static final int UNOBTAINABLE_NUMBER = 1; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 37 | /** |
| 38 | * The user cannot be reached because the network through which the call has been routed does |
| 39 | * not serve the destination desired. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 40 | */ |
| 41 | public static final int NO_ROUTE_TO_DESTINATION = 3; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 42 | /** |
| 43 | * The channel most recently identified is not acceptable to the sending entity for use in this |
| 44 | * call. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 45 | */ |
| 46 | public static final int CHANNEL_UNACCEPTABLE = 6; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 47 | /** |
| 48 | * The mobile station (MS) has tried to access a service that the MS's network operator or |
| 49 | * service provider is not prepared to allow. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 50 | */ |
| 51 | public static final int OPERATOR_DETERMINED_BARRING = 8; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 52 | /** One of the users involved in the call has requested that the call is cleared. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 53 | public static final int NORMAL = 16; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 54 | /** The called user is unable to accept another call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 55 | public static final int BUSY = 17; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 56 | /** |
| 57 | * The user does not respond to a call establishment message with either an alerting or connect |
| 58 | * indication within the prescribed period of time allocated. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 59 | */ |
| 60 | public static final int NO_USER_RESPONDING = 18; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 61 | /** |
| 62 | * The user has provided an alerting indication but has not provided a connect indication |
| 63 | * within a prescribed period of time. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 64 | */ |
| 65 | public static final int NO_ANSWER_FROM_USER = 19; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 66 | /** The equipment sending this cause does not wish to accept this call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 67 | public static final int CALL_REJECTED = 21; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 68 | /** The called number is no longer assigned. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 69 | public static final int NUMBER_CHANGED = 22; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 70 | /** |
| 71 | * This cause is returned to the network when a mobile station clears an active call which is |
| 72 | * being pre-empted by another call with higher precedence. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 73 | */ |
| 74 | public static final int PREEMPTION = 25; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 75 | /** |
| 76 | * The destination indicated by the mobile station cannot be reached because the interface to |
| 77 | * the destination is not functioning correctly. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 78 | */ |
| 79 | public static final int DESTINATION_OUT_OF_ORDER = 27; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 80 | /** The called party number is not a valid format or is not complete. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 81 | public static final int INVALID_NUMBER_FORMAT = 28; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 82 | /** The facility requested by user can not be provided by the network. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 83 | public static final int FACILITY_REJECTED = 29; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 84 | /** Provided in response to a STATUS ENQUIRY message. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 85 | public static final int STATUS_ENQUIRY = 30; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 86 | /** Reports a normal disconnect only when no other normal cause applies. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 87 | public static final int NORMAL_UNSPECIFIED = 31; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 88 | /** There is no channel presently available to handle the call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 89 | public static final int NO_CIRCUIT_AVAIL = 34; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 90 | /** |
| 91 | * The network is not functioning correctly and that the condition is likely to last a |
| 92 | * relatively long period of time. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 93 | */ |
| 94 | public static final int NETWORK_OUT_OF_ORDER = 38; |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 95 | /** |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 96 | * The network is not functioning correctly and the condition is not likely to last a long |
| 97 | * period of time. |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 98 | */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 99 | public static final int TEMPORARY_FAILURE = 41; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 100 | /** The switching equipment is experiencing a period of high traffic. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 101 | public static final int SWITCHING_CONGESTION = 42; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 102 | /** The network could not deliver access information to the remote user as requested. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 103 | public static final int ACCESS_INFORMATION_DISCARDED = 43; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 104 | /** The channel cannot be provided. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 105 | public static final int CHANNEL_NOT_AVAIL = 44; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 106 | /** |
| 107 | * This cause is used to report a resource unavailable event only when no other cause in the |
| 108 | * resource unavailable class applies. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 109 | */ |
Jayachandran C | 7957147 | 2018-04-06 01:10:38 -0700 | [diff] [blame] | 110 | public static final int RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 111 | /** The requested quality of service (ITU-T X.213) cannot be provided. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 112 | public static final int QOS_NOT_AVAIL = 49; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 113 | /** |
| 114 | * The facility could not be provided by the network because the user has no complete |
| 115 | * subscription. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 116 | */ |
| 117 | public static final int REQUESTED_FACILITY_NOT_SUBSCRIBED = 50; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 118 | /** Incoming calls are not allowed within this calling user group (CUG). */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 119 | public static final int INCOMING_CALLS_BARRED_WITHIN_CUG = 55; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 120 | /** The mobile station is not authorized to use bearer capability requested. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 121 | public static final int BEARER_CAPABILITY_NOT_AUTHORIZED = 57; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 122 | /** The requested bearer capability is not available at this time. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 123 | public static final int BEARER_NOT_AVAIL = 58; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 124 | /** The service option is not availble at this time. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 125 | public static final int SERVICE_OPTION_NOT_AVAILABLE = 63; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 126 | /** The equipment sending this cause does not support the bearer capability requested. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 127 | public static final int BEARER_SERVICE_NOT_IMPLEMENTED = 65; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 128 | /** The call clearing is due to ACM being greater than or equal to ACMmax. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 129 | public static final int ACM_LIMIT_EXCEEDED = 68; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 130 | /** The equipment sending this cause does not support the requested facility. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 131 | public static final int REQUESTED_FACILITY_NOT_IMPLEMENTED = 69; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 132 | /** |
| 133 | * The equipment sending this cause only supports the restricted version of the requested bearer |
| 134 | * capability. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 135 | */ |
| 136 | public static final int ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 137 | /** The service requested is not implemented at network. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 138 | public static final int SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 139 | /** |
| 140 | * The equipment sending this cause has received a message with a transaction identifier |
| 141 | * which is not currently in use on the mobile station network interface. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 142 | */ |
| 143 | public static final int INVALID_TRANSACTION_IDENTIFIER = 81; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 144 | /** |
| 145 | * The called user for the incoming CUG call is not a member of the specified calling user |
| 146 | * group (CUG). |
| 147 | */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 148 | public static final int USER_NOT_MEMBER_OF_CUG = 87; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 149 | /** The equipment sending this cause has received a request which can't be accomodated. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 150 | public static final int INCOMPATIBLE_DESTINATION = 88; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 151 | /** This cause is used to report receipt of a message with semantically incorrect contents. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 152 | public static final int SEMANTICALLY_INCORRECT_MESSAGE = 95; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 153 | /** |
| 154 | * The equipment sending this cause has received a message with a non-semantical mandatory |
| 155 | * information element (IE) error. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 156 | */ |
| 157 | public static final int INVALID_MANDATORY_INFORMATION = 96; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 158 | /** |
| 159 | * This is sent in response to a message which is not defined, or defined but not implemented |
| 160 | * by the equipment sending this cause. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 161 | */ |
| 162 | public static final int MESSAGE_TYPE_NON_IMPLEMENTED = 97; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 163 | /** |
| 164 | * The equipment sending this cause has received a message not compatible with the protocol |
| 165 | * state. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 166 | */ |
| 167 | public static final int MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 168 | /** |
| 169 | * The equipment sending this cause has received a message which includes information |
| 170 | * elements not recognized because its identifier is not defined or it is defined but not |
| 171 | * implemented by the equipment sending the cause. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 172 | */ |
| 173 | public static final int INFORMATION_ELEMENT_NON_EXISTENT = 99; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 174 | /** The equipment sending this cause has received a message with conditional IE errors. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 175 | public static final int CONDITIONAL_IE_ERROR = 100; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 176 | /** The message has been received which is incompatible with the protocol state. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 177 | public static final int MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 178 | /** |
| 179 | * The procedure has been initiated by the expiry of a timer in association with |
| 180 | * 3GPP TS 24.008 error handling procedures. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 181 | */ |
| 182 | public static final int RECOVERY_ON_TIMER_EXPIRED = 102; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 183 | /** |
| 184 | * This protocol error event is reported only when no other cause in the protocol error class |
| 185 | * applies. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 186 | */ |
| 187 | public static final int PROTOCOL_ERROR_UNSPECIFIED = 111; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 188 | /** |
| 189 | * Interworking with a network which does not provide causes for actions it takes thus, the |
| 190 | * precise cause for a message which is being sent cannot be ascertained. |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 191 | */ |
| 192 | public static final int INTERWORKING_UNSPECIFIED = 127; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 193 | /** The call is restricted. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 194 | public static final int CALL_BARRED = 240; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 195 | /** The call is blocked by the Fixed Dialing Number list. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 196 | public static final int FDN_BLOCKED = 241; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 197 | /** The given IMSI is not known at the Visitor Location Register (VLR) TS 24.008 cause . */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 198 | public static final int IMSI_UNKNOWN_IN_VLR = 242; |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 199 | /** |
| 200 | * The network does not accept emergency call establishment using an IMEI or not accept attach |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 201 | * procedure for emergency services using an IMEI. |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 202 | */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 203 | public static final int IMEI_NOT_ACCEPTED = 243; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 204 | /** The call cannot be established because RADIO is OFF. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 205 | public static final int RADIO_OFF = 247; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 206 | /** The call cannot be established because of no cell coverage. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 207 | public static final int OUT_OF_SRV = 248; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 208 | /** The call cannot be established because of no valid SIM. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 209 | public static final int NO_VALID_SIM = 249; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 210 | /** The call is dropped or failed internally by modem. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 211 | public static final int RADIO_INTERNAL_ERROR = 250; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 212 | /** Call failed because of UE timer expired while waiting for a response from network. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 213 | public static final int NETWORK_RESP_TIMEOUT = 251; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 214 | /** Call failed because of a network reject. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 215 | public static final int NETWORK_REJECT = 252; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 216 | /** Call failed because of radio access failure. ex. RACH failure. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 217 | public static final int RADIO_ACCESS_FAILURE = 253; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 218 | /** Call failed/dropped because of a Radio Link Failure (RLF). */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 219 | public static final int RADIO_LINK_FAILURE = 254; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 220 | /** Call failed/dropped because of radio link lost. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 221 | public static final int RADIO_LINK_LOST = 255; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 222 | /** Call failed because of a radio uplink issue. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 223 | public static final int RADIO_UPLINK_FAILURE = 256; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 224 | /** Call failed because of a RRC (Radio Resource Control) connection setup failure. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 225 | public static final int RADIO_SETUP_FAILURE = 257; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 226 | /** Call failed/dropped because of RRC (Radio Resource Control) connection release from NW. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 227 | public static final int RADIO_RELEASE_NORMAL = 258; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 228 | /** |
| 229 | * Call failed/dropped because of RRC (Radio Resource Control) abnormally released by |
| 230 | * modem/network. |
| 231 | */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 232 | public static final int RADIO_RELEASE_ABNORMAL = 259; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 233 | /** Call setup failed because of access class barring. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 234 | public static final int ACCESS_CLASS_BLOCKED = 260; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 235 | /** Call failed/dropped because of a network detach. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 236 | public static final int NETWORK_DETACH = 261; |
| 237 | |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 238 | /** Mobile station (MS) is locked until next power cycle. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 239 | public static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 240 | /** Drop call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 241 | public static final int CDMA_DROP = 1001; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 242 | /** INTERCEPT order received, Mobile station (MS) state idle entered. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 243 | public static final int CDMA_INTERCEPT = 1002; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 244 | /** Mobile station (MS) has been redirected, call is cancelled. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 245 | public static final int CDMA_REORDER = 1003; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 246 | /** Service option rejection. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 247 | public static final int CDMA_SO_REJECT = 1004; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 248 | /** Requested service is rejected, retry delay is set. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 249 | public static final int CDMA_RETRY_ORDER = 1005; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 250 | /** Unable to obtain access to the CDMA system. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 251 | public static final int CDMA_ACCESS_FAILURE = 1006; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 252 | /** Not a preempted call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 253 | public static final int CDMA_PREEMPTED = 1007; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 254 | /** Not an emergency call. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 255 | public static final int CDMA_NOT_EMERGENCY = 1008; |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 256 | /** Access Blocked by CDMA network. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 257 | public static final int CDMA_ACCESS_BLOCKED = 1009; |
| 258 | |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 259 | /* OEM specific error codes. To be used by OEMs when they don't want to |
| 260 | reveal error code which would be replaced by ERROR_UNSPECIFIED */ |
| 261 | public static final int OEM_CAUSE_1 = 0xf001; |
| 262 | public static final int OEM_CAUSE_2 = 0xf002; |
| 263 | public static final int OEM_CAUSE_3 = 0xf003; |
| 264 | public static final int OEM_CAUSE_4 = 0xf004; |
| 265 | public static final int OEM_CAUSE_5 = 0xf005; |
| 266 | public static final int OEM_CAUSE_6 = 0xf006; |
| 267 | public static final int OEM_CAUSE_7 = 0xf007; |
| 268 | public static final int OEM_CAUSE_8 = 0xf008; |
| 269 | public static final int OEM_CAUSE_9 = 0xf009; |
| 270 | public static final int OEM_CAUSE_10 = 0xf00a; |
| 271 | public static final int OEM_CAUSE_11 = 0xf00b; |
| 272 | public static final int OEM_CAUSE_12 = 0xf00c; |
| 273 | public static final int OEM_CAUSE_13 = 0xf00d; |
| 274 | public static final int OEM_CAUSE_14 = 0xf00e; |
| 275 | public static final int OEM_CAUSE_15 = 0xf00f; |
| 276 | |
chen xu | 970d779 | 2018-12-12 19:59:30 -0800 | [diff] [blame] | 277 | /** Disconnected due to unspecified reasons. */ |
Jayachandran C | 5cbaddd | 2017-03-07 23:59:15 -0800 | [diff] [blame] | 278 | public static final int ERROR_UNSPECIFIED = 0xffff; |
Antonio Marín Cerezuela | c5ac15a | 2013-05-27 11:36:36 +0200 | [diff] [blame] | 279 | |
| 280 | /** Private constructor to avoid class instantiation. */ |
| 281 | private PreciseDisconnectCause() { |
| 282 | // Do nothing. |
| 283 | } |
| 284 | } |