Searched refs:uidStats (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 336 final NetworkStats uidStats = new NetworkStats(TEST_START, 3); in testGroupedByIfaceEmpty() local 337 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceEmpty() 339 assertEquals(0, uidStats.size()); in testGroupedByIfaceEmpty() 345 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIfaceAll() local 352 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceAll() 354 assertEquals(3, uidStats.size()); in testGroupedByIfaceAll() 363 final NetworkStats uidStats = new NetworkStats(TEST_START, 7) in testGroupedByIface() local 379 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIface() 381 assertEquals(7, uidStats.size()); in testGroupedByIface()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2464 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 2465 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 2466 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2508 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 2509 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 2510 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2739 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpProto() local 2740 for (int ip = 0; ip < uidStats.size(); ++ip) { in dumpProto() 2741 BroadcastStats bs = uidStats.valueAt(ip); in dumpProto() 2776 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpProto() local [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 713 NetworkStats.Entry uidStats = new NetworkStats.Entry( in testDetailedUidStats_Filtered() local 728 .addValues(uidStats)); in testDetailedUidStats_Filtered() 742 assertEquals(uidStats, stats.getValues(0, null)); in testDetailedUidStats_Filtered() 908 final NetworkStats uidStats = new NetworkStats(getElapsedRealtime(), 1) in testTethering() local 916 expectNetworkStatsUidDetail(uidStats, tetherStats); in testTethering()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 573 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() local 574 final int NU = uidStats.size(); in processAppUsage() 576 final Uid u = uidStats.valueAt(iu); in processAppUsage()
|