Home
last modified time | relevance | path

Searched refs:UID_ALL (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java23 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/
DNetworkStatsTest.java26 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/
DNetworkStatsFactoryBenchmark.java43 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/
DNetworkStatsFactory.java22 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/
DNetworkStats.java50 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()
DNetworkStatsHistory.java22 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/
DNetworkStatsCollectionTest.java21 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/
DNetworkStats.java141 public static final int UID_ALL = android.net.NetworkStats.UID_ALL; field in NetworkStats.Bucket
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java23 import static android.net.NetworkStats.UID_ALL;
388 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
DNetworkStatsService.java35 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/
DNetworkStatsServiceTest.java30 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/
DNetworkManagementService.java34 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/
DBatteryStatsImpl.java7589 final NetworkStats stats = mNetworkStatsFactory.readNetworkStatsDetail(NetworkStats.UID_ALL, in getNetworkStatsDeltaLocked()
/frameworks/base/api/
Dcurrent.txt6067 field public static final int UID_ALL = -1; // 0xffffffff
Dsystem-current.txt6278 field public static final int UID_ALL = -1; // 0xffffffff