Home
last modified time | relevance | path

Searched refs:LooperStats (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java90 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testSingleMessageDispatched()
92 LooperStats.ExportedEntry entry = entries.get(0); in testSingleMessageDispatched()
122 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testThrewException()
124 LooperStats.ExportedEntry entry = entries.get(0); in testThrewException()
195 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testMultipleMessagesDispatched()
200 LooperStats.ExportedEntry entry1 = entries.get(0); in testMultipleMessagesDispatched()
214 LooperStats.ExportedEntry entry2 = entries.get(1); in testMultipleMessagesDispatched()
229 LooperStats.ExportedEntry entry3 = entries.get(2); in testMultipleMessagesDispatched()
284 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in testDispatchDelayIsRecorded()
287 LooperStats.ExportedEntry entry = entries.get(0); in testDispatchDelayIsRecorded()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java37 import com.android.internal.os.LooperStats;
63 private final LooperStats mStats;
68 private LooperStatsService(Context context, LooperStats stats) { in LooperStatsService()
108 final List<LooperStats.ExportedEntry> entries = mStats.getEntries(); in dump()
110 .comparing((LooperStats.ExportedEntry entry) -> entry.workSourceUid) in dump()
131 for (LooperStats.ExportedEntry entry : entries) { in dump()
132 if (entry.messageName.startsWith(LooperStats.DEBUG_ENTRY_PREFIX)) { in dump()
186 private final LooperStats mStats;
190 mStats = new LooperStats(DEFAULT_SAMPLING_INTERVAL, DEFAULT_ENTRIES_SIZE_CAP); in Lifecycle()
197 publishLocalService(LooperStats.class, mStats); in onStart()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DLooperStatsPerfTest.java27 import com.android.internal.os.LooperStats;
45 private LooperStats mStats;
52 mStats = new LooperStats(1, DISTINCT_MESSAGE_COUNT - 1); in setUp()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java39 public class LooperStats implements Looper.Observer { class
60 public LooperStats(int samplingInterval, int entriesSizeCap) { in LooperStats() method in LooperStats
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java132 import com.android.internal.os.LooperStats;
1344 LooperStats looperStats = LocalServices.getService(LooperStats.class); in pullLooperStats()
1349 List<LooperStats.ExportedEntry> entries = looperStats.getEntries(); in pullLooperStats()
1351 for (LooperStats.ExportedEntry entry : entries) { in pullLooperStats()
2682 LooperStats looperStats = LocalServices.getService(LooperStats.class); in forgetEverythingLocked()
/frameworks/base/cmds/statsd/src/
Datoms.proto351 LooperStats looper_stats = 10024;
4249 message LooperStats { message