Merge "Update description based on API feedback"

am: f397b39442

Change-Id: I4abb8d87ecd681105a059b264b3c4808fce535bc
This commit is contained in:
Chiachang Wang
2019-03-05 17:23:24 -08:00
committed by android-build-merger
5 changed files with 25 additions and 10 deletions

View File

@@ -10475,8 +10475,9 @@ public final class Settings {
/**
* The threshold value for the number of consecutive dns timeout events received to be a
* signal of data stall. Set the value to 0 or less than 0 to disable. Note that the value
* should be larger than 0 if the DNS data stall detection is enabled.
* signal of data stall. The number of consecutive timeouts needs to be {@code >=} this
* threshold to be considered a data stall. Set the value to {@code <= 0} to disable. Note
* that the value should be {@code > 0} if the DNS data stall detection is enabled.
*
* @hide
*/
@@ -10507,15 +10508,27 @@ public final class Settings {
"data_stall_valid_dns_time_threshold";
/**
* Which data stall detection signal to use. Possible values are a union of the powers of 2
* of DATA_STALL_EVALUATION_TYPE_*.
* Which data stall detection signal to use. This is a bitmask constructed by bitwise-or-ing
* (i.e. {@code |}) the DATA_STALL_EVALUATION_TYPE_* values.
*
* Type: int
* Valid values:
* {@link #DATA_STALL_EVALUATION_TYPE_DNS} : Use dns as a signal.
* @hide
*/
@SystemApi
@TestApi
public static final String DATA_STALL_EVALUATION_TYPE = "data_stall_evaluation_type";
/**
* Use dns timeout counts to detect data stall.
*
* @hide
*/
@SystemApi
@TestApi
public static final int DATA_STALL_EVALUATION_TYPE_DNS = 1;
/**
* Whether to try cellular data recovery when a bad network is reported.
*