Searched refs:uidStats (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 277 final NetworkStats uidStats = new NetworkStats(TEST_START, 3); in testGroupedByIfaceEmpty() local 278 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceEmpty() 280 assertEquals(0, uidStats.size()); in testGroupedByIfaceEmpty() 285 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIfaceAll() local 292 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceAll() 294 assertEquals(3, uidStats.size()); in testGroupedByIfaceAll() 302 final NetworkStats uidStats = new NetworkStats(TEST_START, 7) in testGroupedByIface() local 318 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIface() 320 assertEquals(7, uidStats.size()); in testGroupedByIface()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1524 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 1525 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 1526 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 1568 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 1569 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 1570 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2784 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(i); in onReceive() local 2785 if (uidStats.remove(pkg) != null) { in onReceive() 2786 if (uidStats.size() <= 0) { in onReceive() 2821 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.get(uid); in getStatsLocked() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 495 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() local 496 final int NU = uidStats.size(); in processAppUsage() 498 final Uid u = uidStats.valueAt(iu); in processAppUsage()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2835 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() local 2836 final int NU = uidStats.size(); in dumpCheckinLocked() 2855 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3093 final int uid = uidStats.keyAt(iu); in dumpCheckinLocked() 3097 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3356 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() local 3357 final int NU = uidStats.size(); in dumpLocked() 3572 final Uid u = uidStats.valueAt(iu); in dumpLocked() 4095 final int uid = uidStats.keyAt(iu); in dumpLocked() 4100 final Uid u = uidStats.valueAt(iu); in dumpLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 870 final NetworkStats uidStats = new NetworkStats(getElapsedRealtime(), 1) in testTethering() local 876 expectNetworkStatsUidDetail(uidStats, tetherIfacePairs, tetherStats); in testTethering()
|