OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TrafficStats
(Results
1 - 25
of
34
) sorted by null
1
2
/frameworks/support/v4/ics/android/support/v4/net/
TrafficStatsCompatIcs.java
19
import android.net.
TrafficStats
;
29
TrafficStats
.clearThreadStatsTag();
33
return
TrafficStats
.getThreadStatsTag();
37
TrafficStats
.incrementOperationCount(operationCount);
41
TrafficStats
.incrementOperationCount(tag, operationCount);
45
TrafficStats
.setThreadStatsTag(tag);
49
TrafficStats
.tagSocket(socket);
53
TrafficStats
.untagSocket(socket);
/cts/tests/tests/net/src/android/net/cts/
TrafficStatsTest.java
19
import android.net.
TrafficStats
;
36
assertTrue(
TrafficStats
.getMobileTxPackets() >= 0);
37
assertTrue(
TrafficStats
.getMobileRxPackets() >= 0);
38
assertTrue(
TrafficStats
.getMobileTxBytes() >= 0);
39
assertTrue(
TrafficStats
.getMobileRxBytes() >= 0);
43
assertTrue(
TrafficStats
.getTotalTxPackets() >= 0);
44
assertTrue(
TrafficStats
.getTotalRxPackets() >= 0);
45
assertTrue(
TrafficStats
.getTotalTxBytes() >= 0);
46
assertTrue(
TrafficStats
.getTotalRxBytes() >= 0);
50
TrafficStats
.setThreadStatsTag(0xf00d)
[
all
...]
/frameworks/base/core/tests/benchmarks/src/android/net/
TrafficStatsBenchmark.java
24
TrafficStats
.getUidRxBytes(android.os.Process.myUid());
30
TrafficStats
.getMobileRxBytes();
36
TrafficStats
.getTotalRxBytes();
/frameworks/volley/src/com/android/volley/
NetworkDispatcher.java
19
import android.net.
TrafficStats
;
101
TrafficStats
.setThreadStatsTag(request.getTrafficStatsTag());
Request.java
19
import android.net.
TrafficStats
;
65
/** Default tag for {@link
TrafficStats
}. */
156
* @return A tag for use with {@link
TrafficStats
#setThreadStatsTag(int)}
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java
24
import android.net.
TrafficStats
;
119
TrafficStats
.startDataProfiling(mContext);
122
NetworkStats prof_stats =
TrafficStats
.stopDataProfiling(mContext);
175
TrafficStats
.startDataProfiling(mContext);
177
NetworkStats prof_stats =
TrafficStats
.stopDataProfiling(mContext);
228
TrafficStats
.startDataProfiling(mContext);
235
NetworkStats prof_stats =
TrafficStats
.stopDataProfiling(mContext);
/frameworks/base/core/tests/utillib/src/android/test/
BandwidthTestCase.java
19
import android.net.
TrafficStats
;
99
TrafficStats
.startDataProfiling(null);
105
NetworkStats stats =
TrafficStats
.stopDataProfiling(null);
/frameworks/base/services/java/com/android/server/wifi/
WifiTrafficPoller.java
25
import android.net.
TrafficStats
;
153
mTxPkts =
TrafficStats
.getTxPackets(mInterface);
154
mRxPkts =
TrafficStats
.getRxPackets(mInterface);
/packages/apps/Settings/src/com/android/settings/net/
UidDetailProvider.java
28
import android.net.
TrafficStats
;
39
* {@link
TrafficStats
#UID_TETHERING} and {@link UserInfo}.
103
case
TrafficStats
.UID_REMOVED:
109
case
TrafficStats
.UID_TETHERING:
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java
24
import android.net.
TrafficStats
;
85
TrafficStats
.closeQuietly(session);
/frameworks/base/services/java/com/android/server/net/
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
;
235
* to {@link
TrafficStats
#UID_REMOVED}.
NetworkStatsCollection.java
24
import static android.net.
TrafficStats
.UID_REMOVED;
30
import android.net.
TrafficStats
;
433
* {@link
TrafficStats
#UID_REMOVED}.
NetworkStatsService.java
40
import static android.net.
TrafficStats
.KB_IN_BYTES;
41
import static android.net.
TrafficStats
.MB_IN_BYTES;
94
import android.net.
TrafficStats
;
[
all
...]
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
NetworkStatsFactoryTest.java
28
import android.net.
TrafficStats
;
95
assertEquals(
TrafficStats
.TAG_SYSTEM_DOWNLOAD, kernelToTag("0xffffff0100000000"));
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadThread.java
45
import android.net.
TrafficStats
;
207
TrafficStats
.setThreadStatsTag(
TrafficStats
.TAG_SYSTEM_DOWNLOAD);
208
TrafficStats
.setThreadStatsUid(mInfo.mUid);
266
TrafficStats
.clearThreadStatsTag();
267
TrafficStats
.clearThreadStatsUid();
[
all
...]
/packages/apps/Settings/src/com/android/settings/
RadioInfo.java
26
import android.net.
TrafficStats
;
676
long txPackets =
TrafficStats
.getMobileTxPackets();
677
long rxPackets =
TrafficStats
.getMobileRxPackets();
678
long txBytes =
TrafficStats
.getMobileTxBytes();
679
long rxBytes =
TrafficStats
.getMobileRxBytes();
[
all
...]
DataUsageSummary.java
39
import static android.net.
TrafficStats
.GB_IN_BYTES;
40
import static android.net.
TrafficStats
.MB_IN_BYTES;
41
import static android.net.
TrafficStats
.UID_REMOVED;
42
import static android.net.
TrafficStats
.UID_TETHERING;
79
import android.net.
TrafficStats
;
571
TrafficStats
.closeQuietly(mStatsSession);
[
all
...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
EasOutboxService.java
24
import android.net.
TrafficStats
;
481
TrafficStats
.setThreadStatsTag(TrafficFlags.getSmtpFlags(mContext, mAccount));
EasSyncService.java
26
import android.net.
TrafficStats
;
[
all
...]
/frameworks/base/core/java/android/net/
TrafficStats.java
41
public class
TrafficStats
{
/packages/apps/Settings/src/com/android/settings/widget/
ChartDataUsageView.java
19
import static android.net.
TrafficStats
.GB_IN_BYTES;
20
import static android.net.
TrafficStats
.MB_IN_BYTES;
/packages/apps/Email/src/com/android/email/
MessagingController.java
24
import android.net.
TrafficStats
;
261
TrafficStats
.setThreadStatsTag(TrafficFlags.getSyncFlags(mContext, account));
354
TrafficStats
.setThreadStatsTag(TrafficFlags.getSyncFlags(mContext, account));
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
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;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTrackerBase.java
31
import android.net.
TrafficStats
;
415
this.txPkts =
TrafficStats
.getMobileTcpTxPackets();
416
this.rxPkts =
TrafficStats
.getMobileTcpRxPackets();
[
all
...]
/frameworks/base/core/java/android/os/storage/
StorageManager.java
19
import static android.net.
TrafficStats
.MB_IN_BYTES;
Completed in 887 milliseconds
1
2