Loading api/current.txt +5 −0 Original line number Original line Diff line number Diff line Loading @@ -44328,6 +44328,11 @@ package android.telephony { field public static final String KEY_WORLD_PHONE_BOOL = "world_phone_bool"; field public static final String KEY_WORLD_PHONE_BOOL = "world_phone_bool"; } } public static final class CarrierConfigManager.Gps { field public static final String KEY_PERSIST_LPP_MODE_BOOL = "gps.persist_lpp_mode_bool"; field public static final String KEY_PREFIX = "gps."; } public static final class CarrierConfigManager.Ims { public static final class CarrierConfigManager.Ims { field public static final String KEY_PREFIX = "ims."; field public static final String KEY_PREFIX = "ims."; } } telephony/java/android/telephony/CarrierConfigManager.java +22 −3 Original line number Original line Diff line number Diff line Loading @@ -3051,16 +3051,18 @@ public class CarrierConfigManager { "data_switch_validation_timeout_long"; "data_switch_validation_timeout_long"; /** /** * GPS configs. See android.hardware.gnss@1.0 IGnssConfiguration. * GPS configs. See the GNSS HAL documentation for more details. * @hide */ */ public static final class Gps { public static final class Gps { private Gps() {} /** Prefix of all Gps.KEY_* constants. */ /** Prefix of all Gps.KEY_* constants. */ public static final String KEY_PREFIX = "gps."; public static final String KEY_PREFIX = "gps."; /** /** * Location information during (and after) an emergency call is only provided over control * Location information during (and after) an emergency call is only provided over control * plane signaling from the network. * plane signaling from the network. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_CP_ONLY = 0; public static final int SUPL_EMERGENCY_MODE_TYPE_CP_ONLY = 0; Loading @@ -3068,6 +3070,7 @@ public class CarrierConfigManager { * Location information during (and after) an emergency call is provided over the data * Location information during (and after) an emergency call is provided over the data * plane and serviced by the framework GNSS service, but if it fails, the carrier also * plane and serviced by the framework GNSS service, but if it fails, the carrier also * supports control plane backup signaling. * supports control plane backup signaling. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK = 1; public static final int SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK = 1; Loading @@ -3075,6 +3078,7 @@ public class CarrierConfigManager { * Location information during (and after) an emergency call is provided over the data plane * Location information during (and after) an emergency call is provided over the data plane * and serviced by the framework GNSS service only. There is no backup signalling over the * and serviced by the framework GNSS service only. There is no backup signalling over the * control plane if it fails. * control plane if it fails. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_DP_ONLY = 2; public static final int SUPL_EMERGENCY_MODE_TYPE_DP_ONLY = 2; Loading @@ -3091,10 +3095,14 @@ public class CarrierConfigManager { /** /** * SUPL server host for SET Initiated & non-ES Network-Initiated SUPL requests. * SUPL server host for SET Initiated & non-ES Network-Initiated SUPL requests. * Default to supl.google.com * Default to supl.google.com * @hide */ */ public static final String KEY_SUPL_HOST_STRING = KEY_PREFIX + "supl_host"; public static final String KEY_SUPL_HOST_STRING = KEY_PREFIX + "supl_host"; /** SUPL server port. Default to 7275. */ /** * SUPL server port. Default to 7275. * @hide */ public static final String KEY_SUPL_PORT_STRING = KEY_PREFIX + "supl_port"; public static final String KEY_SUPL_PORT_STRING = KEY_PREFIX + "supl_port"; /** /** Loading @@ -3102,6 +3110,7 @@ public class CarrierConfigManager { * with bits 0:7 representing a service indicator field, bits 8:15 * with bits 0:7 representing a service indicator field, bits 8:15 * representing the minor version and bits 16:23 representing the * representing the minor version and bits 16:23 representing the * major version. Default to 0x20000. * major version. Default to 0x20000. * @hide */ */ public static final String KEY_SUPL_VER_STRING = KEY_PREFIX + "supl_ver"; public static final String KEY_SUPL_VER_STRING = KEY_PREFIX + "supl_ver"; Loading @@ -3109,6 +3118,7 @@ public class CarrierConfigManager { * SUPL_MODE configuration bit mask * SUPL_MODE configuration bit mask * 1 - Mobile Station Based. This is default. * 1 - Mobile Station Based. This is default. * 2 - Mobile Station Assisted. * 2 - Mobile Station Assisted. * @hide */ */ public static final String KEY_SUPL_MODE_STRING = KEY_PREFIX + "supl_mode"; public static final String KEY_SUPL_MODE_STRING = KEY_PREFIX + "supl_mode"; Loading @@ -3117,6 +3127,7 @@ public class CarrierConfigManager { * (e.g. E911), and SUPL non-ES requests to only outside of non user emergency sessions. * (e.g. E911), and SUPL non-ES requests to only outside of non user emergency sessions. * 0 - no. * 0 - no. * 1 - yes. This is default. * 1 - yes. This is default. * @hide */ */ // TODO(b/119567985): name this key properly // TODO(b/119567985): name this key properly public static final String KEY_SUPL_ES_STRING = KEY_PREFIX + "supl_es"; public static final String KEY_SUPL_ES_STRING = KEY_PREFIX + "supl_es"; Loading @@ -3126,6 +3137,7 @@ public class CarrierConfigManager { * 0 - Radio Resource Location Protocol in user plane and control plane. This is default. * 0 - Radio Resource Location Protocol in user plane and control plane. This is default. * 1 - Enable LTE Positioning Protocol in user plane. * 1 - Enable LTE Positioning Protocol in user plane. * 2 - Enable LTE Positioning Protocol in control plane. * 2 - Enable LTE Positioning Protocol in control plane. * @hide */ */ public static final String KEY_LPP_PROFILE_STRING = KEY_PREFIX + "lpp_profile"; public static final String KEY_LPP_PROFILE_STRING = KEY_PREFIX + "lpp_profile"; Loading @@ -3133,6 +3145,7 @@ public class CarrierConfigManager { * Determine whether to use emergency PDN for emergency SUPL. * Determine whether to use emergency PDN for emergency SUPL. * 0 - no. * 0 - no. * 1 - yes. This is default. * 1 - yes. This is default. * @hide */ */ public static final String KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING = public static final String KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING = KEY_PREFIX + "use_emergency_pdn_for_emergency_supl"; KEY_PREFIX + "use_emergency_pdn_for_emergency_supl"; Loading @@ -3143,6 +3156,7 @@ public class CarrierConfigManager { * 1 - Use A-GLONASS in Radio Resource Control(RRC) control-plane. * 1 - Use A-GLONASS in Radio Resource Control(RRC) control-plane. * 2 - Use A-GLONASS in Radio Resource Location user-plane. * 2 - Use A-GLONASS in Radio Resource Location user-plane. * 4 - Use A-GLONASS in LTE Positioning Protocol User plane. * 4 - Use A-GLONASS in LTE Positioning Protocol User plane. * @hide */ */ public static final String KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING = public static final String KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING = KEY_PREFIX + "a_glonass_pos_protocol_select"; KEY_PREFIX + "a_glonass_pos_protocol_select"; Loading @@ -3154,11 +3168,13 @@ public class CarrierConfigManager { * "1" - Lock Mobile Originated GPS functionalities. * "1" - Lock Mobile Originated GPS functionalities. * "2" - Lock Network initiated GPS functionalities. * "2" - Lock Network initiated GPS functionalities. * "3" - Lock both. This is default. * "3" - Lock both. This is default. * @hide */ */ public static final String KEY_GPS_LOCK_STRING = KEY_PREFIX + "gps_lock"; public static final String KEY_GPS_LOCK_STRING = KEY_PREFIX + "gps_lock"; /** /** * Control Plane / SUPL NI emergency extension time in seconds. Default to "0". * Control Plane / SUPL NI emergency extension time in seconds. Default to "0". * @hide */ */ public static final String KEY_ES_EXTENSION_SEC_STRING = KEY_PREFIX + "es_extension_sec"; public static final String KEY_ES_EXTENSION_SEC_STRING = KEY_PREFIX + "es_extension_sec"; Loading @@ -3167,6 +3183,7 @@ public class CarrierConfigManager { * the non-framework entities requesting location directly from GNSS without involving * the non-framework entities requesting location directly from GNSS without involving * the framework, as managed by IGnssVisibilityControl.hal. For example, * the framework, as managed by IGnssVisibilityControl.hal. For example, * "com.example.mdt com.example.ims". * "com.example.mdt com.example.ims". * @hide */ */ public static final String KEY_NFW_PROXY_APPS_STRING = KEY_PREFIX + "nfw_proxy_apps"; public static final String KEY_NFW_PROXY_APPS_STRING = KEY_PREFIX + "nfw_proxy_apps"; Loading @@ -3182,6 +3199,7 @@ public class CarrierConfigManager { * {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * <p> * <p> * The default value for this configuration is {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * The default value for this configuration is {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * @hide */ */ public static final String KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT = KEY_PREFIX public static final String KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT = KEY_PREFIX + "es_supl_control_plane_support_int"; + "es_supl_control_plane_support_int"; Loading @@ -3193,6 +3211,7 @@ public class CarrierConfigManager { * <p> * <p> * A string array of PLMNs that do not support a control-plane mechanism for getting a * A string array of PLMNs that do not support a control-plane mechanism for getting a * user's location for SUPL ES. * user's location for SUPL ES. * @hide */ */ public static final String KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY = public static final String KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY = KEY_PREFIX + "es_supl_data_plane_only_roaming_plmn_string_array"; KEY_PREFIX + "es_supl_data_plane_only_roaming_plmn_string_array"; Loading Loading
api/current.txt +5 −0 Original line number Original line Diff line number Diff line Loading @@ -44328,6 +44328,11 @@ package android.telephony { field public static final String KEY_WORLD_PHONE_BOOL = "world_phone_bool"; field public static final String KEY_WORLD_PHONE_BOOL = "world_phone_bool"; } } public static final class CarrierConfigManager.Gps { field public static final String KEY_PERSIST_LPP_MODE_BOOL = "gps.persist_lpp_mode_bool"; field public static final String KEY_PREFIX = "gps."; } public static final class CarrierConfigManager.Ims { public static final class CarrierConfigManager.Ims { field public static final String KEY_PREFIX = "ims."; field public static final String KEY_PREFIX = "ims."; } }
telephony/java/android/telephony/CarrierConfigManager.java +22 −3 Original line number Original line Diff line number Diff line Loading @@ -3051,16 +3051,18 @@ public class CarrierConfigManager { "data_switch_validation_timeout_long"; "data_switch_validation_timeout_long"; /** /** * GPS configs. See android.hardware.gnss@1.0 IGnssConfiguration. * GPS configs. See the GNSS HAL documentation for more details. * @hide */ */ public static final class Gps { public static final class Gps { private Gps() {} /** Prefix of all Gps.KEY_* constants. */ /** Prefix of all Gps.KEY_* constants. */ public static final String KEY_PREFIX = "gps."; public static final String KEY_PREFIX = "gps."; /** /** * Location information during (and after) an emergency call is only provided over control * Location information during (and after) an emergency call is only provided over control * plane signaling from the network. * plane signaling from the network. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_CP_ONLY = 0; public static final int SUPL_EMERGENCY_MODE_TYPE_CP_ONLY = 0; Loading @@ -3068,6 +3070,7 @@ public class CarrierConfigManager { * Location information during (and after) an emergency call is provided over the data * Location information during (and after) an emergency call is provided over the data * plane and serviced by the framework GNSS service, but if it fails, the carrier also * plane and serviced by the framework GNSS service, but if it fails, the carrier also * supports control plane backup signaling. * supports control plane backup signaling. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK = 1; public static final int SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK = 1; Loading @@ -3075,6 +3078,7 @@ public class CarrierConfigManager { * Location information during (and after) an emergency call is provided over the data plane * Location information during (and after) an emergency call is provided over the data plane * and serviced by the framework GNSS service only. There is no backup signalling over the * and serviced by the framework GNSS service only. There is no backup signalling over the * control plane if it fails. * control plane if it fails. * @hide */ */ public static final int SUPL_EMERGENCY_MODE_TYPE_DP_ONLY = 2; public static final int SUPL_EMERGENCY_MODE_TYPE_DP_ONLY = 2; Loading @@ -3091,10 +3095,14 @@ public class CarrierConfigManager { /** /** * SUPL server host for SET Initiated & non-ES Network-Initiated SUPL requests. * SUPL server host for SET Initiated & non-ES Network-Initiated SUPL requests. * Default to supl.google.com * Default to supl.google.com * @hide */ */ public static final String KEY_SUPL_HOST_STRING = KEY_PREFIX + "supl_host"; public static final String KEY_SUPL_HOST_STRING = KEY_PREFIX + "supl_host"; /** SUPL server port. Default to 7275. */ /** * SUPL server port. Default to 7275. * @hide */ public static final String KEY_SUPL_PORT_STRING = KEY_PREFIX + "supl_port"; public static final String KEY_SUPL_PORT_STRING = KEY_PREFIX + "supl_port"; /** /** Loading @@ -3102,6 +3110,7 @@ public class CarrierConfigManager { * with bits 0:7 representing a service indicator field, bits 8:15 * with bits 0:7 representing a service indicator field, bits 8:15 * representing the minor version and bits 16:23 representing the * representing the minor version and bits 16:23 representing the * major version. Default to 0x20000. * major version. Default to 0x20000. * @hide */ */ public static final String KEY_SUPL_VER_STRING = KEY_PREFIX + "supl_ver"; public static final String KEY_SUPL_VER_STRING = KEY_PREFIX + "supl_ver"; Loading @@ -3109,6 +3118,7 @@ public class CarrierConfigManager { * SUPL_MODE configuration bit mask * SUPL_MODE configuration bit mask * 1 - Mobile Station Based. This is default. * 1 - Mobile Station Based. This is default. * 2 - Mobile Station Assisted. * 2 - Mobile Station Assisted. * @hide */ */ public static final String KEY_SUPL_MODE_STRING = KEY_PREFIX + "supl_mode"; public static final String KEY_SUPL_MODE_STRING = KEY_PREFIX + "supl_mode"; Loading @@ -3117,6 +3127,7 @@ public class CarrierConfigManager { * (e.g. E911), and SUPL non-ES requests to only outside of non user emergency sessions. * (e.g. E911), and SUPL non-ES requests to only outside of non user emergency sessions. * 0 - no. * 0 - no. * 1 - yes. This is default. * 1 - yes. This is default. * @hide */ */ // TODO(b/119567985): name this key properly // TODO(b/119567985): name this key properly public static final String KEY_SUPL_ES_STRING = KEY_PREFIX + "supl_es"; public static final String KEY_SUPL_ES_STRING = KEY_PREFIX + "supl_es"; Loading @@ -3126,6 +3137,7 @@ public class CarrierConfigManager { * 0 - Radio Resource Location Protocol in user plane and control plane. This is default. * 0 - Radio Resource Location Protocol in user plane and control plane. This is default. * 1 - Enable LTE Positioning Protocol in user plane. * 1 - Enable LTE Positioning Protocol in user plane. * 2 - Enable LTE Positioning Protocol in control plane. * 2 - Enable LTE Positioning Protocol in control plane. * @hide */ */ public static final String KEY_LPP_PROFILE_STRING = KEY_PREFIX + "lpp_profile"; public static final String KEY_LPP_PROFILE_STRING = KEY_PREFIX + "lpp_profile"; Loading @@ -3133,6 +3145,7 @@ public class CarrierConfigManager { * Determine whether to use emergency PDN for emergency SUPL. * Determine whether to use emergency PDN for emergency SUPL. * 0 - no. * 0 - no. * 1 - yes. This is default. * 1 - yes. This is default. * @hide */ */ public static final String KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING = public static final String KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING = KEY_PREFIX + "use_emergency_pdn_for_emergency_supl"; KEY_PREFIX + "use_emergency_pdn_for_emergency_supl"; Loading @@ -3143,6 +3156,7 @@ public class CarrierConfigManager { * 1 - Use A-GLONASS in Radio Resource Control(RRC) control-plane. * 1 - Use A-GLONASS in Radio Resource Control(RRC) control-plane. * 2 - Use A-GLONASS in Radio Resource Location user-plane. * 2 - Use A-GLONASS in Radio Resource Location user-plane. * 4 - Use A-GLONASS in LTE Positioning Protocol User plane. * 4 - Use A-GLONASS in LTE Positioning Protocol User plane. * @hide */ */ public static final String KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING = public static final String KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING = KEY_PREFIX + "a_glonass_pos_protocol_select"; KEY_PREFIX + "a_glonass_pos_protocol_select"; Loading @@ -3154,11 +3168,13 @@ public class CarrierConfigManager { * "1" - Lock Mobile Originated GPS functionalities. * "1" - Lock Mobile Originated GPS functionalities. * "2" - Lock Network initiated GPS functionalities. * "2" - Lock Network initiated GPS functionalities. * "3" - Lock both. This is default. * "3" - Lock both. This is default. * @hide */ */ public static final String KEY_GPS_LOCK_STRING = KEY_PREFIX + "gps_lock"; public static final String KEY_GPS_LOCK_STRING = KEY_PREFIX + "gps_lock"; /** /** * Control Plane / SUPL NI emergency extension time in seconds. Default to "0". * Control Plane / SUPL NI emergency extension time in seconds. Default to "0". * @hide */ */ public static final String KEY_ES_EXTENSION_SEC_STRING = KEY_PREFIX + "es_extension_sec"; public static final String KEY_ES_EXTENSION_SEC_STRING = KEY_PREFIX + "es_extension_sec"; Loading @@ -3167,6 +3183,7 @@ public class CarrierConfigManager { * the non-framework entities requesting location directly from GNSS without involving * the non-framework entities requesting location directly from GNSS without involving * the framework, as managed by IGnssVisibilityControl.hal. For example, * the framework, as managed by IGnssVisibilityControl.hal. For example, * "com.example.mdt com.example.ims". * "com.example.mdt com.example.ims". * @hide */ */ public static final String KEY_NFW_PROXY_APPS_STRING = KEY_PREFIX + "nfw_proxy_apps"; public static final String KEY_NFW_PROXY_APPS_STRING = KEY_PREFIX + "nfw_proxy_apps"; Loading @@ -3182,6 +3199,7 @@ public class CarrierConfigManager { * {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * <p> * <p> * The default value for this configuration is {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * The default value for this configuration is {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. * @hide */ */ public static final String KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT = KEY_PREFIX public static final String KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT = KEY_PREFIX + "es_supl_control_plane_support_int"; + "es_supl_control_plane_support_int"; Loading @@ -3193,6 +3211,7 @@ public class CarrierConfigManager { * <p> * <p> * A string array of PLMNs that do not support a control-plane mechanism for getting a * A string array of PLMNs that do not support a control-plane mechanism for getting a * user's location for SUPL ES. * user's location for SUPL ES. * @hide */ */ public static final String KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY = public static final String KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY = KEY_PREFIX + "es_supl_data_plane_only_roaming_plmn_string_array"; KEY_PREFIX + "es_supl_data_plane_only_roaming_plmn_string_array"; Loading