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; 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_SDN = 0x6F49; 27 static final int EF_EXT1 = 0x6F4A; 28 static final int EF_EXT2 = 0x6F4B; 29 static final int EF_EXT3 = 0x6F4C; 30 static final int EF_EXT6 = 0x6fc8; // Ext record for EF[MBDN] 31 static final int EF_MWIS = 0x6FCA; 32 static final int EF_MBDN = 0x6fc7; 33 static final int EF_PNN = 0x6fc5; 34 static final int EF_SPN = 0x6F46; 35 static final int EF_SMS = 0x6F3C; 36 static final int EF_ICCID = 0x2fe2; 37 static final int EF_AD = 0x6FAD; 38 static final int EF_MBI = 0x6fc9; 39 static final int EF_MSISDN = 0x6f40; 40 static final int EF_SPDI = 0x6fcd; 41 static final int EF_SST = 0x6f38; 42 static final int EF_CFIS = 0x6FCB; 43 static final int EF_IMG = 0x4f20; 44 45 // USIM SIM file ids from TS 31.102 46 public static final int EF_PBR = 0x4F30; 47 48 // GSM SIM file ids from CPHS (phase 2, version 4.2) CPHS4_2.WW6 49 static final int EF_MAILBOX_CPHS = 0x6F17; 50 static final int EF_VOICE_MAIL_INDICATOR_CPHS = 0x6F11; 51 static final int EF_CFF_CPHS = 0x6F13; 52 static final int EF_SPN_CPHS = 0x6f14; 53 static final int EF_SPN_SHORT_CPHS = 0x6f18; 54 static final int EF_INFO_CPHS = 0x6f16; 55 56 // CDMA RUIM file ids from 3GPP2 C.S0023-0 57 static final int EF_CST = 0x6f32; 58 static final int EF_RUIM_SPN =0x6F41; 59 60 // SMS record length from TS 51.011 10.5.3 61 static public final int SMS_RECORD_LENGTH = 176; 62 63 static final String MF_SIM = "3F00"; 64 static final String DF_TELECOM = "7F10"; 65 static final String DF_PHONEBOOK = "5F3A"; 66 static final String DF_GRAPHICS = "5F50"; 67 static final String DF_GSM = "7F20"; 68 static final String DF_CDMA = "7F25"; 69 } 70