Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java77 TestableLooperStats looperStats = new TestableLooperStats(1, 100); in testSingleMessageDispatched() local
81 message.when = looperStats.getSystemUptimeMillis(); in testSingleMessageDispatched()
83 looperStats.tickUptime(30); in testSingleMessageDispatched()
84 Object token = looperStats.messageDispatchStarting(); in testSingleMessageDispatched()
85 looperStats.tickRealtime(100); in testSingleMessageDispatched()
86 looperStats.tickThreadTime(10); in testSingleMessageDispatched()
87 looperStats.tickUptime(200); in testSingleMessageDispatched()
88 looperStats.messageDispatched(token, message); in testSingleMessageDispatched()
90 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testSingleMessageDispatched()
113 TestableLooperStats looperStats = new TestableLooperStats(1, 100); in testThrewException() local
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1345 LooperStats looperStats = LocalServices.getService(LooperStats.class); in pullLooperStats() local
1346 if (looperStats == null) { in pullLooperStats()
1350 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in pullLooperStats()
1351 looperStats.reset(); in pullLooperStats()
2727 LooperStats looperStats = LocalServices.getService(LooperStats.class); in forgetEverythingLocked() local
2728 if (looperStats != null) { in forgetEverythingLocked()
2729 looperStats.reset(); in forgetEverythingLocked()