Class ShadowTrafficStats

    • Constructor Detail

      • ShadowTrafficStats

        public ShadowTrafficStats()
    • Method Detail

      • setThreadStatsTag

        protected static void setThreadStatsTag​(int tag)
      • getThreadStatsTag

        protected static int getThreadStatsTag()
      • clearThreadStatsTag

        protected static void clearThreadStatsTag()
      • incrementOperationCount

        protected static void incrementOperationCount​(int operationCount)
      • incrementOperationCount

        protected static void incrementOperationCount​(int tag,
                                                      int operationCount)
      • getMobileTxPackets

        protected static long getMobileTxPackets()
      • getMobileRxPackets

        protected static long getMobileRxPackets()
      • getMobileTxBytes

        protected static long getMobileTxBytes()
      • getMobileRxBytes

        protected static long getMobileRxBytes()
      • getTotalTxPackets

        protected static long getTotalTxPackets()
      • getTotalRxPackets

        protected static long getTotalRxPackets()
      • getTotalTxBytes

        protected static long getTotalTxBytes()
      • getTotalRxBytes

        protected static long getTotalRxBytes()
      • getUidTxBytes

        protected static long getUidTxBytes​(int i)
      • getUidRxBytes

        protected static long getUidRxBytes​(int i)
      • getUidTxPackets

        protected static long getUidTxPackets​(int i)
      • getUidRxPackets

        protected static long getUidRxPackets​(int i)
      • getUidTcpTxBytes

        protected static long getUidTcpTxBytes​(int i)
      • getUidTcpRxBytes

        protected static long getUidTcpRxBytes​(int i)
      • getUidUdpTxBytes

        protected static long getUidUdpTxBytes​(int i)
      • getUidUdpRxBytes

        protected static long getUidUdpRxBytes​(int i)
      • getUidTcpTxSegments

        protected static long getUidTcpTxSegments​(int i)
      • getUidTcpRxSegments

        protected static long getUidTcpRxSegments​(int i)
      • getUidUdpTxPackets

        protected static long getUidUdpTxPackets​(int i)
      • getUidUdpRxPackets

        protected static long getUidUdpRxPackets​(int i)
      • setMobileTxPackets

        public static void setMobileTxPackets​(int mobileTxPackets)
        Sets the value returned by getMobileTxPackets() for testing
      • setMobileRxPackets

        public static void setMobileRxPackets​(int mobileRxPackets)
        Sets the value returned by getMobileRxPackets() for testing
      • setMobileTxBytes

        public static void setMobileTxBytes​(int mobileTxBytes)
        Sets the value returned by getMobileTxBytes() for testing
      • setMobileRxBytes

        public static void setMobileRxBytes​(int mobileRxBytes)
        Sets the value returned by getMobileRxBytes() for testing
      • setTotalTxPackets

        public static void setTotalTxPackets​(int totalTxPackets)
        Sets the value returned by getTotalTxPackets() for testing
      • setTotalRxPackets

        public static void setTotalRxPackets​(int totalRxPackets)
        Sets the value returned by getTotalRxPackets() for testing
      • setTotalTxBytes

        public static void setTotalTxBytes​(int totalTxBytes)
        Sets the value returned by getTotalTxBytes() for testing
      • setTotalRxBytes

        public static void setTotalRxBytes​(int totalRxBytes)
        Sets the value returned by getTotalRxBytes() for testing