/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 19 import static android.net.NetworkStats.SET_ALL; 112 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle() 113 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle() 114 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle() 123 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt() 124 … assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, 2468L); in testNetworkStatsXt() 125 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 164 case android.net.NetworkStats.SET_ALL : return STATE_ALL; in convertState() 342 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in startHistoryEnumeration() 365 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in startUserUidEnumeration() 388 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in stepHistory()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 23 import static android.net.NetworkStats.SET_ALL; 218 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, 128L, 8L, 0L, 2L, 20L) in testGroupedByIfaceAll() 225 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 4L, 0L); in testGroupedByIfaceAll() 242 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 2L, 0L); in testGroupedByIface() 243 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, 1024L, 64L, 0L, 0L, 0L); in testGroupedByIface()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 19 import static android.net.NetworkStats.SET_ALL; 105 entry.set = SET_ALL; in readNetworkStatsSummaryDev() 163 entry.set = SET_ALL; in readNetworkStatsSummaryXt()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 54 public static final int SET_ALL = -1; field in NetworkStats 503 entry.set = SET_ALL; in getTotal() 645 entry.set = SET_ALL; in groupedByIface() 673 entry.set = SET_ALL; in groupedByUid() 733 case SET_ALL: in setToString() 753 case SET_ALL: in setToCheckinString() 776 return querySet == SET_ALL && dataSet < SET_DEBUG_START; in setMatches()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 26 import static android.net.NetworkStats.SET_ALL; 860 assertUidTotal(template, uid, SET_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); in assertUidTotal() 975 if (set == SET_DEFAULT || set == SET_ALL) { in assertValues() 981 if (set == SET_FOREGROUND || set == SET_ALL) { in assertValues()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 20 import static android.net.NetworkStats.SET_ALL; 388 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
|
D | NetworkStatsService.java | 31 import static android.net.NetworkStats.SET_ALL; 628 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); in internalGetHistoryForNetwork()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 322 if (totalStats == null || statsEntry.set == NetworkStats.SET_ALL) { in addStatsToResults()
|