Merge "Remove ImsReasonInfo from PreciseDisconnectCause" am: 090bad77f1

Change-Id: Id5dd12584bf788c057b52ca74d3b3ba043ad2c18
This commit is contained in:
Automerger Merge Worker
2020-02-13 19:19:54 +00:00

View File

@@ -256,337 +256,6 @@ public final class PreciseDisconnectCause {
/** Access Blocked by CDMA network. */
public static final int CDMA_ACCESS_BLOCKED = 1009;
/** Mapped from ImsReasonInfo */
// TODO: remove ImsReasonInfo from preciseDisconnectCause
/* The passed argument is an invalid */
/** @hide */
public static final int LOCAL_ILLEGAL_ARGUMENT = 1200;
// The operation is invoked in invalid call state
/** @hide */
public static final int LOCAL_ILLEGAL_STATE = 1201;
// IMS service internal error
/** @hide */
public static final int LOCAL_INTERNAL_ERROR = 1202;
// IMS service goes down (service connection is lost)
/** @hide */
public static final int LOCAL_IMS_SERVICE_DOWN = 1203;
// No pending incoming call exists
/** @hide */
public static final int LOCAL_NO_PENDING_CALL = 1204;
// Service unavailable; by power off
/** @hide */
public static final int LOCAL_POWER_OFF = 1205;
// Service unavailable; by low battery
/** @hide */
public static final int LOCAL_LOW_BATTERY = 1206;
// Service unavailable; by out of service (data service state)
/** @hide */
public static final int LOCAL_NETWORK_NO_SERVICE = 1207;
/* Service unavailable; by no LTE coverage
* (VoLTE is not supported even though IMS is registered)
*/
/** @hide */
public static final int LOCAL_NETWORK_NO_LTE_COVERAGE = 1208;
/** Service unavailable; by located in roaming area */
/** @hide */
public static final int LOCAL_NETWORK_ROAMING = 1209;
/** Service unavailable; by IP changed */
/** @hide */
public static final int LOCAL_NETWORK_IP_CHANGED = 1210;
/** Service unavailable; other */
/** @hide */
public static final int LOCAL_SERVICE_UNAVAILABLE = 1211;
/* Service unavailable; IMS connection is lost (IMS is not registered) */
/** @hide */
public static final int LOCAL_NOT_REGISTERED = 1212;
/** Max call exceeded */
/** @hide */
public static final int LOCAL_MAX_CALL_EXCEEDED = 1213;
/** Call decline */
/** @hide */
public static final int LOCAL_CALL_DECLINE = 1214;
/** SRVCC is in progress */
/** @hide */
public static final int LOCAL_CALL_VCC_ON_PROGRESSING = 1215;
/** Resource reservation is failed (QoS precondition) */
/** @hide */
public static final int LOCAL_CALL_RESOURCE_RESERVATION_FAILED = 1216;
/** Retry CS call; VoLTE service can't be provided by the network or remote end
* Resolve the extra code(EXTRA_CODE_CALL_RETRY_*) if the below code is set
* @hide
*/
public static final int LOCAL_CALL_CS_RETRY_REQUIRED = 1217;
/** Retry VoLTE call; VoLTE service can't be provided by the network temporarily */
/** @hide */
public static final int LOCAL_CALL_VOLTE_RETRY_REQUIRED = 1218;
/** IMS call is already terminated (in TERMINATED state) */
/** @hide */
public static final int LOCAL_CALL_TERMINATED = 1219;
/** Handover not feasible */
/** @hide */
public static final int LOCAL_HO_NOT_FEASIBLE = 1220;
/** 1xx waiting timer is expired after sending INVITE request (MO only) */
/** @hide */
public static final int TIMEOUT_1XX_WAITING = 1221;
/** User no answer during call setup operation (MO/MT)
* MO : 200 OK to INVITE request is not received,
* MT : No action from user after alerting the call
* @hide
*/
public static final int TIMEOUT_NO_ANSWER = 1222;
/** User no answer during call update operation (MO/MT)
* MO : 200 OK to re-INVITE request is not received,
* MT : No action from user after alerting the call
* @hide
*/
public static final int TIMEOUT_NO_ANSWER_CALL_UPDATE = 1223;
/**
* STATUSCODE (SIP response code) (IMS -> Telephony)
*/
/** SIP request is redirected */
/** @hide */
public static final int SIP_REDIRECTED = 1300;
/** 4xx responses */
/** 400 : Bad Request */
/** @hide */
public static final int SIP_BAD_REQUEST = 1310;
/** 403 : Forbidden */
/** @hide */
public static final int SIP_FORBIDDEN = 1311;
/** 404 : Not Found */
/** @hide */
public static final int SIP_NOT_FOUND = 1312;
/** 415 : Unsupported Media Type
* 416 : Unsupported URI Scheme
* 420 : Bad Extension
*/
/** @hide */
public static final int SIP_NOT_SUPPORTED = 1313;
/** 408 : Request Timeout */
/** @hide */
public static final int SIP_REQUEST_TIMEOUT = 1314;
/** 480 : Temporarily Unavailable */
/** @hide */
public static final int SIP_TEMPRARILY_UNAVAILABLE = 1315;
/** 484 : Address Incomplete */
/** @hide */
public static final int SIP_BAD_ADDRESS = 1316;
/** 486 : Busy Here
* 600 : Busy Everywhere
*/
/** @hide */
public static final int SIP_BUSY = 1317;
/** 487 : Request Terminated */
/** @hide */
public static final int SIP_REQUEST_CANCELLED = 1318;
/** 406 : Not Acceptable
* 488 : Not Acceptable Here
* 606 : Not Acceptable
*/
/** @hide */
public static final int SIP_NOT_ACCEPTABLE = 1319;
/** 410 : Gone
* 604 : Does Not Exist Anywhere
*/
/** @hide */
public static final int SIP_NOT_REACHABLE = 1320;
/** Others */
/** @hide */
public static final int SIP_CLIENT_ERROR = 1321;
/** 481 : Transaction Does Not Exist */
/** @hide */
public static final int SIP_TRANSACTION_DOES_NOT_EXIST = 1322;
/** 5xx responses
* 501 : Server Internal Error
*/
/** @hide */
public static final int SIP_SERVER_INTERNAL_ERROR = 1330;
/** 503 : Service Unavailable */
/** @hide */
public static final int SIP_SERVICE_UNAVAILABLE = 1331;
/** 504 : Server Time-out */
/** @hide */
public static final int SIP_SERVER_TIMEOUT = 1332;
/** Others */
/** @hide */
public static final int SIP_SERVER_ERROR = 1333;
/** 6xx responses
* 603 : Decline
*/
/** @hide */
public static final int SIP_USER_REJECTED = 1340;
/** Others */
/** @hide */
public static final int SIP_GLOBAL_ERROR = 1341;
/** Emergency failure */
/** @hide */
public static final int EMERGENCY_TEMP_FAILURE = 1342;
/** @hide */
public static final int EMERGENCY_PERM_FAILURE = 1343;
/** Media resource initialization failed */
/** @hide */
public static final int MEDIA_INIT_FAILED = 1400;
/** RTP timeout (no audio / video traffic in the session) */
/** @hide */
public static final int MEDIA_NO_DATA = 1401;
/** Media is not supported; so dropped the call */
/** @hide */
public static final int MEDIA_NOT_ACCEPTABLE = 1402;
/** Unknown media related errors */
/** @hide */
public static final int MEDIA_UNSPECIFIED = 1403;
/** User triggers the call end */
/** @hide */
public static final int USER_TERMINATED = 1500;
/** No action while an incoming call is ringing */
/** @hide */
public static final int USER_NOANSWER = 1501;
/** User ignores an incoming call */
/** @hide */
public static final int USER_IGNORE = 1502;
/** User declines an incoming call */
/** @hide */
public static final int USER_DECLINE = 1503;
/** Device declines/ends a call due to low battery */
/** @hide */
public static final int LOW_BATTERY = 1504;
/** Device declines call due to blacklisted call ID */
/** @hide */
public static final int BLACKLISTED_CALL_ID = 1505;
/** The call is terminated by the network or remote user */
/** @hide */
public static final int USER_TERMINATED_BY_REMOTE = 1510;
/**
* UT
*/
/** @hide */
public static final int UT_NOT_SUPPORTED = 1800;
/** @hide */
public static final int UT_SERVICE_UNAVAILABLE = 1801;
/** @hide */
public static final int UT_OPERATION_NOT_ALLOWED = 1802;
/** @hide */
public static final int UT_NETWORK_ERROR = 1803;
/** @hide */
public static final int UT_CB_PASSWORD_MISMATCH = 1804;
/**
* ECBM
* @hide
*/
public static final int ECBM_NOT_SUPPORTED = 1900;
/**
* Fail code used to indicate that Multi-endpoint is not supported by the Ims framework.
* @hide
*/
public static final int MULTIENDPOINT_NOT_SUPPORTED = 1901;
/**
* CALL DROP error codes (Call could drop because of many reasons like Network not available,
* handover, failed, etc)
*/
/**
* CALL DROP error code for the case when a device is ePDG capable and when the user is on an
* active wifi call and at the edge of coverage and there is no qualified LTE network available
* to handover the call to. We get a handover NOT_TRIGERRED message from the modem. This error
* code is received as part of the handover message.
* @hide
*/
public static final int CALL_DROP_IWLAN_TO_LTE_UNAVAILABLE = 2000;
/**
* MT call has ended due to a release from the network
* because the call was answered elsewhere
* @hide
*/
public static final int ANSWERED_ELSEWHERE = 2100;
/**
* For MultiEndpoint - Call Pull request has failed
* @hide
*/
public static final int CALL_PULL_OUT_OF_SYNC = 2101;
/**
* For MultiEndpoint - Call has been pulled from primary to secondary
* @hide
*/
public static final int CALL_PULLED = 2102;
/**
* Supplementary services (HOLD/RESUME) failure error codes.
* Values for Supplemetary services failure - Failed, Cancelled and Re-Invite collision.
* @hide
*/
public static final int SUPP_SVC_FAILED = 2300;
/** @hide */
public static final int SUPP_SVC_CANCELLED = 2301;
/** @hide */
public static final int SUPP_SVC_REINVITE_COLLISION = 2302;
/**
* DPD Procedure received no response or send failed
* @hide
*/
public static final int IWLAN_DPD_FAILURE = 2400;
/**
* Establishment of the ePDG Tunnel Failed
* @hide
*/
public static final int EPDG_TUNNEL_ESTABLISH_FAILURE = 2500;
/**
* Re-keying of the ePDG Tunnel Failed; may not always result in teardown
* @hide
*/
public static final int EPDG_TUNNEL_REKEY_FAILURE = 2501;
/**
* Connection to the packet gateway is lost
* @hide
*/
public static final int EPDG_TUNNEL_LOST_CONNECTION = 2502;
/**
* The maximum number of calls allowed has been reached. Used in a multi-endpoint scenario
* where the number of calls across all connected devices has reached the maximum.
* @hide
*/
public static final int MAXIMUM_NUMBER_OF_CALLS_REACHED = 2503;
/**
* Similar to {@link #CODE_LOCAL_CALL_DECLINE}, except indicates that a remote device has
* declined the call. Used in a multi-endpoint scenario where a remote device declined an
* incoming call.
* @hide
*/
public static final int REMOTE_CALL_DECLINE = 2504;
/**
* Indicates the call was disconnected due to the user reaching their data limit.
* @hide
*/
public static final int DATA_LIMIT_REACHED = 2505;
/**
* Indicates the call was disconnected due to the user disabling cellular data.
* @hide
*/
public static final int DATA_DISABLED = 2506;
/**
* Indicates a call was disconnected due to loss of wifi signal.
* @hide
*/
public static final int WIFI_LOST = 2507;
/* OEM specific error codes. To be used by OEMs when they don't want to
reveal error code which would be replaced by ERROR_UNSPECIFIED */
public static final int OEM_CAUSE_1 = 0xf001;