android.support.v4.net
Class TrafficStatsCompatIcs

java.lang.Object
  extended by android.support.v4.net.TrafficStatsCompatIcs

public class TrafficStatsCompatIcs
extends Object

Implementation of TrafficStatsCompat that can call ICS APIs.


Constructor Summary
TrafficStatsCompatIcs()
           
 
Method Summary
static void clearThreadStatsTag()
           
static int getThreadStatsTag()
           
static void incrementOperationCount(int operationCount)
           
static void incrementOperationCount(int tag, int operationCount)
           
static void setThreadStatsTag(int tag)
           
static void tagSocket(Socket socket)
           
static void untagSocket(Socket socket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrafficStatsCompatIcs

public TrafficStatsCompatIcs()
Method Detail

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(Socket socket)
                      throws SocketException
Throws:
SocketException

untagSocket

public static void untagSocket(Socket socket)
                        throws SocketException
Throws:
SocketException


Copyright © 2013 Marek Kedzierski. All Rights Reserved.