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

Commit 7d54b3cc authored by Paramananda Pradhan's avatar Paramananda Pradhan Committed by Gerrit - the friendly Code Review server
Browse files

Add Preferred Network menu

This contains support for displaying Preferred Networks
list. As per 3GPP specs TS 11.11, EF PLMN sel is an elementary
file in the SIM. This contains minimum 'n' PLMN MCC & MNC
values. This information is determined by user/operator about
the preferred PLMN of the user in priority order.

Change-Id: Ia3bb8f9c1e7d4af42fab51ee9a3fbdcfdef29cc1
CRs-Fixed: 776663
parent 30e06b2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ public interface IccConstants {
    static final int EF_SST = 0x6f38;
    static final int EF_CFIS = 0x6FCB;
    static final int EF_IMG = 0x4f20;
    static final int EF_PLMN_SEL = 0x6F30;

    // USIM SIM file ids from TS 131.102
    public static final int EF_PBR = 0x4F30;
+3 −0
Original line number Diff line number Diff line
@@ -66,6 +66,9 @@ public final class SIMFileHandler extends IccFileHandler implements IccConstants
        case EF_INFO_CPHS:
        case EF_CSP_CPHS:
        case EF_PLMNWACT:
        /* Support for reading user & operator PLMN list from SIM
        (3GPP spec TS 11.11; File EFPLMNsel is read from SIM*/
         case EF_PLMN_SEL:
            return MF_SIM + DF_GSM;
        }
        String path = getCommonIccEFPath(efid);
+4 −1
Original line number Diff line number Diff line
@@ -63,7 +63,10 @@ public final class UsimFileHandler extends IccFileHandler implements IccConstant
        case EF_LI:
        case EF_PLMNWACT:
            return MF_SIM + DF_ADF;

        /* Support for reading user & operator PLMN list from SIM */
        /* 3GPP TS 11.11. File read : EFPLMNsel) */
        case EF_PLMN_SEL:
            return MF_SIM + DF_GSM;
        case EF_PBR:
            if (mUseLocalPb) {
                return MF_SIM + DF_ADF + DF_PHONEBOOK;