Loading telephony/java/android/telephony/data/DataCallResponse.java +6 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; import android.net.LinkAddress; import android.net.LinkProperties; import android.os.Parcel; import android.os.Parcelable; import android.telephony.Annotation.DataFailureCause; Loading Loading @@ -276,9 +277,11 @@ public final class DataCallResponse implements Parcelable { } /** * @return The network suggested data retry duration in milliseconds. {@code Long.MAX_VALUE} * indicates data retry should not occur. {@link #RETRY_DURATION_UNDEFINED} indicates network * did not suggest any retry duration. * @return The network suggested data retry duration in milliseconds as specified in * 3GPP TS 24.302 section 8.2.9.1. The APN associated to this data call will be throttled for * the specified duration unless {@link DataServiceCallback#onApnUnthrottled} is called. * {@code Long.MAX_VALUE} indicates data retry should not occur. * {@link #RETRY_DURATION_UNDEFINED} indicates network did not suggest any retry duration. */ public long getRetryDurationMillis() { return mSuggestedRetryTime; Loading telephony/java/android/telephony/data/DataServiceCallback.java +5 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ public class DataServiceCallback { } /** * Indicates that the specified APN is no longer throttled. * The APN is throttled for the duration specified in * {@link DataCallResponse#getRetryDurationMillis}. Calling this method unthrottles that * APN. * <p/> * see: {@link DataCallResponse#getRetryDurationMillis} * * @param apn Access Point Name defined by the carrier. */ Loading Loading
telephony/java/android/telephony/data/DataCallResponse.java +6 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; import android.net.LinkAddress; import android.net.LinkProperties; import android.os.Parcel; import android.os.Parcelable; import android.telephony.Annotation.DataFailureCause; Loading Loading @@ -276,9 +277,11 @@ public final class DataCallResponse implements Parcelable { } /** * @return The network suggested data retry duration in milliseconds. {@code Long.MAX_VALUE} * indicates data retry should not occur. {@link #RETRY_DURATION_UNDEFINED} indicates network * did not suggest any retry duration. * @return The network suggested data retry duration in milliseconds as specified in * 3GPP TS 24.302 section 8.2.9.1. The APN associated to this data call will be throttled for * the specified duration unless {@link DataServiceCallback#onApnUnthrottled} is called. * {@code Long.MAX_VALUE} indicates data retry should not occur. * {@link #RETRY_DURATION_UNDEFINED} indicates network did not suggest any retry duration. */ public long getRetryDurationMillis() { return mSuggestedRetryTime; Loading
telephony/java/android/telephony/data/DataServiceCallback.java +5 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ public class DataServiceCallback { } /** * Indicates that the specified APN is no longer throttled. * The APN is throttled for the duration specified in * {@link DataCallResponse#getRetryDurationMillis}. Calling this method unthrottles that * APN. * <p/> * see: {@link DataCallResponse#getRetryDurationMillis} * * @param apn Access Point Name defined by the carrier. */ Loading