Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java23 import static android.net.NetworkStats.UID_ALL;
210 entry.uid = UID_ALL; in readNetworkStatsSummaryDev()
271 entry.uid = UID_ALL; in readNetworkStatsSummaryXt()
293 return readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); in readNetworkStatsDetail()
337 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), UID_ALL, in readNetworkStatsDetail()
346 if (nativeReadNetworkStatsDetail(stats, mStatsXtUid.getAbsolutePath(), UID_ALL, in readNetworkStatsDetail()
352 UID_ALL, INTERFACES_ALL, TAG_ALL); in readNetworkStatsDetail()
359 mPersistSnapshot = javaReadNetworkStatsDetail(mStatsXtUid, UID_ALL, INTERFACES_ALL, in readNetworkStatsDetail()
437 && (limitUid == UID_ALL || limitUid == entry.uid) in javaReadNetworkStatsDetail()
DNetworkStatsAccess.java20 import static android.net.NetworkStats.UID_ALL;
156 || uid == UID_TETHERING || uid == UID_ALL in isAccessibleToUser()
DNetworkStatsService.java44 import static android.net.NetworkStats.UID_ALL;
816 stats.insertEntry(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork()
833 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE, in internalGetHistoryForNetwork()
1880 final NetworkStats uidSnapshot = readNetworkStatsUidDetail(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1884 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1890 providerStats.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/tests/benchmarks/src/com/android/server/net/
DNetworkStatsFactoryBenchmark.java43 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL, in timeReadNetworkStatsDetailJava()
54 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL, in timeReadNetworkStatsDetailNative()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java29 import static android.net.NetworkStats.UID_ALL;
406 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle()
407 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle()
408 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle()
417 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt()
418 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt()
420 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
DNetworkStatsCollectionTest.java23 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()
DNetworkStatsServiceTest.java42 import static android.net.NetworkStats.UID_ALL;
214 verify(mStatsFactory).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); in setUp()
813 when(mStatsFactory.readNetworkStatsDetail(eq(UID_ALL), any(), eq(TAG_ALL)))
829 verify(mStatsFactory, times(2)).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL);
831 eq(UID_ALL),
1214 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL,
1281 when(mStatsFactory.readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL))
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java37 import static android.net.NetworkStats.UID_ALL;
278 .insertEntry(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) in testSubtractMissingRows()
279 .insertEntry(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); in testSubtractMissingRows()
282 .insertEntry(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 .insertEntry(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) in testTotalBytes()
297 .insertEntry(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/
DNetworkStats.java71 public static final int UID_ALL = -1; field in NetworkStats
312 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry()
317 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry()
534 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); in insertEntry()
863 return getTotal(recycle, null, UID_ALL, false); in getTotal()
882 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
888 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
916 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); in getTotal()
1120 entry.uid = UID_ALL; in groupedByIface()
1208 if (limitUid == UID_ALL && limitTag == TAG_ALL && limitIfaces == INTERFACES_ALL) { in filter()
[all …]
DNetworkStatsHistory.java22 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/
DNetworkStats.java161 public static final int UID_ALL = android.net.NetworkStats.UID_ALL; field in NetworkStats.Bucket
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java24 import static android.net.NetworkStats.UID_ALL;
309 final int uid = (how == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()
DBpfCoordinator.java24 import static android.net.NetworkStats.UID_ALL;
671 final int uid = (type == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in buildNetworkStats()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java24 import static android.net.NetworkStats.UID_ALL;
163 return new NetworkStats.Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, in buildTestEntry()
DOffloadControllerTest.java24 import static android.net.NetworkStats.UID_ALL;
421 return new Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, SET_DEFAULT, in buildTestEntry()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java23 import static android.net.NetworkStats.UID_ALL;
1198 new Entry(NetworkStats.IFACE_VT, UID_ALL, SET_FOREGROUND, in assertVtDataUsageUpdated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java464 private final AtomicInteger mDefaultDialerUid = new AtomicInteger(NetworkStats.UID_ALL);
954 return NetworkStats.UID_ALL; in getPackageUid()
959 int uid = NetworkStats.UID_ALL; in getPackageUid()
4062 if (mDefaultDialerUid.get() == NetworkStats.UID_ALL) { in updateVtDataUsage()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1290 entry.uid = NetworkStats.UID_ALL;
/frameworks/base/non-updatable-api/
Dsystem-current.txt6317 field public static final int UID_ALL = -1; // 0xffffffff
/frameworks/base/api/
Dsystem-current.txt6369 field public static final int UID_ALL = -1; // 0xffffffff
Dcurrent.txt7991 field public static final int UID_ALL = -1; // 0xffffffff
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...