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

Commit 9c4b4afc authored by Chen Xu's avatar Chen Xu Committed by Gerrit Code Review
Browse files

Merge "new columns of carrierId DB"

parents cef54310 3d0ad1f8
Loading
Loading
Loading
Loading
+65 −0
Original line number Original line Diff line number Diff line
@@ -3250,4 +3250,69 @@ public final class Telephony {
         */
         */
        public static final String IS_USING_CARRIER_AGGREGATION = "is_using_carrier_aggregation";
        public static final String IS_USING_CARRIER_AGGREGATION = "is_using_carrier_aggregation";
    }
    }

    /**
     * Contains carrier identification information.
     * @hide
     */
    public static final class CarrierIdentification implements BaseColumns {
        /**
         * Numeric operator ID (as String). {@code MCC + MNC}
         * <P>Type: TEXT </P>
         */
        public static final String MCCMNC = "mccmnc";

        /**
         * Group id level 1 (as String).
         * <P>Type: TEXT </P>
         */
        public static final String GID1 = "gid1";

        /**
         * Group id level 2 (as String).
         * <P>Type: TEXT </P>
         */
        public static final String GID2 = "gid2";

        /**
         * Public Land Mobile Network name.
         * <P>Type: TEXT </P>
         */
        public static final String PLMN = "plmn";

        /**
         * Prefix xpattern of IMSI (International Mobile Subscriber Identity).
         * <P>Type: TEXT </P>
         */
        public static final String IMSI_PREFIX_XPATTERN = "imsi_prefix_xpattern";

        /**
         * Service Provider Name.
         * <P>Type: TEXT </P>
         */
        public static final String SPN = "spn";

        /**
         * Prefer APN name.
         * <P>Type: TEXT </P>
         */
        public static final String APN = "apn";

        /**
         * User facing carrier name.
         * <P>Type: TEXT </P>
         */
        public static final String NAME = "carrier_name";

        /**
         * A unique carrier id
         * <P>Type: INTEGER </P>
         */
        public static final String CID = "carrier_id";

        /**
         * The {@code content://} URI for this table.
         */
        public static final Uri CONTENT_URI = Uri.parse("content://carrier_identification");
    }
}
}