/frameworks/base/tests/net/java/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 21 import static android.net.NetworkStats.SET_ALL; 114 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle() 115 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle() 116 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle() 124 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt() 125 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt() 127 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 | 237 case android.net.NetworkStats.SET_ALL : return STATE_ALL; in convertState() 482 android.net.NetworkStats.SET_ALL, tag, in startHistoryEnumeration() 505 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in startUserUidEnumeration() 528 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in stepHistory()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 19 import static android.net.NetworkStats.SET_ALL; 111 entry.set = SET_ALL; in readNetworkStatsSummaryDev() 167 entry.set = SET_ALL; in readNetworkStatsSummaryXt()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 29 import static android.net.NetworkStats.SET_ALL; 317 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, 128L, 8L, 0L, in testGroupedByIfaceAll() 321 .addValues(IFACE_ALL, 101, SET_ALL, TAG_NONE, METERED_NO, ROAMING_YES, 128L, 8L, 0L, in testGroupedByIfaceAll() 328 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll() 354 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface() 356 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 55 public static final int SET_ALL = -1; field in NetworkStats 575 entry.set = SET_ALL; in getTotal() 722 entry.set = SET_ALL; in groupedByIface() 752 entry.set = SET_ALL; in groupedByUid() 816 case SET_ALL: in setToString() 836 case SET_ALL: in setToCheckinString() 859 return querySet == SET_ALL && dataSet < SET_DEBUG_START; in setMatches()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 31 import static android.net.NetworkStats.SET_ALL; 980 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, rxBytes, rxPackets, in assertUidTotal() 1089 if (set == SET_DEFAULT || set == SET_ALL) { in assertValues() 1092 if (set == SET_FOREGROUND || set == SET_ALL) { in assertValues()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 24 import static android.net.NetworkStats.SET_ALL; 421 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
|
D | NetworkStatsObservers.java | 414 NetworkStats.SET_ALL, NetworkStats.TAG_NONE, in getTotalBytesForNetworkUid()
|
D | NetworkStatsService.java | 31 import static android.net.NetworkStats.SET_ALL; 641 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields, accessLevel); 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()
|