/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 | 114 final int oldTag = TrafficStats.getAndSetThreadStatsTag( in requestTime() 183 TrafficStats.setThreadStatsTag(oldTag); in requestTime()
|
D | TrafficStats.java | 56 public class TrafficStats { class
|
/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/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/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 27 import android.net.TrafficStats; 165 return TrafficStats.getTxPackets(iface); in getTxPackets() 169 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/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 | 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 | NetworkPolicyManagerService.java | 77 import static android.net.TrafficStats.MB_IN_BYTES; 165 import android.net.TrafficStats; 3163 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3165 .setDataUsage(1 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3173 .setDataUsage(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3179 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3181 .setDataUsage(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3190 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3192 .setDataUsage(1 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() 3198 .setDataLimit(5 * TrafficStats.GB_IN_BYTES, in getSubscriptionPlans() [all …]
|
D | NetworkStatsCollection.java | 30 import static android.net.TrafficStats.UID_REMOVED; 40 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 | 28 import android.net.TrafficStats; 448 final int oldTag = TrafficStats.getAndSetThreadStatsTag( in setupSocket() 455 TrafficStats.setThreadStatsTag(oldTag); in setupSocket() 748 TrafficStats.getAndSetThreadStatsTag(TrafficStatsConstants.TAG_SYSTEM_PROBE); in run()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 33 import android.net.TrafficStats; 241 int oldTag = TrafficStats.getAndSetThreadStatsTag( in testForCaptivePortal() 256 TrafficStats.setThreadStatsTag(oldTag); in testForCaptivePortal()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 29 import android.net.TrafficStats; 605 final int oldTag = TrafficStats.getAndSetThreadStatsTag( 618 TrafficStats.setThreadStatsTag(oldTag);
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 45 import android.net.TrafficStats; 1027 TrafficStats.setThreadStatsUid(uid); in IpSecService() 1028 TrafficStats.tagFileDescriptor(fd); in IpSecService() 1030 TrafficStats.clearThreadStatsUid(); in IpSecService()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 38 import android.net.TrafficStats; 388 assertEquals(TrafficStats.TAG_SYSTEM_DOWNLOAD, kernelToTag("0xffffff0100000000")); in testKernelTags()
|
/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;
|