alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Android example source code file (CallFailCause.java)

This example Android source code file (CallFailCause.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Android by Example" TM.

Java - Android tags/keywords

acm_limit_exceeded, call_barred, callfailcause, cdma_drop, cdma_intercept, cdma_preempted, cdma_reorder, cdma_retry_order, cdma_so_reject, error_unspecified, fdn_blocked, no_circuit_avail, normal_clearing, user_busy

The CallFailCause.java Android example source code

/*
 * Copyright (C) 2006 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.internal.telephony.cdma;

/**
 * CDMA Call fail causes covering all the possible failures that are
 * needed to be distinguished by the UI. CDMA call failure reasons
 * are derived from the possible call failure scenarios described
 * in "CDMA IS2000 - Release A (C.S0005-A v6.0)" standard.
 *
 * {@hide}
 *
 */
public interface CallFailCause {
    static final int NORMAL_CLEARING                = 16;
    // Busy Tone
    static final int USER_BUSY                      = 17;

    static final int NORMAL_UNSPECIFIED             = 31;

    // Congestion Tone
    static final int NO_CIRCUIT_AVAIL               = 34;

    // others
    static final int ACM_LIMIT_EXCEEDED             = 68;
    static final int CALL_BARRED                    = 240;
    static final int FDN_BLOCKED                    = 241;

    static final int CDMA_LOCKED_UNTIL_POWER_CYCLE  = 1000;
    static final int CDMA_DROP                      = 1001;
    static final int CDMA_INTERCEPT                 = 1002;
    static final int CDMA_REORDER                   = 1003;
    static final int CDMA_SO_REJECT                 = 1004;
    static final int CDMA_RETRY_ORDER               = 1005;
    static final int CDMA_ACCESS_FAILURE            = 1006;
    static final int CDMA_PREEMPTED                 = 1007;

    // For non-emergency number dialed while in emergency callback mode.
    static final int CDMA_NOT_EMERGENCY             = 1008;

    // Access Blocked by CDMA Network.
    static final int CDMA_ACCESS_BLOCKED            = 1009;

    static final int ERROR_UNSPECIFIED = 0xffff;
}

Other Android examples (source code examples)

Here is a short list of links related to this Android CallFailCause.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.