1/* 2 * Copyright (C) 2006 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 17package com.android.internal.telephony.cdma; 18 19/** 20 * CDMA Call fail causes covering all the possible failures that are 21 * needed to be distinguished by the UI. CDMA call failure reasons 22 * are derived from the possible call failure scenarios described 23 * in "CDMA IS2000 - Release A (C.S0005-A v6.0)" standard. 24 * 25 * {@hide} 26 * 27 */ 28public interface CallFailCause { 29 static final int NORMAL_CLEARING = 16; 30 // Busy Tone 31 static final int USER_BUSY = 17; 32 33 static final int NORMAL_UNSPECIFIED = 31; 34 35 // Congestion Tone 36 static final int NO_CIRCUIT_AVAIL = 34; 37 38 // others 39 static final int ACM_LIMIT_EXCEEDED = 68; 40 static final int CALL_BARRED = 240; 41 static final int FDN_BLOCKED = 241; 42 43 static final int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; 44 static final int CDMA_DROP = 1001; 45 static final int CDMA_INTERCEPT = 1002; 46 static final int CDMA_REORDER = 1003; 47 static final int CDMA_SO_REJECT = 1004; 48 static final int CDMA_RETRY_ORDER = 1005; 49 static final int CDMA_ACCESS_FAILURE = 1006; 50 static final int CDMA_PREEMPTED = 1007; 51 52 // For non-emergency number dialed while in emergency callback mode. 53 static final int CDMA_NOT_EMERGENCY = 1008; 54 55 // Access Blocked by CDMA Network. 56 static final int CDMA_ACCESS_BLOCKED = 1009; 57 58 static final int ERROR_UNSPECIFIED = 0xffff; 59} 60