Home
last modified time | relevance | path

Searched refs:bcs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java81 TestBinderCallsStats bcs = new TestBinderCallsStats(); in testDetailedOff() local
82 bcs.setDetailedTracking(false); in testDetailedOff()
83 bcs.setSamplingInterval(5); in testDetailedOff()
86 CallSession callSession = bcs.callStarted(binder, 1, WORKSOURCE_UID); in testDetailedOff()
87 bcs.time += 10; in testDetailedOff()
88 bcs.callEnded(callSession, REQUEST_SIZE, REPLY_SIZE, WORKSOURCE_UID); in testDetailedOff()
90 SparseArray<BinderCallsStats.UidEntry> uidEntries = bcs.getUidEntries(); in testDetailedOff()
102 callSession = bcs.callStarted(binder, 1, WORKSOURCE_UID); in testDetailedOff()
103 bcs.time += 20; in testDetailedOff()
104 bcs.callEnded(callSession, REQUEST_SIZE, REPLY_SIZE, WORKSOURCE_UID); in testDetailedOff()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java10027 BinderCallStats bcs; in noteBinderCallStatsLocked() local
10032 bcs = mBinderCallStats.valueAt(index); in noteBinderCallStatsLocked()
10034 bcs = new BinderCallStats(); in noteBinderCallStatsLocked()
10035 bcs.binderClass = stat.binderClass; in noteBinderCallStatsLocked()
10036 bcs.transactionCode = stat.transactionCode; in noteBinderCallStatsLocked()
10037 mBinderCallStats.add(bcs); in noteBinderCallStatsLocked()
10040 bcs.callCount += stat.incrementalCallCount; in noteBinderCallStatsLocked()
10041 bcs.recordedCallCount = stat.recordedCallCount; in noteBinderCallStatsLocked()
10042 bcs.recordedCpuTimeMicros = stat.cpuTimeMicros; in noteBinderCallStatsLocked()