Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java207 final NetworkStats uidStats = new NetworkStats(TEST_START, 3); in testGroupedByIfaceEmpty() local
208 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceEmpty()
210 assertEquals(0, uidStats.size()); in testGroupedByIfaceEmpty()
215 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIfaceAll() local
218 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIfaceAll()
220 assertEquals(2, uidStats.size()); in testGroupedByIfaceAll()
227 final NetworkStats uidStats = new NetworkStats(TEST_START, 3) in testGroupedByIface() local
235 final NetworkStats grouped = uidStats.groupedByIface(); in testGroupedByIface()
237 assertEquals(6, uidStats.size()); in testGroupedByIface()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java954 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local
955 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl()
956 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl()
998 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local
999 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl()
1000 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl()
1979 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(i); in onReceive() local
1980 if (uidStats.remove(pkg) != null) { in onReceive()
1981 if (uidStats.size() <= 0) { in onReceive()
1995 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.get(uid); in getStatsLocked() local
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1906 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() local
1907 final int NU = uidStats.size(); in dumpCheckinLocked()
1924 Uid u = uidStats.valueAt(iu); in dumpCheckinLocked()
2145 final int uid = uidStats.keyAt(iu); in dumpCheckinLocked()
2149 Uid u = uidStats.valueAt(iu); in dumpCheckinLocked()
2384 SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() local
2385 final int NU = uidStats.size(); in dumpLocked()
2500 Uid u = uidStats.valueAt(iu); in dumpLocked()
2986 final int uid = uidStats.keyAt(iu); in dumpLocked()
2991 Uid u = uidStats.valueAt(iu); in dumpLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java407 SparseArray<? extends Uid> uidStats = mStats.getUidStats(); in processAppUsage() local
408 final int NU = uidStats.size(); in processAppUsage()
410 Uid u = uidStats.valueAt(iu); in processAppUsage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java760 final NetworkStats uidStats = new NetworkStats(getElapsedRealtime(), 1) in testTethering() local
766 expectNetworkStatsUidDetail(uidStats, tetherIfacePairs, tetherStats); in testTethering()