summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/internal/telephony/IccConstants.java
blob: adf4e1e9c2b59f986657fbe74aa97f9ee9037a26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 * 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;

/**
 * {@hide}
 */
public interface IccConstants {
    // GSM SIM file ids from TS 51.011
    public static final int EF_ADN = 0x6F3A;
    public static final int EF_FDN = 0x6F3B;
    public static final int EF_SDN = 0x6F49;
    public static final int EF_EXT1 = 0x6F4A;
    public static final int EF_EXT2 = 0x6F4B;
    public static final int EF_EXT3 = 0x6F4C;
    public static final int EF_EXT6 = 0x6fc8;   // Ext record for EF[MBDN]
    public static final int EF_MWIS = 0x6FCA;
    public static final int EF_MBDN = 0x6fc7;
    public static final int EF_PNN = 0x6fc5;
    public static final int EF_SPN = 0x6F46;
    public static final int EF_SMS = 0x6F3C;
    public static final int EF_ICCID = 0x2fe2;
    public static final int EF_AD = 0x6FAD;
    public static final int EF_MBI = 0x6fc9;
    public static final int EF_MSISDN = 0x6f40;
    public static final int EF_SPDI = 0x6fcd;
    public static final int EF_SST = 0x6f38;
    public static final int EF_CFIS = 0x6FCB;
    public static final int EF_IMG = 0x4f20;

    // GSM SIM file ids from CPHS (phase 2, version 4.2) CPHS4_2.WW6
    public static final int EF_MAILBOX_CPHS = 0x6F17;
    public static final int EF_VOICE_MAIL_INDICATOR_CPHS = 0x6F11;
    public static final int EF_CFF_CPHS = 0x6F13;
    public static final int EF_SPN_CPHS = 0x6f14;
    public static final int EF_SPN_SHORT_CPHS = 0x6f18;
    public static final int EF_INFO_CPHS = 0x6f16;

    // CDMA RUIM file ids from 3GPP2 C.S0023-0
    // TODO: add necessary RUIM file ids here
    public static final int EF_CST = 0x6f32;    
    
    // SMS record length from TS 51.011 10.5.3
    static public final int SMS_RECORD_LENGTH = 176;
}