Home
last modified time | relevance | path

Searched refs:callStats (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBinderCallStatsTest.java63 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in testNoteBinderCallStats() local
69 callStats.add(stat1); in testNoteBinderCallStats()
71 bi.noteBinderCallStats(workSourceUid, 42, callStats); in testNoteBinderCallStats()
73 callStats.clear(); in testNoteBinderCallStats()
79 callStats.add(stat2); in testNoteBinderCallStats()
81 bi.noteBinderCallStats(workSourceUid, 8, callStats); in testNoteBinderCallStats()
107 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in testProportionalSystemServiceUsage_noStatsForSomeMethods() local
113 callStats.add(stat1a); in testProportionalSystemServiceUsage_noStatsForSomeMethods()
120 callStats.add(stat1b); in testProportionalSystemServiceUsage_noStatsForSomeMethods()
122 bi.noteBinderCallStats(workSourceUid1, 65, callStats); in testProportionalSystemServiceUsage_noStatsForSomeMethods()
[all …]
DSystemServicePowerCalculatorTest.java253 Collection<BinderCallsStats.CallStat> callStats = new ArrayList<>(); in prepareBatteryStats() local
259 callStats.add(stat1); in prepareBatteryStats()
261 mMockBatteryStats.noteBinderCallStats(APP_UID1, 100, callStats); in prepareBatteryStats()
263 callStats.clear(); in prepareBatteryStats()
269 callStats.add(stat2); in prepareBatteryStats()
271 mMockBatteryStats.noteBinderCallStats(APP_UID2, 100, callStats); in prepareBatteryStats()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java216 BinderCallsStats.CallStat callStats = callStatsList.get(0); in testSampling() local
217 assertEquals(3, callStats.callCount); in testSampling()
218 assertEquals(2, callStats.recordedCallCount); in testSampling()
219 assertEquals(60, callStats.cpuTimeMicros); in testSampling()
220 assertEquals(50, callStats.maxCpuTimeMicros); in testSampling()
221 assertEquals(0, callStats.maxRequestSizeBytes); in testSampling()
222 assertEquals(0, callStats.maxReplySizeBytes); in testSampling()
251 BinderCallsStats.CallStat callStats = callStatsList.get(0); in testSamplingWithDifferentApis() local
252 assertEquals(1, callStats.callCount); in testSamplingWithDifferentApis()
253 assertEquals(1, callStats.recordedCallCount); in testSamplingWithDifferentApis()
[all …]
/frameworks/base/services/core/java/android/os/
DBatteryStatsInternal.java105 Collection<BinderCallsStats.CallStat> callStats); in noteBinderCallStats() argument
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java146 Collection<BinderCallsStats.CallStat> callStats); in noteCallStats() argument
DBinderCallsStats.java139 ArrayMap<CallStatKey, CallStat> callStats = uidEntry.mCallStats;
140 final int csize = callStats.size();
143 tmpCallStats.add(callStats.valueAt(j).clone());
149 for (int j = callStats.size() - 1; j >= 0; j--) {
150 callStats.valueAt(j).incrementalCallCount = 0;
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java297 Collection<BinderCallsStats.CallStat> callStats) { in onBootPhase()
299 incrementalCallCount, callStats); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java742 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStats() argument
745 mStats::noteBinderCallStats, workSourceUid, incrementatCallCount, callStats, in noteBinderCallStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java7357 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStats() argument
7358 noteBinderCallStats(workSourceUid, incrementalCallCount, callStats, in noteBinderCallStats()
7363 Collection<BinderCallsStats.CallStat> callStats, in noteBinderCallStats() argument
7367 .noteBinderCallStatsLocked(incrementalCallCount, callStats); in noteBinderCallStats()
10019 Collection<BinderCallsStats.CallStat> callStats) { in noteBinderCallStatsLocked() argument
10023 + new ArrayList<>(callStats) + "]"); in noteBinderCallStatsLocked()
10026 for (BinderCallsStats.CallStat stat : callStats) { in noteBinderCallStatsLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2783 List<ExportedCallStat> callStats = binderStats.getExportedCallStats();
2785 for (ExportedCallStat callStat : callStats) {