Merge "API fix: Rename and clarify ProvisioningManager constants" into rvc-dev am: 1084c52acf am: 5b53c0bef9 am: e7337c6cfd

Change-Id: Ia714a230a83835efb9789056f0290c74707f8cc0
This commit is contained in:
Automerger Merge Worker
2020-03-09 23:09:06 +00:00
5 changed files with 24 additions and 16 deletions

View File

@@ -12705,8 +12705,8 @@ package android.telephony.ims {
field public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17; // 0x11 field public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17; // 0x11
field public static final int KEY_RCS_CAPABILITY_POLL_LIST_SUB_EXP_SEC = 23; // 0x17 field public static final int KEY_RCS_CAPABILITY_POLL_LIST_SUB_EXP_SEC = 23; // 0x17
field public static final int KEY_RCS_MAX_NUM_ENTRIES_IN_RCL = 22; // 0x16 field public static final int KEY_RCS_MAX_NUM_ENTRIES_IN_RCL = 22; // 0x16
field public static final int KEY_RCS_PUBLISH_OFFLINE_AVAILABILITY_TIMER_SEC = 16; // 0x10
field public static final int KEY_RCS_PUBLISH_SOURCE_THROTTLE_MS = 21; // 0x15 field public static final int KEY_RCS_PUBLISH_SOURCE_THROTTLE_MS = 21; // 0x15
field public static final int KEY_RCS_PUBLISH_TIMER_EXTENDED_SEC = 16; // 0x10
field public static final int KEY_RCS_PUBLISH_TIMER_SEC = 15; // 0xf field public static final int KEY_RCS_PUBLISH_TIMER_SEC = 15; // 0xf
field public static final int KEY_REGISTRATION_DOMAIN_NAME = 12; // 0xc field public static final int KEY_REGISTRATION_DOMAIN_NAME = 12; // 0xc
field public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33; // 0x21 field public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33; // 0x21

View File

@@ -4299,8 +4299,8 @@ package android.telephony.ims {
field public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17; // 0x11 field public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17; // 0x11
field public static final int KEY_RCS_CAPABILITY_POLL_LIST_SUB_EXP_SEC = 23; // 0x17 field public static final int KEY_RCS_CAPABILITY_POLL_LIST_SUB_EXP_SEC = 23; // 0x17
field public static final int KEY_RCS_MAX_NUM_ENTRIES_IN_RCL = 22; // 0x16 field public static final int KEY_RCS_MAX_NUM_ENTRIES_IN_RCL = 22; // 0x16
field public static final int KEY_RCS_PUBLISH_OFFLINE_AVAILABILITY_TIMER_SEC = 16; // 0x10
field public static final int KEY_RCS_PUBLISH_SOURCE_THROTTLE_MS = 21; // 0x15 field public static final int KEY_RCS_PUBLISH_SOURCE_THROTTLE_MS = 21; // 0x15
field public static final int KEY_RCS_PUBLISH_TIMER_EXTENDED_SEC = 16; // 0x10
field public static final int KEY_RCS_PUBLISH_TIMER_SEC = 15; // 0xf field public static final int KEY_RCS_PUBLISH_TIMER_SEC = 15; // 0xf
field public static final int KEY_REGISTRATION_DOMAIN_NAME = 12; // 0xc field public static final int KEY_REGISTRATION_DOMAIN_NAME = 12; // 0xc
field public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33; // 0x21 field public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33; // 0x21

View File

@@ -34,8 +34,9 @@ public class ImsManager {
private Context mContext; private Context mContext;
/** /**
* <p>Broadcast Action: Indicates that an IMS operation was rejected by the network due to it * <p>Broadcast Action: Indicates that a previously allowed IMS operation was rejected by the
* not being authorized on the network. * network due to the network returning a "forbidden" response. This may be due to a
* provisioning change from the network.
* May include the {@link SubscriptionManager#EXTRA_SUBSCRIPTION_INDEX} extra to also specify * May include the {@link SubscriptionManager#EXTRA_SUBSCRIPTION_INDEX} extra to also specify
* which subscription the operation was rejected for. * which subscription the operation was rejected for.
* <p class="note"> * <p class="note">

View File

@@ -305,13 +305,13 @@ public class ProvisioningManager {
/** /**
* An integer key associated with the carrier configured expiration time in seconds for * An integer key associated with the carrier configured expiration time in seconds for
* RCS presence published offline availability in RCS presence. * published offline availability in RCS presence provided, which is provided to the network.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
* @see #getProvisioningIntValue(int) * @see #getProvisioningIntValue(int)
*/ */
public static final int KEY_RCS_PUBLISH_TIMER_EXTENDED_SEC = 16; public static final int KEY_RCS_PUBLISH_OFFLINE_AVAILABILITY_TIMER_SEC = 16;
/** /**
* An integer key associated with whether or not capability discovery is provisioned for this * An integer key associated with whether or not capability discovery is provisioned for this
@@ -326,8 +326,10 @@ public class ProvisioningManager {
public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17; public static final int KEY_RCS_CAPABILITY_DISCOVERY_ENABLED = 17;
/** /**
* An integer key associated with the period of time the capability information of each contact * An integer key associated with the period of time in seconds the capability information of
* is cached on the device. * each contact is cached on the device.
* <p>
* Seconds are used because this is usually measured in the span of days.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
@@ -337,7 +339,8 @@ public class ProvisioningManager {
/** /**
* An integer key associated with the period of time in seconds that the availability * An integer key associated with the period of time in seconds that the availability
* information of a contact is cached on the device. * information of a contact is cached on the device, which is based on the carrier provisioning
* configuration from the network.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
@@ -347,7 +350,8 @@ public class ProvisioningManager {
/** /**
* An integer key associated with the carrier configured interval in seconds expected between * An integer key associated with the carrier configured interval in seconds expected between
* successive capability polling attempts. * successive capability polling attempts, which is based on the carrier provisioning
* configuration from the network.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
@@ -357,7 +361,7 @@ public class ProvisioningManager {
/** /**
* An integer key representing the minimum time allowed between two consecutive presence publish * An integer key representing the minimum time allowed between two consecutive presence publish
* messages from the device. * messages from the device in milliseconds.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
@@ -378,7 +382,7 @@ public class ProvisioningManager {
/** /**
* An integer associated with the expiration timer used during the SIP subscription of a * An integer associated with the expiration timer used during the SIP subscription of a
* Request Contained List (RCL), which is used to retrieve the RCS capabilities of the contact * Request Contained List (RCL), which is used to retrieve the RCS capabilities of the contact
* book. * book. This timer value is sent in seconds to the network.
* <p> * <p>
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
@@ -470,7 +474,8 @@ public class ProvisioningManager {
public static final int KEY_SIP_KEEP_ALIVE_ENABLED = 32; public static final int KEY_SIP_KEEP_ALIVE_ENABLED = 32;
/** /**
* Registration retry Base Time value in seconds. * Registration retry Base Time value in seconds, which is based off of the carrier
* configuration.
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
* @see #getProvisioningIntValue(int) * @see #getProvisioningIntValue(int)
@@ -478,7 +483,8 @@ public class ProvisioningManager {
public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33; public static final int KEY_REGISTRATION_RETRY_BASE_TIME_SEC = 33;
/** /**
* Registration retry Max Time value in seconds. * Registration retry Max Time value in seconds, which is based off of the carrier
* configuration.
* Value is in Integer format. * Value is in Integer format.
* @see #setProvisioningIntValue(int, int) * @see #setProvisioningIntValue(int, int)
* @see #getProvisioningIntValue(int) * @see #getProvisioningIntValue(int)

View File

@@ -270,11 +270,12 @@ public class ImsConfig {
/** /**
* Requested expiration for Published Offline availability. * Requested expiration for Published Offline availability.
* Value is in Integer format. * Value is in Integer format.
* @deprecated use {@link ProvisioningManager#KEY_RCS_PUBLISH_TIMER_EXTENDED_SEC}. * @deprecated use
* {@link ProvisioningManager#KEY_RCS_PUBLISH_OFFLINE_AVAILABILITY_TIMER_SEC}.
*/ */
@Deprecated @Deprecated
public static final int PUBLISH_TIMER_EXTENDED = public static final int PUBLISH_TIMER_EXTENDED =
ProvisioningManager.KEY_RCS_PUBLISH_TIMER_EXTENDED_SEC; ProvisioningManager.KEY_RCS_PUBLISH_OFFLINE_AVAILABILITY_TIMER_SEC;
/** /**
* *