Home
last modified time | relevance | path

Searched refs:getTotal (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelUidCpuActiveTimeReaderTest.java68 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times[i])); in testReadDelta()
78 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times1[i], times[i]))); in testReadDelta()
101 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times3[i], times2[i]))); in testReadDelta()
115 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times[i])); in testReadAbsolute()
125 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times1[i])); in testReadAbsolute()
138 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(times[i])); in testReadDelta_malformedData()
156 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times2[i], times[i]))); in testReadDelta_malformedData()
167 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times3[i], times2[i]))); in testReadDelta_malformedData()
179 getTotal(subtract(times3[uids.length - 1], times2[uids.length - 1]))); in testReadDelta_malformedData()
190 verify(mCallback).onUidCpuActiveTime(uids[i], getTotal(subtract(times4[i], times3[i]))); in testReadDelta_malformedData()
[all …]
DKernelUidCpuClusterTimeReaderTest.java74 cb.verify(uids[i], getTotal(clusters, times[i])); in testReadDelta()
85 cb.verify(uids[i], getTotal(clusters, subtract(times1[i], times[i]))); in testReadDelta()
110 cb.verify(uids[i], getTotal(clusters, subtract(times3[i], times2[i]))); in testReadDelta()
128 cb.verify(uids[i], getTotal(clusters, times[i])); in testReadAbsolute()
139 cb.verify(uids[i], getTotal(clusters, times1[i])); in testReadAbsolute()
155 mCallback.verify(uids[i], getTotal(clusters, times[i])); in testReadDelta_malformedData()
179 mCallback.verify(uids[i], getTotal(clusters, subtract(times2[i], times[i]))); in testReadDelta_malformedData()
191 mCallback.verify(uids[i], getTotal(clusters, subtract(times3[i], times2[i]))); in testReadDelta_malformedData()
204 getTotal(clusters, subtract(times3[uids.length - 1], times2[uids.length - 1]))); in testReadDelta_malformedData()
215 mCallback.verify(uids[i], getTotal(clusters, subtract(times4[i], times3[i]))); in testReadDelta_malformedData()
[all …]
/frameworks/base/core/java/android/os/
DCpuUsageInfo.java62 public long getTotal() { in getTotal() method in CpuUsageInfo
/frameworks/base/core/java/android/net/
DNetworkStats.java586 final Entry entry = getTotal(null); in getTotalBytes()
593 public Entry getTotal(Entry recycle) { in getTotal() method in NetworkStats
594 return getTotal(recycle, null, UID_ALL, false); in getTotal()
601 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() method in NetworkStats
602 return getTotal(recycle, null, limitUid, false); in getTotal()
609 public Entry getTotal(Entry recycle, HashSet<String> limitIface) { in getTotal() method in NetworkStats
610 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
614 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
624 private Entry getTotal( in getTotal() method in NetworkStats
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java106 NetworkStats.Entry entry = stats.getTotal(null); in runTest()
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java147 ", total = " + cpuUsageInfos[i].getTotal()); in dump()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java438 assertValues(stats.getTotal(null), 1408L, 88L, 0L, 2L, 20L); in testGetTotal()
439 assertValues(stats.getTotal(null, 100), 1280L, 80L, 0L, 2L, 20L); in testGetTotal()
440 assertValues(stats.getTotal(null, 101), 128L, 8L, 0L, 0L, 0L); in testGetTotal()
443 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L); in testGetTotal()
446 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L); in testGetTotal()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java646 mSummary.getTotal(mRecycledSummaryEntry); in getSummaryAggregate()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java156 NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotal(null); in getTotalSinceBootLocked()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java553 .getTotal(null); in assertSummaryTotal()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3501 Landroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;)Landroid/net/NetworkStats$Ent…
3502 Landroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;I)Landroid/net/NetworkStats$En…
Dboot-image-profile.txt26246 HSPLandroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;)Landroid/net/NetworkStats$…
26247 HSPLandroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;Ljava/util/HashSet;IZ)Landr…
Dhiddenapi-public-dex.txt30710 Landroid/os/CpuUsageInfo;->getTotal()J
/frameworks/base/api/
Dcurrent.txt32299 method public long getTotal();