/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 23 import static android.net.NetworkStats.UID_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/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 26 import static android.net.NetworkStats.UID_ALL; 172 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) in testSubtractMissingRows() 173 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); in testSubtractMissingRows() 176 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2049L, 2L, 3L, 4L, 0); in testSubtractMissingRows() 182 assertValues(result, 0, TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 1L, 2L, 3L, 4L, 0); in testSubtractMissingRows() 188 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) in testTotalBytes() 189 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 256L, 0L, 0L, 0L, 0L); in testTotalBytes() 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() [all …]
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
D | NetworkStatsFactoryBenchmark.java | 43 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL); in timeReadNetworkStatsDetailJava() 51 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL); in timeReadNetworkStatsDetailNative()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 22 import static android.net.NetworkStats.UID_ALL; 104 entry.uid = UID_ALL; in readNetworkStatsSummaryDev() 162 entry.uid = UID_ALL; in readNetworkStatsSummaryXt() 186 return readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in readNetworkStatsDetail() 301 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 50 public static final int UID_ALL = -1; field in NetworkStats 100 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry() 104 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry() 241 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); in addIfaceValues() 467 return getTotal(recycle, null, UID_ALL, false); in getTotal() 483 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal() 487 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags() 512 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal() 644 entry.uid = UID_ALL; in groupedByIface() 869 if (recycle.uid == UID_ALL) { in tunAdjustmentInit()
|
D | NetworkStatsHistory.java | 22 import static android.net.NetworkStats.UID_ALL; 289 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData() 363 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory() 552 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 21 import static android.net.NetworkStats.UID_ALL; 146 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, in testStartEndAtomicBuckets()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 141 public static final int UID_ALL = android.net.NetworkStats.UID_ALL; field in NetworkStats.Bucket
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 23 import static android.net.NetworkStats.UID_ALL; 388 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
|
D | NetworkStatsService.java | 35 import static android.net.NetworkStats.UID_ALL; 628 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); in internalGetHistoryForNetwork() 1255 final NetworkStats uidSnapshot = mNetworkManager.getNetworkStatsUidDetail(UID_ALL); in getNetworkStatsUidDetail()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 30 import static android.net.NetworkStats.UID_ALL; 854 assertValues(stats, IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, in assertNetworkTotal() 920 expect(mNetManager.getNetworkStatsUidDetail(eq(UID_ALL))).andReturn(detail).atLeastOnce(); in expectNetworkStatsUidDetail()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 34 import static android.net.NetworkStats.UID_ALL; 1641 return mStatsFactory.readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in getNetworkStatsDetail()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 7589 final NetworkStats stats = mNetworkStatsFactory.readNetworkStatsDetail(NetworkStats.UID_ALL, in getNetworkStatsDeltaLocked()
|
/frameworks/base/api/ |
D | current.txt | 6067 field public static final int UID_ALL = -1; // 0xffffffff
|
D | system-current.txt | 6278 field public static final int UID_ALL = -1; // 0xffffffff
|