Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d6fdc15 authored by zhu youhua's avatar zhu youhua Committed by dianlujitao
Browse files

Define EF MSPL/MLPL/PRL values and paths

Add several EF paths for UI to get CDMA device info.

Change-Id: Iff43d6b5a6706e54aaf50867419c30a1a322cb2f
CRs-Fixed: 2177396
parent 44673b5b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,8 +44,13 @@ public final class CsimFileHandler extends IccFileHandler implements IccConstant
        case EF_CSIM_IMSIM:
        case EF_CSIM_CDMAHOME:
        case EF_CSIM_EPRL:
        case EF_CSIM_PRL:
        case EF_CSIM_MIPUPP:
        case EF_RUIM_ID:
            return MF_SIM + DF_ADF;
        case EF_CSIM_MSPL:
        case EF_CSIM_MLPL:
            return MF_SIM + DF_TELECOM + DF_MMSS;
        }
        String path = getCommonIccEFPath(efid);
        if (path == null) {
+6 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ public interface IccConstants {
    // CDMA RUIM file ids from 3GPP2 C.S0023-0
    static final int EF_CST = 0x6F32;
    static final int EF_RUIM_SPN =0x6F41;
    static final int EF_RUIM_ID = 0x6F31;

    // ETSI TS.102.221
    static final int EF_PL = 0x2F05;
@@ -72,6 +73,10 @@ public interface IccConstants {
    static final int EF_CSIM_IMSIM = 0x6F22;
    static final int EF_CSIM_CDMAHOME = 0x6F28;
    static final int EF_CSIM_EPRL = 0x6F5A;
    static final int EF_CSIM_PRL = 0x6F30;
    // C.S0074-Av1.0 Section 4
    static final int EF_CSIM_MLPL = 0x4F20;
    static final int EF_CSIM_MSPL = 0x4F21;
    static final int EF_CSIM_MIPUPP = 0x6F4D;

    //ISIM access
@@ -103,6 +108,7 @@ public interface IccConstants {
    static final String DF_GRAPHICS = "5F50";
    static final String DF_GSM = "7F20";
    static final String DF_CDMA = "7F25";
    static final String DF_MMSS = "5F3C";

    //UICC access
    static final String DF_ADF = "7FFF";
+5 −0
Original line number Diff line number Diff line
@@ -64,8 +64,13 @@ public final class RuimFileHandler extends IccFileHandler {
        case EF_CSIM_IMSIM:
        case EF_CSIM_CDMAHOME:
        case EF_CSIM_EPRL:
        case EF_CSIM_PRL:
        case EF_CSIM_MIPUPP:
        case EF_RUIM_ID:
            return MF_SIM + DF_CDMA;
        case EF_CSIM_MSPL:
        case EF_CSIM_MLPL:
            return MF_SIM + DF_TELECOM + DF_MMSS;
        }
        return getCommonIccEFPath(efid);
    }