Home
last modified time | relevance | path

Searched refs:uidStats (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java308 final NetworkStats uidStats = new NetworkStats(TEST_START, 3); in testGroupedByIfaceEmpty() local
309 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceEmpty()
311 assertEquals(0, uidStats.size()); in testGroupedByIfaceEmpty()
316 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIfaceAll() local
323 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceAll()
325 assertEquals(3, uidStats.size()); in testGroupedByIfaceAll()
333 final NetworkStats uidStats = new NetworkStats(TEST_START, 7) in testGroupedByIface() local
349 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIface()
351 assertEquals(7, uidStats.size()); in testGroupedByIface()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1622 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local
1623 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl()
1624 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl()
1666 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local
1667 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl()
1668 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl()
2889 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(i); in onReceive() local
2890 if (uidStats.remove(pkg) != null) { in onReceive()
2891 if (uidStats.size() <= 0) { in onReceive()
2936 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.get(uid); in getStatsLocked() local
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java543 final SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() local
544 final int NU = uidStats.size(); in processAppUsage()
546 final Uid u = uidStats.valueAt(iu); in processAppUsage()
/frameworks/base/core/java/android/os/
DBatteryStats.java3202 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() local
3203 final int NU = uidStats.size(); in dumpCheckinLocked()
3224 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked()
3500 final int uid = uidStats.keyAt(iu); in dumpCheckinLocked()
3504 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked()
3910 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() local
3911 final int NU = uidStats.size(); in dumpLocked()
4164 final Uid u = uidStats.valueAt(iu); in dumpLocked()
4762 final int uid = uidStats.keyAt(iu); in dumpLocked()
4767 final Uid u = uidStats.valueAt(iu); in dumpLocked()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java830 final NetworkStats uidStats = new NetworkStats(getElapsedRealtime(), 1) in testTethering() local
838 expectNetworkStatsUidDetail(uidStats, tetherStats); in testTethering()