Home
last modified time | relevance | path

Searched refs:callStat (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java320 final CallStat callStat = uidEntry.getOrCreate( in processCallEnded() local
324 final boolean isNewCallStat = callStat.callCount == 0; in processCallEnded()
329 callStat.callCount++; in processCallEnded()
330 callStat.incrementalCallCount++; in processCallEnded()
331 callStat.recordedCallCount++; in processCallEnded()
332 callStat.cpuTimeMicros += duration; in processCallEnded()
333 callStat.maxCpuTimeMicros = Math.max(callStat.maxCpuTimeMicros, duration); in processCallEnded()
334 callStat.latencyMicros += latencyDuration; in processCallEnded()
335 callStat.maxLatencyMicros = in processCallEnded()
336 Math.max(callStat.maxLatencyMicros, latencyDuration); in processCallEnded()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java948 for (BinderCallsStats.CallStat callStat : callStatsList) { in testTrackingSpecificWorksourceUid()
949 switch (callStat.transactionCode) { in testTrackingSpecificWorksourceUid()
951 assertEquals(1, callStat.callCount); in testTrackingSpecificWorksourceUid()
952 assertEquals(1, callStat.incrementalCallCount); in testTrackingSpecificWorksourceUid()
953 assertEquals(100, callStat.cpuTimeMicros); in testTrackingSpecificWorksourceUid()
956 assertEquals(2, callStat.callCount); in testTrackingSpecificWorksourceUid()
957 assertEquals(2, callStat.incrementalCallCount); in testTrackingSpecificWorksourceUid()
958 assertEquals(200 + 400, callStat.cpuTimeMicros); in testTrackingSpecificWorksourceUid()
961 assertEquals(3, callStat.callCount); in testTrackingSpecificWorksourceUid()
962 assertEquals(3, callStat.incrementalCallCount); in testTrackingSpecificWorksourceUid()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2785 for (ExportedCallStat callStat : callStats) {
2786 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, callStat.workSourceUid,
2787 callStat.className, callStat.methodName, callStat.callCount,
2788 callStat.exceptionCount, callStat.latencyMicros, callStat.maxLatencyMicros,
2789 callStat.cpuTimeMicros, callStat.maxCpuTimeMicros, callStat.maxReplySizeBytes,
2790 callStat.maxRequestSizeBytes, callStat.recordedCallCount,
2791 callStat.screenInteractive, callStat.callingUid));