package org.robolectric.shadows;

import android.net.TrafficStats;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

@Implements(TrafficStats.class)
public class ShadowTrafficStats {

  @Implementation
  public static void setThreadStatsTag(int tag) {
  }

  @Implementation
  public static int getThreadStatsTag() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static void clearThreadStatsTag() {
  }

  @Implementation
  public static void tagSocket(java.net.Socket socket) throws java.net.SocketException {
  }

  @Implementation
  public static void untagSocket(java.net.Socket socket) throws java.net.SocketException {
  }

  @Implementation
  public static void incrementOperationCount(int operationCount) {
  }

  @Implementation
  public static void incrementOperationCount(int tag, int operationCount) {
  }

  @Implementation
  public static long getMobileTxPackets() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getMobileRxPackets() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getMobileTxBytes() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getMobileRxBytes() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getTotalTxPackets() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getTotalRxPackets() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getTotalTxBytes() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getTotalRxBytes() {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidRxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTxPackets(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidRxPackets(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTcpTxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTcpRxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidUdpTxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidUdpRxBytes(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTcpTxSegments(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidTcpRxSegments(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidUdpTxPackets(int i) {
    return TrafficStats.UNSUPPORTED;
  }

  @Implementation
  public static long getUidUdpRxPackets(int i) {
    return TrafficStats.UNSUPPORTED;
  }
}


@@ -237,37 +237,40 @@
 plementation%0A  p
-ublic
+rotected
  static void set
@@ -313,37 +313,40 @@
 plementation%0A  p
-ublic
+rotected
  static int getT
@@ -418,37 +418,40 @@
 plementation%0A  p
-ublic
+rotected
  static void cle
@@ -489,37 +489,40 @@
 plementation%0A  p
-ublic
+rotected
  static void tag
@@ -604,37 +604,40 @@
 plementation%0A  p
-ublic
+rotected
  static void unt
@@ -721,37 +721,40 @@
 plementation%0A  p
-ublic
+rotected
  static void inc
@@ -814,37 +814,40 @@
 plementation%0A  p
-ublic
+rotected
  static void inc
@@ -916,37 +916,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1023,37 +1023,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1130,37 +1130,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1235,37 +1235,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1340,37 +1340,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1446,37 +1446,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1552,37 +1552,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1656,37 +1656,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1760,37 +1760,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1867,37 +1867,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -1974,37 +1974,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2083,37 +2083,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2192,37 +2192,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2302,37 +2302,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2412,37 +2412,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2522,37 +2522,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2632,37 +2632,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2745,37 +2745,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2858,37 +2858,40 @@
 plementation%0A  p
-ublic
+rotected
  static long get
@@ -2978,21 +2978,24 @@
 tion%0A  p
-ublic
+rotected
  static 

Make ShadowTrafficStats @Implementation methods protected