Searched refs:uidStats (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 335 final NetworkStats uidStats = new NetworkStats(TEST_START, 3); in testGroupedByIfaceEmpty() local 336 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceEmpty() 338 assertEquals(0, uidStats.size()); in testGroupedByIfaceEmpty() 344 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIfaceAll() local 351 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceAll() 353 assertEquals(3, uidStats.size()); in testGroupedByIfaceAll() 362 final NetworkStats uidStats = new NetworkStats(TEST_START, 7) in testGroupedByIface() local 378 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIface() 380 assertEquals(7, uidStats.size()); in testGroupedByIface()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2106 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 2107 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 2108 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2150 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 2151 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 2152 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2381 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpProto() local 2382 for (int ip = 0; ip < uidStats.size(); ++ip) { in dumpProto() 2383 BroadcastStats bs = uidStats.valueAt(ip); in dumpProto() 2418 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpProto() local [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 714 NetworkStats.Entry uidStats = new NetworkStats.Entry( in testDetailedUidStats_Filtered() local 729 .addValues(uidStats)); in testDetailedUidStats_Filtered() 743 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/android/os/ |
D | BatteryStats.java | 3571 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() local 3572 final int NU = uidStats.size(); in dumpCheckinLocked() 3593 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3886 final int uid = uidStats.keyAt(iu); in dumpCheckinLocked() 3890 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 4337 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() local 4338 final int NU = uidStats.size(); in dumpLocked() 4610 final Uid u = uidStats.valueAt(iu); in dumpLocked() 5276 final int uid = uidStats.keyAt(iu); in dumpLocked() 5281 final Uid u = uidStats.valueAt(iu); in dumpLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 551 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() local 552 final int NU = uidStats.size(); in processAppUsage() 554 final Uid u = uidStats.valueAt(iu); in processAppUsage()
|