Loading api/system-current.txt +5 −2 Original line number Diff line number Diff line Loading @@ -12043,7 +12043,8 @@ package android.telephony.data { method public int getMtuV6(); method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses(); method public int getProtocolType(); method public int getSuggestedRetryTime(); method public long getRetryIntervalMillis(); method @Deprecated public int getSuggestedRetryTime(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR; field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1 Loading @@ -12055,6 +12056,7 @@ package android.telephony.data { field public static final int LINK_STATUS_DORMANT = 1; // 0x1 field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int RETRY_INTERVAL_UNDEFINED = -1; // 0xffffffff } public static final class DataCallResponse.Builder { Loading @@ -12073,7 +12075,8 @@ package android.telephony.data { method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>); method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryIntervalMillis(long); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); } public final class DataProfile implements android.os.Parcelable { non-updatable-api/system-current.txt +5 −2 Original line number Diff line number Diff line Loading @@ -10894,7 +10894,8 @@ package android.telephony.data { method public int getMtuV6(); method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses(); method public int getProtocolType(); method public int getSuggestedRetryTime(); method public long getRetryIntervalMillis(); method @Deprecated public int getSuggestedRetryTime(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR; field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1 Loading @@ -10906,6 +10907,7 @@ package android.telephony.data { field public static final int LINK_STATUS_DORMANT = 1; // 0x1 field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int RETRY_INTERVAL_UNDEFINED = -1; // 0xffffffff } public static final class DataCallResponse.Builder { Loading @@ -10924,7 +10926,8 @@ package android.telephony.data { method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>); method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryIntervalMillis(long); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); } public final class DataProfile implements android.os.Parcelable { telephony/java/android/telephony/data/DataCallResponse.java +41 −7 Original line number Diff line number Diff line Loading @@ -109,8 +109,14 @@ public final class DataCallResponse implements Parcelable { */ public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_SETUP_NORMAL = 3; /** * Indicates that data retry interval is not specified. Platform can determine when to * perform data setup appropriately. */ public static final int RETRY_INTERVAL_UNDEFINED = -1; private final @DataFailureCause int mCause; private final int mSuggestedRetryTime; private final long mSuggestedRetryTime; private final int mId; private final @LinkStatus int mLinkStatus; private final @ProtocolType int mProtocolType; Loading Loading @@ -172,7 +178,7 @@ public final class DataCallResponse implements Parcelable { mHandoverFailureMode = HANDOVER_FAILURE_MODE_LEGACY; } private DataCallResponse(@DataFailureCause int cause, int suggestedRetryTime, int id, private DataCallResponse(@DataFailureCause int cause, long suggestedRetryTime, int id, @LinkStatus int linkStatus, @ProtocolType int protocolType, @Nullable String interfaceName, @Nullable List<LinkAddress> addresses, @Nullable List<InetAddress> dnsAddresses, @Nullable List<InetAddress> gatewayAddresses, Loading Loading @@ -202,7 +208,7 @@ public final class DataCallResponse implements Parcelable { @VisibleForTesting public DataCallResponse(Parcel source) { mCause = source.readInt(); mSuggestedRetryTime = source.readInt(); mSuggestedRetryTime = source.readLong(); mId = source.readInt(); mLinkStatus = source.readInt(); mProtocolType = source.readInt(); Loading @@ -229,8 +235,22 @@ public final class DataCallResponse implements Parcelable { /** * @return The suggested data retry time in milliseconds. * * @deprecated Use {@link #getRetryIntervalMillis()} instead. */ @Deprecated public int getSuggestedRetryTime() { return (int) mSuggestedRetryTime; } /** * @return The network suggested data retry interval in milliseconds. {@code Long.MAX_VALUE} * indicates data retry should not occur. {@link #RETRY_INTERVAL_UNDEFINED} indicates network * did not suggest any retry interval. */ public int getSuggestedRetryTime() { return mSuggestedRetryTime; } public long getRetryIntervalMillis() { return mSuggestedRetryTime; } /** * @return The unique id of the data connection. Loading Loading @@ -382,7 +402,7 @@ public final class DataCallResponse implements Parcelable { @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mCause); dest.writeInt(mSuggestedRetryTime); dest.writeLong(mSuggestedRetryTime); dest.writeInt(mId); dest.writeInt(mLinkStatus); dest.writeInt(mProtocolType); Loading Loading @@ -446,7 +466,7 @@ public final class DataCallResponse implements Parcelable { public static final class Builder { private @DataFailureCause int mCause; private int mSuggestedRetryTime; private long mSuggestedRetryTime = RETRY_INTERVAL_UNDEFINED; private int mId; Loading Loading @@ -494,9 +514,23 @@ public final class DataCallResponse implements Parcelable { * * @param suggestedRetryTime The suggested data retry time in milliseconds. * @return The same instance of the builder. * * @deprecated Use {@link #setRetryIntervalMillis(long)} instead. */ @Deprecated public @NonNull Builder setSuggestedRetryTime(int suggestedRetryTime) { mSuggestedRetryTime = suggestedRetryTime; mSuggestedRetryTime = (long) suggestedRetryTime; return this; } /** * Set the network suggested data retry interval. * * @param retryIntervalMillis The suggested data retry interval in milliseconds. * @return The same instance of the builder. */ public @NonNull Builder setRetryIntervalMillis(long retryIntervalMillis) { mSuggestedRetryTime = retryIntervalMillis; return this; } Loading Loading
api/system-current.txt +5 −2 Original line number Diff line number Diff line Loading @@ -12043,7 +12043,8 @@ package android.telephony.data { method public int getMtuV6(); method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses(); method public int getProtocolType(); method public int getSuggestedRetryTime(); method public long getRetryIntervalMillis(); method @Deprecated public int getSuggestedRetryTime(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR; field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1 Loading @@ -12055,6 +12056,7 @@ package android.telephony.data { field public static final int LINK_STATUS_DORMANT = 1; // 0x1 field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int RETRY_INTERVAL_UNDEFINED = -1; // 0xffffffff } public static final class DataCallResponse.Builder { Loading @@ -12073,7 +12075,8 @@ package android.telephony.data { method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>); method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryIntervalMillis(long); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); } public final class DataProfile implements android.os.Parcelable {
non-updatable-api/system-current.txt +5 −2 Original line number Diff line number Diff line Loading @@ -10894,7 +10894,8 @@ package android.telephony.data { method public int getMtuV6(); method @NonNull public java.util.List<java.net.InetAddress> getPcscfAddresses(); method public int getProtocolType(); method public int getSuggestedRetryTime(); method public long getRetryIntervalMillis(); method @Deprecated public int getSuggestedRetryTime(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.telephony.data.DataCallResponse> CREATOR; field public static final int HANDOVER_FAILURE_MODE_DO_FALLBACK = 1; // 0x1 Loading @@ -10906,6 +10907,7 @@ package android.telephony.data { field public static final int LINK_STATUS_DORMANT = 1; // 0x1 field public static final int LINK_STATUS_INACTIVE = 0; // 0x0 field public static final int LINK_STATUS_UNKNOWN = -1; // 0xffffffff field public static final int RETRY_INTERVAL_UNDEFINED = -1; // 0xffffffff } public static final class DataCallResponse.Builder { Loading @@ -10924,7 +10926,8 @@ package android.telephony.data { method @NonNull public android.telephony.data.DataCallResponse.Builder setMtuV6(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setPcscfAddresses(@NonNull java.util.List<java.net.InetAddress>); method @NonNull public android.telephony.data.DataCallResponse.Builder setProtocolType(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); method @NonNull public android.telephony.data.DataCallResponse.Builder setRetryIntervalMillis(long); method @Deprecated @NonNull public android.telephony.data.DataCallResponse.Builder setSuggestedRetryTime(int); } public final class DataProfile implements android.os.Parcelable {
telephony/java/android/telephony/data/DataCallResponse.java +41 −7 Original line number Diff line number Diff line Loading @@ -109,8 +109,14 @@ public final class DataCallResponse implements Parcelable { */ public static final int HANDOVER_FAILURE_MODE_NO_FALLBACK_RETRY_SETUP_NORMAL = 3; /** * Indicates that data retry interval is not specified. Platform can determine when to * perform data setup appropriately. */ public static final int RETRY_INTERVAL_UNDEFINED = -1; private final @DataFailureCause int mCause; private final int mSuggestedRetryTime; private final long mSuggestedRetryTime; private final int mId; private final @LinkStatus int mLinkStatus; private final @ProtocolType int mProtocolType; Loading Loading @@ -172,7 +178,7 @@ public final class DataCallResponse implements Parcelable { mHandoverFailureMode = HANDOVER_FAILURE_MODE_LEGACY; } private DataCallResponse(@DataFailureCause int cause, int suggestedRetryTime, int id, private DataCallResponse(@DataFailureCause int cause, long suggestedRetryTime, int id, @LinkStatus int linkStatus, @ProtocolType int protocolType, @Nullable String interfaceName, @Nullable List<LinkAddress> addresses, @Nullable List<InetAddress> dnsAddresses, @Nullable List<InetAddress> gatewayAddresses, Loading Loading @@ -202,7 +208,7 @@ public final class DataCallResponse implements Parcelable { @VisibleForTesting public DataCallResponse(Parcel source) { mCause = source.readInt(); mSuggestedRetryTime = source.readInt(); mSuggestedRetryTime = source.readLong(); mId = source.readInt(); mLinkStatus = source.readInt(); mProtocolType = source.readInt(); Loading @@ -229,8 +235,22 @@ public final class DataCallResponse implements Parcelable { /** * @return The suggested data retry time in milliseconds. * * @deprecated Use {@link #getRetryIntervalMillis()} instead. */ @Deprecated public int getSuggestedRetryTime() { return (int) mSuggestedRetryTime; } /** * @return The network suggested data retry interval in milliseconds. {@code Long.MAX_VALUE} * indicates data retry should not occur. {@link #RETRY_INTERVAL_UNDEFINED} indicates network * did not suggest any retry interval. */ public int getSuggestedRetryTime() { return mSuggestedRetryTime; } public long getRetryIntervalMillis() { return mSuggestedRetryTime; } /** * @return The unique id of the data connection. Loading Loading @@ -382,7 +402,7 @@ public final class DataCallResponse implements Parcelable { @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mCause); dest.writeInt(mSuggestedRetryTime); dest.writeLong(mSuggestedRetryTime); dest.writeInt(mId); dest.writeInt(mLinkStatus); dest.writeInt(mProtocolType); Loading Loading @@ -446,7 +466,7 @@ public final class DataCallResponse implements Parcelable { public static final class Builder { private @DataFailureCause int mCause; private int mSuggestedRetryTime; private long mSuggestedRetryTime = RETRY_INTERVAL_UNDEFINED; private int mId; Loading Loading @@ -494,9 +514,23 @@ public final class DataCallResponse implements Parcelable { * * @param suggestedRetryTime The suggested data retry time in milliseconds. * @return The same instance of the builder. * * @deprecated Use {@link #setRetryIntervalMillis(long)} instead. */ @Deprecated public @NonNull Builder setSuggestedRetryTime(int suggestedRetryTime) { mSuggestedRetryTime = suggestedRetryTime; mSuggestedRetryTime = (long) suggestedRetryTime; return this; } /** * Set the network suggested data retry interval. * * @param retryIntervalMillis The suggested data retry interval in milliseconds. * @return The same instance of the builder. */ public @NonNull Builder setRetryIntervalMillis(long retryIntervalMillis) { mSuggestedRetryTime = retryIntervalMillis; return this; } Loading