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 
17 package com.android.internal.telephony.uicc;
18 
19 /**
20  * {@hide}
21  */
22 public interface IccConstants {
23     // GSM SIM file ids from TS 51.011
24     static final int EF_ADN = 0x6F3A;
25     static final int EF_FDN = 0x6F3B;
26     static final int EF_GID1 = 0x6F3E;
27     static final int EF_GID2 = 0x6F3F;
28     static final int EF_SDN = 0x6F49;
29     static final int EF_EXT1 = 0x6F4A;
30     static final int EF_EXT2 = 0x6F4B;
31     static final int EF_EXT3 = 0x6F4C;
32     static final int EF_EXT5 = 0x6F4E;
33     static final int EF_EXT6 = 0x6FC8;   // Ext record for EF[MBDN]
34     static final int EF_MWIS = 0x6FCA;
35     static final int EF_MBDN = 0x6FC7;
36     static final int EF_PNN = 0x6FC5;
37     static final int EF_OPL = 0x6FC6;
38     static final int EF_SPN = 0x6F46;
39     static final int EF_SMS = 0x6F3C;
40     static final int EF_ICCID = 0x2FE2;
41     static final int EF_AD = 0x6FAD;
42     static final int EF_MBI = 0x6FC9;
43     static final int EF_MSISDN = 0x6F40;
44     static final int EF_SPDI = 0x6FCD;
45     static final int EF_SST = 0x6F38;
46     static final int EF_CFIS = 0x6FCB;
47     static final int EF_IMG = 0x4F20;
48 
49     // USIM SIM file ids from TS 131.102
50     public static final int EF_PBR = 0x4F30;
51     public static final int EF_LI = 0x6F05;
52 
53     // GSM SIM file ids from CPHS (phase 2, version 4.2) CPHS4_2.WW6
54     static final int EF_MAILBOX_CPHS = 0x6F17;
55     static final int EF_VOICE_MAIL_INDICATOR_CPHS = 0x6F11;
56     static final int EF_CFF_CPHS = 0x6F13;
57     static final int EF_SPN_CPHS = 0x6F14;
58     static final int EF_SPN_SHORT_CPHS = 0x6F18;
59     static final int EF_INFO_CPHS = 0x6F16;
60     static final int EF_CSP_CPHS = 0x6F15;
61 
62     // CDMA RUIM file ids from 3GPP2 C.S0023-0
63     static final int EF_CST = 0x6F32;
64     static final int EF_RUIM_SPN =0x6F41;
65 
66     // ETSI TS.102.221
67     static final int EF_PL = 0x2F05;
68     // 3GPP2 C.S0065
69     static final int EF_CSIM_LI = 0x6F3A;
70     static final int EF_CSIM_SPN =0x6F41;
71     static final int EF_CSIM_MDN = 0x6F44;
72     static final int EF_CSIM_IMSIM = 0x6F22;
73     static final int EF_CSIM_CDMAHOME = 0x6F28;
74     static final int EF_CSIM_EPRL = 0x6F5A;
75     static final int EF_CSIM_MIPUPP = 0x6F4D;
76 
77     //ISIM access
78     static final int EF_IMPU = 0x6F04;
79     static final int EF_IMPI = 0x6F02;
80     static final int EF_DOMAIN = 0x6F03;
81     static final int EF_IST = 0x6F07;
82     static final int EF_PCSCF = 0x6F09;
83     static final int EF_PSI = 0x6FE5;
84 
85     //PLMN Selection Information w/ Access Technology TS 131.102
86     static final int EF_PLMN_W_ACT = 0x6F60;
87     static final int EF_OPLMN_W_ACT = 0x6F61;
88     static final int EF_HPLMN_W_ACT = 0x6F62;
89 
90     //Equivalent Home and Forbidden PLMN Lists TS 131.102
91     static final int EF_EHPLMN = 0x6FD9;
92     static final int EF_FPLMN = 0x6F7B;
93 
94     // Last Roaming Selection Indicator
95     static final int EF_LRPLMNSI = 0x6FDC;
96 
97     //Search interval for higher priority PLMNs
98     static final int EF_HPPLMN = 0x6F31;
99 
100     static final String MF_SIM = "3F00";
101     static final String DF_TELECOM = "7F10";
102     static final String DF_PHONEBOOK = "5F3A";
103     static final String DF_GRAPHICS = "5F50";
104     static final String DF_GSM = "7F20";
105     static final String DF_CDMA = "7F25";
106 
107     //UICC access
108     static final String DF_ADF = "7FFF";
109 }
110