FileDocCategorySizeDatePackage
UsimFileHandler.javaAPI DocAndroid 5.1 API2541Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony.uicc

UsimFileHandler

public final class UsimFileHandler extends IccFileHandler implements IccConstants
{@hide} This class should be used to access files in USIM ADF

Fields Summary
static final String
LOG_TAG
Constructors Summary
public UsimFileHandler(com.android.internal.telephony.uicc.UiccCardApplication app, String aid, com.android.internal.telephony.CommandsInterface ci)


           
        super(app, aid, ci);
    
Methods Summary
protected java.lang.StringgetEFPath(int efid)

        switch(efid) {
        case EF_SMS:
        case EF_EXT6:
        case EF_MWIS:
        case EF_MBI:
        case EF_SPN:
        case EF_AD:
        case EF_MBDN:
        case EF_PNN:
        case EF_OPL:
        case EF_SPDI:
        case EF_SST:
        case EF_CFIS:
        case EF_MAILBOX_CPHS:
        case EF_VOICE_MAIL_INDICATOR_CPHS:
        case EF_CFF_CPHS:
        case EF_SPN_CPHS:
        case EF_SPN_SHORT_CPHS:
        case EF_FDN:
        case EF_MSISDN:
        case EF_EXT2:
        case EF_INFO_CPHS:
        case EF_CSP_CPHS:
        case EF_GID1:
        case EF_LI:
            return MF_SIM + DF_ADF;

        case EF_PBR:
            // we only support global phonebook.
            return MF_SIM + DF_TELECOM + DF_PHONEBOOK;
        }
        String path = getCommonIccEFPath(efid);
        if (path == null) {
            // The EFids in USIM phone book entries are decided by the card manufacturer.
            // So if we don't match any of the cases above and if its a USIM return
            // the phone book path.
            return MF_SIM + DF_TELECOM + DF_PHONEBOOK;
        }
        return path;
    
protected voidlogd(java.lang.String msg)

        Rlog.d(LOG_TAG, msg);
    
protected voidloge(java.lang.String msg)

        Rlog.e(LOG_TAG, msg);