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

Commit c8f2f83a authored by Bobby Wang's avatar Bobby Wang Committed by Steve Kondik
Browse files

Define EF MSPL/MLPL/PRL value and path

FR22494: UI will get MSPL/MLPL/PRL version by SIM_IO, This change
just define EF MSPL/MLPL/PRL value and path.

CRs-Fixed: 695024

Change-Id: Ib1f50dbfb2751448a6ee41b58e245aa1a6b34e4f
parent c37b2c26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,7 +44,11 @@ public final class CsimFileHandler extends IccFileHandler implements IccConstant
        case EF_CSIM_IMSIM:
        case EF_CSIM_CDMAHOME:
        case EF_CSIM_EPRL:
        case EF_CSIM_PRL:
            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) {
+5 −0
Original line number Diff line number Diff line
@@ -70,6 +70,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;

    //ISIM access
    static final int EF_IMPU = 0x6f04;
@@ -90,6 +94,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";
+4 −0
Original line number Diff line number Diff line
@@ -64,7 +64,11 @@ public final class RuimFileHandler extends IccFileHandler {
        case EF_CSIM_IMSIM:
        case EF_CSIM_CDMAHOME:
        case EF_CSIM_EPRL:
        case EF_CSIM_PRL:
            return MF_SIM + DF_CDMA;
        case EF_CSIM_MSPL:
        case EF_CSIM_MLPL:
            return MF_SIM + DF_TELECOM + DF_MMSS;
        }
        return getCommonIccEFPath(efid);
    }