Home
last modified time | relevance | path

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

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java155 private static class BufferEvent { class in GraphicBufferMetrics
161 public BufferEvent(int type, long time, long duration, String bufferId) { in BufferEvent() method in GraphicBufferMetrics.BufferEvent
386 List<BufferEvent> bufferEvents = new ArrayList<>(); in processGraphicBufferResult()
389 new BufferEvent(EVENT_POST_BUFFER, event.mTime, event.mDuration, null)); in processGraphicBufferResult()
397 Collections.sort(bufferEvents, new Comparator<BufferEvent>() { in processGraphicBufferResult()
399 public int compare(BufferEvent o1, BufferEvent o2) { in processGraphicBufferResult()
482 int type, List<RawEvent> rawEvents, List<BufferEvent> bufferEvents) { in toBufferEvents()
490 new BufferEvent(type, event.mTime, event.mDuration, bufferName)); in toBufferEvents()
495 private static int findNextOfType(List<BufferEvent> events, int startIndex, int type) { in findNextOfType()
505 List<BufferEvent> events, int startIndex, String bufferId) { in findNextOfBufferId()