Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java26 import static android.net.NetworkStats.UID_ALL;
124 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle()
125 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle()
126 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle()
135 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt()
136 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt()
138 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/
DNetworkStatsFactoryBenchmark.java42 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL, in timeReadNetworkStatsDetailJava()
53 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL, in timeReadNetworkStatsDetailNative()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java37 import static android.net.NetworkStats.UID_ALL;
277 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) in testSubtractMissingRows()
278 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); in testSubtractMissingRows()
281 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2049L, 2L, 3L, 4L, 0); in testSubtractMissingRows()
287 assertValues(result, 0, TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, in testSubtractMissingRows()
295 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) in testTotalBytes()
296 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 256L, 0L, 0L, 0L, 0L); in testTotalBytes()
356 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll()
383 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
385 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
[all …]
/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java22 import static android.net.NetworkStats.UID_ALL;
173 entry.uid = UID_ALL; in readNetworkStatsSummaryDev()
234 entry.uid = UID_ALL; in readNetworkStatsSummaryXt()
256 return readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in readNetworkStatsDetail()
336 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java20 import static android.net.NetworkStats.UID_ALL;
156 || uid == UID_TETHERING || uid == UID_ALL in isAccessibleToUser()
DNetworkStatsService.java40 import static android.net.NetworkStats.UID_ALL;
714 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork()
731 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE, in internalGetHistoryForNetwork()
1604 final NetworkStats uidSnapshot = mNetworkManager.getNetworkStatsUidDetail(UID_ALL, in getNetworkStatsUidDetail()
1609 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1619 vtStats.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
DNetworkStatsCollection.java29 import static android.net.NetworkStats.UID_ALL;
551 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
/frameworks/base/core/java/android/net/
DNetworkStats.java51 public static final int UID_ALL = -1; field in NetworkStats
158 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry()
162 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry()
337 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); in addIfaceValues()
594 return getTotal(recycle, null, UID_ALL, false); in getTotal()
610 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
614 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
642 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal()
844 entry.uid = UID_ALL; in groupedByIface()
926 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter()
[all …]
DNetworkStatsHistory.java22 import static android.net.NetworkStats.UID_ALL;
313 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData()
387 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory()
591 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java23 import static android.net.NetworkStats.UID_ALL;
199 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, in testStartEndAtomicBuckets()
469 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic()
544 return collection.getHistory(buildTemplateMobileAll(TEST_IMSI), augmentPlan, UID_ALL, in getHistory()
DNetworkStatsServiceTest.java41 import static android.net.NetworkStats.UID_ALL;
727 when(mNetManager.getNetworkStatsUidDetail(eq(UID_ALL), any())) in testDetailedUidStats_Filtered()
737 verify(mNetManager, times(1)).getNetworkStatsUidDetail(eq(UID_ALL), argThat(ifaces -> in testDetailedUidStats_Filtered()
1053 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in assertNetworkTotal()
1123 when(mNetManager.getNetworkStatsUidDetail(UID_ALL, INTERFACES_ALL)).thenReturn(detail); in expectNetworkStatsUidDetail()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java161 public static final int UID_ALL = android.net.NetworkStats.UID_ALL; field in NetworkStats.Bucket
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java22 import static android.net.NetworkStats.UID_ALL;
272 entry.uid = (how == STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java634 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null) in pullWifiBytesTransfer()
654 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null)); in pullWifiBytesTransferByFgBg()
674 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null) in pullMobileBytesTransfer()
708 … nsf.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, NetworkStats.TAG_NONE, null)); in pullMobileBytesTransferByFgBg()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java23 import static android.net.NetworkStats.UID_ALL;
459 assertEquals(UID_ALL, stats.getValues(i, entry).uid); in testGetForwardedStats()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java304 private final AtomicInteger mDefaultDialerUid = new AtomicInteger(NetworkStats.UID_ALL);
747 return NetworkStats.UID_ALL; in getPackageUid()
752 int uid = NetworkStats.UID_ALL; in getPackageUid()
3170 if (mDefaultDialerUid.get() == NetworkStats.UID_ALL) { in updateVtDataUsage()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java41 import static android.net.NetworkStats.UID_ALL;
1567 return mStatsFactory.readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in getNetworkStatsDetail()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11046 return mNetworkStatsFactory.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, in readNetworkStatsLocked()
/frameworks/base/config/
Dhiddenapi-public-dex.txt4606 Landroid/app/usage/NetworkStats$Bucket;->UID_ALL:I
/frameworks/base/api/
Dcurrent.txt7416 field public static final int UID_ALL = -1; // 0xffffffff