/frameworks/support/v4/ics/android/support/v4/net/ |
D | TrafficStatsCompatIcs.java | 19 import android.net.TrafficStats; 29 TrafficStats.clearThreadStatsTag(); in clearThreadStatsTag() 33 return TrafficStats.getThreadStatsTag(); in getThreadStatsTag() 37 TrafficStats.incrementOperationCount(operationCount); in incrementOperationCount() 41 TrafficStats.incrementOperationCount(tag, operationCount); in incrementOperationCount() 45 TrafficStats.setThreadStatsTag(tag); in setThreadStatsTag() 49 TrafficStats.tagSocket(socket); in tagSocket() 53 TrafficStats.untagSocket(socket); in untagSocket()
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | TrafficStatsBenchmark.java | 24 TrafficStats.getUidRxBytes(android.os.Process.myUid()); in timeGetUidRxBytes() 30 TrafficStats.getMobileRxBytes(); in timeGetMobileRxBytes() 36 TrafficStats.getTotalRxBytes(); in timeGetTotalRxBytes()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 24 import android.net.TrafficStats; 117 TrafficStats.startDataProfiling(mContext); in downloadFile() 120 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in downloadFile() 173 TrafficStats.startDataProfiling(mContext); in uploadFile() 175 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in uploadFile() 226 TrafficStats.startDataProfiling(mContext); in downloadFileUsingDownloadManager() 233 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in downloadFileUsingDownloadManager()
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 19 import android.net.TrafficStats; 99 TrafficStats.startDataProfiling(null); in runTest() 105 NetworkStats stats = TrafficStats.stopDataProfiling(null); in runTest()
|
/frameworks/volley/src/com/android/volley/ |
D | NetworkDispatcher.java | 20 import android.net.TrafficStats; 77 TrafficStats.setThreadStatsTag(request.getTrafficStatsTag()); in addTrafficStatsTag()
|
D | Request.java | 19 import android.net.TrafficStats;
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 24 import android.net.TrafficStats; 85 TrafficStats.closeQuietly(session); in fetchStats()
|
/frameworks/base/docs/html/sdk/api_diff/12/ |
D | missingSinces.txt | 48 NO DOC BLOCK: android.net.TrafficStats Method getUidRxPackets(int) 49 NO DOC BLOCK: android.net.TrafficStats Method getUidTcpRxBytes(int) 50 NO DOC BLOCK: android.net.TrafficStats Method getUidTcpRxSegments(int) 51 NO DOC BLOCK: android.net.TrafficStats Method getUidTcpTxBytes(int) 52 NO DOC BLOCK: android.net.TrafficStats Method getUidTcpTxSegments(int) 53 NO DOC BLOCK: android.net.TrafficStats Method getUidTxPackets(int) 54 NO DOC BLOCK: android.net.TrafficStats Method getUidUdpRxBytes(int) 55 NO DOC BLOCK: android.net.TrafficStats Method getUidUdpRxPackets(int) 56 NO DOC BLOCK: android.net.TrafficStats Method getUidUdpTxBytes(int) 57 NO DOC BLOCK: android.net.TrafficStats Method getUidUdpTxPackets(int)
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiTrafficPoller.java | 25 import android.net.TrafficStats; 178 mTxPkts = TrafficStats.getTxPackets(mInterface); in notifyOnDataActivity() 179 mRxPkts = TrafficStats.getRxPackets(mInterface); in notifyOnDataActivity()
|
/frameworks/base/docs/html/tools/debugging/ |
D | ddms.jd | 237 {@link android.net.TrafficStats} API allows you 239 android.net.TrafficStats#setThreadStatsTag setThreadStatsTag()}, followed 241 android.net.TrafficStats#tagSocket tagSocket()} and {@link 242 android.net.TrafficStats#untagSocket untagSocket()}. For example:</p> 244 <pre>TrafficStats.setThreadStatsTag(0xF00D); 245 TrafficStats.tagSocket(outputSocket); 247 TrafficStats.untagSocket(outputSocket);</pre> 253 {@link android.net.TrafficStats#getThreadStatsTag getThreadStatsTag()}). 256 {@link android.net.TrafficStats#setThreadStatsTag setThreadStatsTag()} 260 be returned by {@link android.net.TrafficStats#getThreadStatsTag getThreadStatsTag()} [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 28 import android.net.TrafficStats; 95 assertEquals(TrafficStats.TAG_SYSTEM_DOWNLOAD, kernelToTag("0xffffff0100000000")); in testKernelTags()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 20 import static android.net.TrafficStats.KB_IN_BYTES; 21 import static android.net.TrafficStats.MB_IN_BYTES; 28 import android.net.TrafficStats;
|
D | NetworkStatsCollection.java | 24 import static android.net.TrafficStats.UID_REMOVED; 33 import android.net.TrafficStats;
|
D | NetworkStatsService.java | 38 import static android.net.TrafficStats.KB_IN_BYTES; 39 import static android.net.TrafficStats.MB_IN_BYTES; 87 import android.net.TrafficStats;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageHelperTests.java | 19 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 32 import android.net.TrafficStats; 441 TrafficStats.setThreadStatsUid(mUidResponsibleForReeval); in enter() 503 TrafficStats.clearThreadStatsUid(); in exit()
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | efficient-network-access.jd | 154 … to tag the data transfers occurring within a thread using the {@code TrafficStats.setThreadStatsT… 156 <pre>TrafficStats.setThreadStatsTag(0xF00D); 157 TrafficStats.tagSocket(outputSocket); 159 TrafficStats.untagSocket(outputSocket);</pre> 163 <pre>TrafficStats.setThreadStatsTag(0xF00D); 167 TrafficStats.clearThreadStatsTag();
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 42 public class TrafficStats { class
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsHistoryTest.java | 27 import static android.net.TrafficStats.GB_IN_BYTES; 28 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 34 import static android.net.TrafficStats.MB_IN_BYTES; 35 import static android.net.TrafficStats.UID_REMOVED; 36 import static android.net.TrafficStats.UID_TETHERING;
|
D | NetworkPolicyManagerServiceTest.java | 31 import static android.net.TrafficStats.KB_IN_BYTES; 32 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 19 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 19 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTrackerBase.java | 32 import android.net.TrafficStats; 499 this.txPkts = TrafficStats.getMobileTcpTxPackets(); in updateTxRxSum() 500 this.rxPkts = TrafficStats.getMobileTcpRxPackets(); in updateTxRxSum()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 19 import static android.net.TrafficStats.KB_IN_BYTES;
|