android.support.v4.net
Class TrafficStatsCompatIcs
java.lang.Object
android.support.v4.net.TrafficStatsCompatIcs
public class TrafficStatsCompatIcs
- extends java.lang.Object
Implementation of TrafficStatsCompat that can call ICS APIs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrafficStatsCompatIcs
public TrafficStatsCompatIcs()
clearThreadStatsTag
public static void clearThreadStatsTag()
getThreadStatsTag
public static int getThreadStatsTag()
incrementOperationCount
public static void incrementOperationCount(int operationCount)
incrementOperationCount
public static void incrementOperationCount(int tag,
int operationCount)
setThreadStatsTag
public static void setThreadStatsTag(int tag)
tagSocket
public static void tagSocket(java.net.Socket socket)
throws java.net.SocketException
- Throws:
java.net.SocketException
untagSocket
public static void untagSocket(java.net.Socket socket)
throws java.net.SocketException
- Throws:
java.net.SocketException