diff options
| author | Aaron Huang <huangaaron@google.com> | 2022-03-15 03:55:41 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-03-15 03:55:41 +0000 |
| commit | 1b60475d2b10cf6c042a2b12db8a60eb6dfbc434 (patch) | |
| tree | 9dbbb6571425e4f7e38b328a455468387473a858 /framework-t/src/android/net/NetworkStats.java | |
| parent | 96189e9851fa2b9183f6196b8eb4ccfe0fe73fa1 (diff) | |
| parent | 0619e29450131a3a9fa5594b0b404ca8167de70b (diff) | |
Merge "Let docs tool to list the newly-visible IntDef values"
Diffstat (limited to 'framework-t/src/android/net/NetworkStats.java')
| -rw-r--r-- | framework-t/src/android/net/NetworkStats.java | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/framework-t/src/android/net/NetworkStats.java b/framework-t/src/android/net/NetworkStats.java index f681ba1c38..06f2a621bc 100644 --- a/framework-t/src/android/net/NetworkStats.java +++ b/framework-t/src/android/net/NetworkStats.java @@ -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; |
