Files
frameworks_base/telephony/java/com/android/internal/telephony/IccConstants.java
Jaikumar Ganesh 34efc39f25 Implement USIM and add support for importing emails from USIM.
Refer to 3GPP Spec 31.102 for more details.
We read and parse USIM records instead of the RIL doing it for us.
We only support reading of USIM Phonebook records.
2009-09-03 13:55:36 -07:00

70 lines
2.4 KiB
Java

/*
* 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
static final int EF_ADN = 0x6F3A;
static final int EF_FDN = 0x6F3B;
static final int EF_SDN = 0x6F49;
static final int EF_EXT1 = 0x6F4A;
static final int EF_EXT2 = 0x6F4B;
static final int EF_EXT3 = 0x6F4C;
static final int EF_EXT6 = 0x6fc8; // Ext record for EF[MBDN]
static final int EF_MWIS = 0x6FCA;
static final int EF_MBDN = 0x6fc7;
static final int EF_PNN = 0x6fc5;
static final int EF_SPN = 0x6F46;
static final int EF_SMS = 0x6F3C;
static final int EF_ICCID = 0x2fe2;
static final int EF_AD = 0x6FAD;
static final int EF_MBI = 0x6fc9;
static final int EF_MSISDN = 0x6f40;
static final int EF_SPDI = 0x6fcd;
static final int EF_SST = 0x6f38;
static final int EF_CFIS = 0x6FCB;
static final int EF_IMG = 0x4f20;
// USIM SIM file ids from TS 31.102
public static final int EF_PBR = 0x4F30;
// GSM SIM file ids from CPHS (phase 2, version 4.2) CPHS4_2.WW6
static final int EF_MAILBOX_CPHS = 0x6F17;
static final int EF_VOICE_MAIL_INDICATOR_CPHS = 0x6F11;
static final int EF_CFF_CPHS = 0x6F13;
static final int EF_SPN_CPHS = 0x6f14;
static final int EF_SPN_SHORT_CPHS = 0x6f18;
static final int EF_INFO_CPHS = 0x6f16;
// CDMA RUIM file ids from 3GPP2 C.S0023-0
static final int EF_CST = 0x6f32;
static final int EF_RUIM_SPN =0x6F41;
// SMS record length from TS 51.011 10.5.3
static public final int SMS_RECORD_LENGTH = 176;
static final String MF_SIM = "3F00";
static final String DF_TELECOM = "7F10";
static final String DF_PHONEBOOK = "5F3A";
static final String DF_GRAPHICS = "5F50";
static final String DF_GSM = "7F20";
static final String DF_CDMA = "7F25";
}