summaryrefslogtreecommitdiffstats
path: root/core/java/android/net
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-06-16 04:47:16 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-16 04:47:21 +0000
commita65a1582f5a04b15b53ebdec337ac611ccb78a07 (patch)
tree03d2cfba40268f510b4c121194cf75c7ab1e266b /core/java/android/net
parent892850396c21db891df784c0e1bb78115feee908 (diff)
parentb521feaed410b6862baca9b42d5fd7c398e07b2f (diff)
downloadframeworks_base-a65a1582f5a04b15b53ebdec337ac611ccb78a07.zip
frameworks_base-a65a1582f5a04b15b53ebdec337ac611ccb78a07.tar.gz
frameworks_base-a65a1582f5a04b15b53ebdec337ac611ccb78a07.tar.bz2
Merge "Update file size formatting." into mnc-dev
Diffstat (limited to 'core/java/android/net')
-rw-r--r--core/java/android/net/TrafficStats.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/net/TrafficStats.java b/core/java/android/net/TrafficStats.java
index ff3de2b..bb08be2 100644
--- a/core/java/android/net/TrafficStats.java
+++ b/core/java/android/net/TrafficStats.java
@@ -53,6 +53,8 @@ public class TrafficStats {
public static final long GB_IN_BYTES = MB_IN_BYTES * 1024;
/** @hide */
public static final long TB_IN_BYTES = GB_IN_BYTES * 1024;
+ /** @hide */
+ public static final long PB_IN_BYTES = TB_IN_BYTES * 1024;
/**
* Special UID value used when collecting {@link NetworkStatsHistory} for