/**@class android.provider.Telephony.Carriers implements android.provider.BaseColumns @extends java.lang.Object Carriers class contains information about APNs, including MMSC information. */ var Carriers = { /** The {@code content://} style URL for this table. For MSIM, this will return APNs for the default subscription {@link SubscriptionManager#getDefaultSubscriptionId()}. To specify subId for MSIM, use {@link Uri#withAppendedPath(Uri, String)} to append with subscription id. */ CONTENT_URI : "null", /** The {@code content://} style URL for this table. Used for APN query based on current subscription. Instead of specifying carrier matching information in the selection, this API will return all matching APNs from current subscription carrier and queries will be applied on top of that. If there is no match for MVNO (Mobile Virtual Network Operator) APNs, return APNs from its MNO (based on mccmnc) instead. For MSIM, this will return APNs for the default subscription {@link SubscriptionManager#getDefaultSubscriptionId()}. To specify subId for MSIM, use {@link Uri#withAppendedPath(Uri, String)} to append with subscription id. */ SIM_APN_URI : "null", /** The {@code content://} style URL to be called from DevicePolicyManagerService, can manage DPC-owned APNs. @hide */ DPC_URI : "null", /** The {@code content://} style URL to be called from Telephony to query APNs. When DPC-owned APNs are enforced, only DPC-owned APNs are returned, otherwise only non-DPC-owned APNs are returned. For MSIM, this will return APNs for the default subscription {@link SubscriptionManager#getDefaultSubscriptionId()}. To specify subId for MSIM, use {@link Uri#withAppendedPath(Uri, String)} to append with subscription id. @hide */ FILTERED_URI : "null", /** The {@code content://} style URL to be called from DevicePolicyManagerService or Telephony to manage whether DPC-owned APNs are enforced. @hide */ ENFORCE_MANAGED_URI : "null", /** The column name for ENFORCE_MANAGED_URI, indicates whether DPC-owned APNs are enforced. @hide */ ENFORCE_KEY : "enforced", /** The default sort order for this table. */ DEFAULT_SORT_ORDER : "name ASC", /** Entry name. <P>Type: TEXT</P> */ NAME : "name", /** APN name. <P>Type: TEXT</P> */ APN : "apn", /** Proxy address. <P>Type: TEXT</P> */ PROXY : "proxy", /** Proxy port. <P>Type: TEXT</P> */ PORT : "port", /** MMS proxy address. <P>Type: TEXT</P> */ MMSPROXY : "mmsproxy", /** MMS proxy port. <P>Type: TEXT</P> */ MMSPORT : "mmsport", /** Server address. <P>Type: TEXT</P> */ SERVER : "server", /** APN username. <P>Type: TEXT</P> */ USER : "user", /** APN password. <P>Type: TEXT</P> */ PASSWORD : "password", /** MMSC URL. <P>Type: TEXT</P> */ MMSC : "mmsc", /** Mobile Country Code (MCC). <P>Type: TEXT</P> @deprecated Use {@link #SIM_APN_URI} to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MCC and other carrier matching information. In the future, Android will not support MCC for APN query. */ MCC : "mcc", /** Mobile Network Code (MNC). <P>Type: TEXT</P> @deprecated Use {@link #SIM_APN_URI} to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MNC and other carrier matching information. In the future, Android will not support MNC for APN query. */ MNC : "mnc", /** Numeric operator ID (as String). Usually {@code MCC + MNC}. <P>Type: TEXT</P> @deprecated Use {@link #SIM_APN_URI} to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify Numeric and other carrier matching information. In the future, Android will not support Numeric for APN query. */ NUMERIC : "numeric", /** Authentication type. <P>Type: INTEGER</P> */ AUTH_TYPE : "authtype", /** Comma-delimited list of APN types. <P>Type: TEXT</P> */ TYPE : "type", /** The protocol to use to connect to this APN. One of the {@code PDP_type} values in TS 27.007 section 10.1.1. For example: {@code IP}, {@code IPV6}, {@code IPV4V6}, or {@code PPP}. <P>Type: TEXT</P> */ PROTOCOL : "protocol", /** The protocol to use to connect to this APN when roaming. The syntax is the same as protocol. <P>Type: TEXT</P> */ ROAMING_PROTOCOL : "roaming_protocol", /** Is this the current APN? <P>Type: INTEGER (boolean)</P> */ CURRENT : "current", /** Is this APN enabled? <P>Type: INTEGER (boolean)</P> */ CARRIER_ENABLED : "carrier_enabled", /** Radio Access Technology info. To check what values are allowed, refer to {@link android.telephony.ServiceState}. This should be spread to other technologies, but is currently only used for LTE (14) and eHRPD (13). <P>Type: INTEGER</P> @deprecated this column is no longer supported, use {@link #NETWORK_TYPE_BITMASK} instead */ BEARER : "bearer", /** Radio Access Technology bitmask. To check what values can be contained, refer to {@link android.telephony.ServiceState}. 0 indicates all techs otherwise first bit refers to RAT/bearer 1, second bit refers to RAT/bearer 2 and so on. Bitmask for a radio tech R is (1 << (R - 1)) <P>Type: INTEGER</P> @hide @deprecated this column is no longer supported, use {@link #NETWORK_TYPE_BITMASK} instead */ BEARER_BITMASK : "bearer_bitmask", /** Radio technology (network type) bitmask. To check what values can be contained, refer to the NETWORK_TYPE_ constants in {@link android.telephony.TelephonyManager}. Bitmask for a radio tech R is (1 << (R - 1)) <P>Type: INTEGER</P> */ NETWORK_TYPE_BITMASK : "network_type_bitmask", /** MVNO type: {@code SPN (Service Provider Name), IMSI, GID (Group Identifier Level 1)}. <P>Type: TEXT</P> @deprecated Use {@link #SIM_APN_URI} to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MVNO_TYPE and other carrier matching information. In the future, Android will not support MVNO_TYPE for APN query. */ MVNO_TYPE : "mvno_type", /** MVNO data. Use the following examples. <ul> <li>SPN: A MOBILE, BEN NL, ...</li> <li>IMSI: 302720x94, 2060188, ...</li> <li>GID: 4E, 33, ...</li> </ul> <P>Type: TEXT</P> @deprecated Use {@link #SIM_APN_URI} to query APN instead, this API will return matching APNs based on current subscription carrier, thus no need to specify MVNO_MATCH_DATA and other carrier matching information. In the future, Android will not support MVNO_MATCH_DATA for APN query. */ MVNO_MATCH_DATA : "mvno_match_data", /** The subscription to which the APN belongs to <p>Type: INTEGER (long) </p> */ SUBSCRIPTION_ID : "sub_id", /** The profile_id to which the APN saved in modem. <p>Type: INTEGER</p> @hide */ PROFILE_ID : "profile_id", /** If set to {@code true}, then the APN setting will persist to the modem. <p>Type: INTEGER (boolean)</p> @hide */ MODEM_PERSIST : "modem_cognitive", /** The max number of connections of this APN. <p>Type: INTEGER</p> @hide */ MAX_CONNECTIONS : "max_conns", /** The wait time for retrying the APN, in milliseconds. <p>Type: INTEGER</p> @hide */ WAIT_TIME_RETRY : "wait_time", /** The max number of seconds this APN will support its maximum number of connections as defined in {@link #MAX_CONNECTIONS}. <p>Type: INTEGER</p> @hide */ TIME_LIMIT_FOR_MAX_CONNECTIONS : "max_conns_time", /** The MTU (maximum transmit unit) size of the mobile interface to which the APN is connected, in bytes. <p>Type: INTEGER </p> @hide */ MTU : "mtu", /** APN edit status. APN could be added/edited/deleted by a user or carrier. see all possible returned APN edit status. <ul> <li>{@link #UNEDITED}</li> <li>{@link #USER_EDITED}</li> <li>{@link #USER_DELETED}</li> <li>{@link #CARRIER_EDITED}</li> <li>{@link #CARRIER_DELETED}</li> </ul> <p>Type: INTEGER </p> @hide */ EDITED_STATUS : "edited", /** {@code true} if this APN visible to the user, {@code false} otherwise. <p>Type: INTEGER (boolean)</p> @hide */ USER_VISIBLE : "user_visible", /** {@code true} if the user allowed to edit this APN, {@code false} otherwise. <p>Type: INTEGER (boolean)</p> @hide */ USER_EDITABLE : "user_editable", /** {@link #EDITED_STATUS APN edit status} indicates that this APN has not been edited or fails to edit. <p>Type: INTEGER </p> @hide */ UNEDITED : "0", /** {@link #EDITED_STATUS APN edit status} indicates that this APN has been edited by users. <p>Type: INTEGER </p> @hide */ USER_EDITED : "1", /** {@link #EDITED_STATUS APN edit status} indicates that this APN has been deleted by users. <p>Type: INTEGER </p> @hide */ USER_DELETED : "2", /** {@link #EDITED_STATUS APN edit status} is an intermediate value used to indicate that an entry deleted by the user is still present in the new APN database and therefore must remain tagged as user deleted rather than completely removed from the database. @hide */ USER_DELETED_BUT_PRESENT_IN_XML : "3", /** {@link #EDITED_STATUS APN edit status} indicates that this APN has been edited by carriers. <p>Type: INTEGER </p> @hide */ CARRIER_EDITED : "4", /** {@link #EDITED_STATUS APN edit status} indicates that this APN has been deleted by carriers. CARRIER_DELETED values are currently not used as there is no use case. If they are used, delete() will have to change accordingly. Currently it is hardcoded to USER_DELETED. <p>Type: INTEGER </p> @hide */ CARRIER_DELETED : "5", /** {@link #EDITED_STATUS APN edit status} is an intermediate value used to indicate that an entry deleted by the carrier is still present in the new APN database and therefore must remain tagged as user deleted rather than completely removed from the database. @hide */ CARRIER_DELETED_BUT_PRESENT_IN_XML : "6", /** The owner of the APN. <p>Type: INTEGER</p> @hide */ OWNED_BY : "owned_by", /** Possible value for the OWNED_BY field. APN is owned by DPC. @hide */ OWNED_BY_DPC : "0", /** Possible value for the OWNED_BY field. APN is owned by other sources. @hide */ OWNED_BY_OTHERS : "1", /** The APN set id. When the user manually selects an APN or the framework sets an APN as preferred, all APNs with the same set id as the selected APN should be prioritized over APNs in other sets. <p>Type: INTEGER</p> @hide */ APN_SET_ID : "apn_set_id", /** Possible value for the {@link #APN_SET_ID} field. By default APNs will not belong to a set. If the user manually selects an APN without apn set id, there is no need to prioritize any specific APN set ids. <p>Type: INTEGER</p> @hide */ NO_APN_SET_ID : "0", /** A unique carrier id associated with this APN {@see TelephonyManager#getSimCarrierId()} <p>Type: STRING</p> */ CARRIER_ID : "carrier_id", /** The skip 464xlat flag. Flag works as follows. {@link #SKIP_464XLAT_DEFAULT}: the APN will skip only APN is IMS and no internet. {@link #SKIP_464XLAT_DISABLE}: the APN will NOT skip 464xlat {@link #SKIP_464XLAT_ENABLE}: the APN will skip 464xlat <p>Type: INTEGER</p> @hide */ SKIP_464XLAT : "skip_464xlat", /** Possible value for the {@link #SKIP_464XLAT} field. <p>Type: INTEGER</p> @hide */ SKIP_464XLAT_DEFAULT : "-1", /** Possible value for the {@link #SKIP_464XLAT} field. <p>Type: INTEGER</p> @hide */ SKIP_464XLAT_DISABLE : "0", /** Possible value for the {@link #SKIP_464XLAT} field. <p>Type: INTEGER</p> @hide */ SKIP_464XLAT_ENABLE : "1", };