am 97afc8f5: am 7315af87: Need enough time (1 sec) to read amounts of packet from /proc/stat_uid/[uid]/tcp_snd.

Merge commit '97afc8f560be0b0e2e78e1d966365263ab643a72' into gingerbread-plus-aosp

* commit '97afc8f560be0b0e2e78e1d966365263ab643a72':
  Need enough time (1 sec) to read amounts of packet from /proc/stat_uid/[uid]/tcp_snd.
diff --git a/tests/tests/net/src/android/net/cts/TrafficStatsTest.java b/tests/tests/net/src/android/net/cts/TrafficStatsTest.java
index ee37244..9d23a87 100644
--- a/tests/tests/net/src/android/net/cts/TrafficStatsTest.java
+++ b/tests/tests/net/src/android/net/cts/TrafficStatsTest.java
@@ -170,6 +170,12 @@
             server.close();
         }
 
+        // It's too fast to call getUidTxBytes function.
+        try {
+            Thread.sleep(1000);
+        } catch (InterruptedException e) {
+        }
+
         long mobileTxPacketsAfter = TrafficStats.getTotalTxPackets();
         long mobileRxPacketsAfter = TrafficStats.getTotalRxPackets();
         long mobileTxBytesAfter = TrafficStats.getTotalTxBytes();