Searched refs:uidStats (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 308 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/ |
D | AlarmManagerService.java | 1577 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 1578 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 1579 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 1621 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(iu); in dumpImpl() local 1622 for (int ip=0; ip<uidStats.size(); ip++) { in dumpImpl() 1623 BroadcastStats bs = uidStats.valueAt(ip); in dumpImpl() 2844 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.valueAt(i); in onReceive() local 2845 if (uidStats.remove(pkg) != null) { in onReceive() 2846 if (uidStats.size() <= 0) { in onReceive() 2889 ArrayMap<String, BroadcastStats> uidStats = mBroadcastStats.get(uid); in getStatsLocked() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 543 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/ |
D | BatteryStats.java | 3082 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpCheckinLocked() local 3083 final int NU = uidStats.size(); in dumpCheckinLocked() 3103 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3353 final int uid = uidStats.keyAt(iu); in dumpCheckinLocked() 3357 final Uid u = uidStats.valueAt(iu); in dumpCheckinLocked() 3735 final SparseArray<? extends Uid> uidStats = getUidStats(); in dumpLocked() local 3736 final int NU = uidStats.size(); in dumpLocked() 3970 final Uid u = uidStats.valueAt(iu); in dumpLocked() 4534 final int uid = uidStats.keyAt(iu); in dumpLocked() 4539 final Uid u = uidStats.valueAt(iu); in dumpLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 826 final NetworkStats uidStats = new NetworkStats(getElapsedRealtime(), 1) in testTethering() local 833 expectNetworkStatsUidDetail(uidStats, tetherIfacePairs, tetherStats); in testTethering()
|