/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 26 import static android.net.NetworkStats.UID_ALL; 131 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle() 132 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle() 133 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle() 142 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt() 143 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt() 145 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
|
D | NetworkStatsCollectionTest.java | 23 import static android.net.NetworkStats.UID_ALL; 202 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, in testStartEndAtomicBuckets() 472 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic() 547 return collection.getHistory(buildTemplateMobileAll(TEST_IMSI), augmentPlan, UID_ALL, in getHistory()
|
D | NetworkStatsServiceTest.java | 42 import static android.net.NetworkStats.UID_ALL; 726 when(mNetManager.getNetworkStatsUidDetail(eq(UID_ALL), any())) in testDetailedUidStats_Filtered() 736 verify(mNetManager, times(1)).getNetworkStatsUidDetail(eq(UID_ALL), argThat(ifaces -> in testDetailedUidStats_Filtered() 1158 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in assertNetworkTotal() 1226 when(mNetManager.getNetworkStatsUidDetail(UID_ALL, INTERFACES_ALL)).thenReturn(detail); in expectNetworkStatsUidDetail()
|
/frameworks/base/tests/benchmarks/src/com/android/server/net/ |
D | NetworkStatsFactoryBenchmark.java | 43 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL, in timeReadNetworkStatsDetailJava() 54 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL, in timeReadNetworkStatsDetailNative()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 22 import static android.net.NetworkStats.UID_ALL; 184 entry.uid = UID_ALL; in readNetworkStatsSummaryDev() 245 entry.uid = UID_ALL; in readNetworkStatsSummaryXt() 267 return readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in readNetworkStatsDetail() 315 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), UID_ALL, in readNetworkStatsDetailInternal() 382 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
|
D | NetworkStatsAccess.java | 20 import static android.net.NetworkStats.UID_ALL; 156 || uid == UID_TETHERING || uid == UID_ALL in isAccessibleToUser()
|
D | NetworkStatsService.java | 41 import static android.net.NetworkStats.UID_ALL; 733 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork() 750 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE, in internalGetHistoryForNetwork() 1680 final NetworkStats uidSnapshot = mNetworkManager.getNetworkStatsUidDetail(UID_ALL, in getNetworkStatsUidDetail() 1685 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail() 1696 vtStats.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
|
D | NetworkStatsCollection.java | 29 import static android.net.NetworkStats.UID_ALL; 551 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 37 import static android.net.NetworkStats.UID_ALL; 278 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) in testSubtractMissingRows() 279 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); in testSubtractMissingRows() 282 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2049L, 2L, 3L, 4L, 0); in testSubtractMissingRows() 288 assertValues(result, 0, TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, in testSubtractMissingRows() 296 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) in testTotalBytes() 297 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 256L, 0L, 0L, 0L, 0L); in testTotalBytes() 357 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll() 384 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface() 386 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 55 public static final int UID_ALL = -1; field in NetworkStats 185 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry() 189 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry() 366 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); in addIfaceValues() 650 return getTotal(recycle, null, UID_ALL, false); in getTotal() 667 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal() 672 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags() 700 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal() 914 entry.uid = UID_ALL; in groupedByIface() 993 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter() [all …]
|
D | NetworkStatsHistory.java | 22 import static android.net.NetworkStats.UID_ALL; 327 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData() 402 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory() 608 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 161 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/ |
D | OffloadController.java | 22 import static android.net.NetworkStats.UID_ALL; 272 entry.uid = (how == STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 23 import static android.net.NetworkStats.UID_ALL; 460 assertEquals(UID_ALL, stats.getValues(i, entry).uid); in testGetForwardedStats()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 376 private final AtomicInteger mDefaultDialerUid = new AtomicInteger(NetworkStats.UID_ALL); 609 return NetworkStats.UID_ALL; in getPackageUid() 614 int uid = NetworkStats.UID_ALL; in getPackageUid() 3451 if (mDefaultDialerUid.get() == NetworkStats.UID_ALL) { in updateVtDataUsage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 39 import static android.net.NetworkStats.UID_ALL; 1239 return mStatsFactory.readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); in getNetworkStatsDetail()
|
/frameworks/base/api/ |
D | current.txt | 7686 field public static final int UID_ALL = -1; // 0xffffffff
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47998 Landroid/net/NetworkStats;->UID_ALL:I
|