/frameworks/base/tests/net/java/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 26 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/ |
D | NetworkStatsFactoryBenchmark.java | 42 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL, in timeReadNetworkStatsDetailJava() 53 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL, in timeReadNetworkStatsDetailNative()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 37 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/ |
D | NetworkStatsFactory.java | 22 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/ |
D | NetworkStatsAccess.java | 20 import static android.net.NetworkStats.UID_ALL; 156 || uid == UID_TETHERING || uid == UID_ALL in isAccessibleToUser()
|
D | NetworkStatsService.java | 40 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()
|
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/core/java/android/net/ |
D | NetworkStats.java | 51 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 …]
|
D | NetworkStatsHistory.java | 22 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/ |
D | NetworkStatsCollectionTest.java | 23 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()
|
D | NetworkStatsServiceTest.java | 41 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/ |
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/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 634 … 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/ |
D | OffloadControllerTest.java | 23 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/ |
D | ImsPhoneCallTracker.java | 304 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/ |
D | NetworkManagementService.java | 41 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/ |
D | BatteryStatsImpl.java | 11046 return mNetworkStatsFactory.readNetworkStatsDetail(NetworkStats.UID_ALL, ifaces, in readNetworkStatsLocked()
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 4606 Landroid/app/usage/NetworkStats$Bucket;->UID_ALL:I
|
/frameworks/base/api/ |
D | current.txt | 7416 field public static final int UID_ALL = -1; // 0xffffffff
|