/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | TrafficStatsBenchmark.java | 22 TrafficStats.getUidRxBytes(android.os.Process.myUid()); in timeGetUidRxBytes() 28 TrafficStats.getMobileRxBytes(); in timeGetMobileRxBytes() 34 TrafficStats.getTotalRxBytes(); in timeGetTotalRxBytes()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 25 import android.net.TrafficStats; 124 TrafficStats.startDataProfiling(mContext); in downloadFile() 127 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in downloadFile() 180 TrafficStats.startDataProfiling(mContext); in uploadFile() 182 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in uploadFile() 233 TrafficStats.startDataProfiling(mContext); in downloadFileUsingDownloadManager() 240 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext); in downloadFileUsingDownloadManager()
|
/frameworks/base/core/java/android/net/ |
D | PrivateDnsConnectivityChecker.java | 47 TrafficStats.setThreadStatsTag(TrafficStats.TAG_SYSTEM_APP); in canConnectToPrivateDnsServer()
|
D | SntpClient.java | 104 final int oldTag = TrafficStats.getAndSetThreadStatsTag( in requestTime() 172 TrafficStats.setThreadStatsTag(oldTag); in requestTime()
|
D | TrafficStats.java | 55 public class TrafficStats { class
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsPsdsDownloader.java | 19 import android.net.TrafficStats; 97 final int oldTag = TrafficStats.getAndSetThreadStatsTag( in downloadPsdsData() 102 TrafficStats.setThreadStatsTag(oldTag); in downloadPsdsData()
|
/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 26 import android.net.TrafficStats; 151 return TrafficStats.getTxPackets(iface); in getTxPackets() 155 return TrafficStats.getRxPackets(iface); in getRxPackets()
|
/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/core/java/android/app/usage/ |
D | NetworkStats.java | 25 import android.net.TrafficStats; 166 public static final int UID_REMOVED = TrafficStats.UID_REMOVED; 171 public static final int UID_TETHERING = TrafficStats.UID_TETHERING; 301 case TrafficStats.UID_REMOVED: return UID_REMOVED; in convertUid() 302 case TrafficStats.UID_TETHERING: return UID_TETHERING; in convertUid()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 30 import android.net.TrafficStats; 119 case TrafficStats.UID_REMOVED: in buildUidDetail() 125 case TrafficStats.UID_TETHERING: in buildUidDetail()
|
D | NetworkCycleDataLoader.java | 31 import android.net.TrafficStats; 129 TrafficStats.closeQuietly(networkSession); in loadFourWeeksData()
|
D | DataUsageController.java | 22 import static android.net.TrafficStats.MB_IN_BYTES;
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 21 import static android.net.TrafficStats.UID_REMOVED; 22 import static android.net.TrafficStats.UID_TETHERING;
|
D | NetworkPolicyManagerService.java | 73 import static android.net.TrafficStats.MB_IN_BYTES; 160 import android.net.TrafficStats; 3075 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3077 .setDataUsage(1 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3085 .setDataUsage(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3091 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3093 .setDataUsage(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3102 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3104 .setDataUsage(1 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3110 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() [all …]
|
D | NetworkStatsRecorder.java | 20 import static android.net.TrafficStats.KB_IN_BYTES; 21 import static android.net.TrafficStats.MB_IN_BYTES; 31 import android.net.TrafficStats;
|
D | NetworkStatsCollection.java | 30 import static android.net.TrafficStats.UID_REMOVED; 39 import android.net.TrafficStats;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 29 import android.net.TrafficStats; 115 final int oldTag = TrafficStats.getAndSetThreadStatsTag( 123 TrafficStats.setThreadStatsTag(oldTag);
|
D | NetworkDiagnostics.java | 26 import android.net.TrafficStats; 385 final int oldTag = TrafficStats.getAndSetThreadStatsTag( in setupSocket() 390 TrafficStats.setThreadStatsTag(oldTag); in setupSocket()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 33 import android.net.TrafficStats; 242 int oldTag = TrafficStats.getAndSetThreadStatsTag( in testForCaptivePortal() 257 TrafficStats.setThreadStatsTag(oldTag); in testForCaptivePortal()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 35 import android.net.TrafficStats; 113 assertEquals(TrafficStats.TAG_SYSTEM_DOWNLOAD, kernelToTag("0xffffff0100000000")); in testKernelTags()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 31 import android.net.TrafficStats; 590 final int oldTag = TrafficStats.getAndSetThreadStatsTag( 604 TrafficStats.setThreadStatsTag(oldTag);
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 47 import android.net.TrafficStats; 1017 TrafficStats.setThreadStatsUid(uid); in IpSecService() 1018 TrafficStats.tagFileDescriptor(fd); in IpSecService() 1020 TrafficStats.clearThreadStatsUid(); in IpSecService()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 32 import android.net.TrafficStats; 341 / (slowest * TrafficStats.KB_IN_BYTES / 8)); in isInsane()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 27 import static android.net.TrafficStats.GB_IN_BYTES; 28 import static android.net.TrafficStats.MB_IN_BYTES;
|