Merge "Let docs tool to list the newly-visible IntDef values" am: 583be3615a am: b4c83efde2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2020536 Change-Id: I690a39cc4839299eaa214d1a9efc474710e71a07
This commit is contained in:
@@ -327,16 +327,11 @@ public final class NetworkStats implements Parcelable, Iterable<NetworkStats.Ent
|
||||
* @param uid uid of this {@link Entry}. {@link #UID_TETHERING} if this {@link Entry} is
|
||||
* for tethering. Or {@link #UID_ALL} if this {@link NetworkStats} is only
|
||||
* counting iface stats.
|
||||
* @param set usage state of this {@link Entry}. Should be one of the following
|
||||
* values: {@link #SET_DEFAULT}, {@link #SET_FOREGROUND}.
|
||||
* @param set usage state of this {@link Entry}.
|
||||
* @param tag tag of this {@link Entry}.
|
||||
* @param metered metered state of this {@link Entry}. Should be one of the following
|
||||
* values: {link #METERED_YES}, {link #METERED_NO}.
|
||||
* @param roaming roaming state of this {@link Entry}. Should be one of the following
|
||||
* values: {link #ROAMING_YES}, {link #ROAMING_NO}.
|
||||
* @param defaultNetwork default network status of this {@link Entry}. Should be one
|
||||
* of the following values: {link #DEFAULT_NETWORK_YES},
|
||||
* {link #DEFAULT_NETWORK_NO}.
|
||||
* @param metered metered state of this {@link Entry}.
|
||||
* @param roaming roaming state of this {@link Entry}.
|
||||
* @param defaultNetwork default network status of this {@link Entry}.
|
||||
* @param rxBytes Number of bytes received for this {@link Entry}. Statistics should
|
||||
* represent the contents of IP packets, including IP headers.
|
||||
* @param rxPackets Number of packets received for this {@link Entry}. Statistics should
|
||||
@@ -401,8 +396,7 @@ public final class NetworkStats implements Parcelable, Iterable<NetworkStats.Ent
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the set state of this entry. Should be one of the following
|
||||
* values: {@link #SET_DEFAULT}, {@link #SET_FOREGROUND}.
|
||||
* @return the set state of this entry.
|
||||
*/
|
||||
@State public int getSet() {
|
||||
return set;
|
||||
@@ -416,24 +410,21 @@ public final class NetworkStats implements Parcelable, Iterable<NetworkStats.Ent
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the metered state. Should be one of the following
|
||||
* values: {link #METERED_YES}, {link #METERED_NO}.
|
||||
* @return the metered state.
|
||||
*/
|
||||
@Meteredness public int getMetered() {
|
||||
return metered;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the roaming state. Should be one of the following
|
||||
* values: {link #ROAMING_YES}, {link #ROAMING_NO}.
|
||||
* @return the roaming state.
|
||||
*/
|
||||
@Roaming public int getRoaming() {
|
||||
return roaming;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the default network state. Should be one of the following
|
||||
* values: {link #DEFAULT_NETWORK_YES}, {link #DEFAULT_NETWORK_NO}.
|
||||
* @return the default network state.
|
||||
*/
|
||||
@DefaultNetwork public int getDefaultNetwork() {
|
||||
return defaultNetwork;
|
||||
|
||||
Reference in New Issue
Block a user