Searched refs:BufferEvent (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | BufferQueueScheduler.h | 45 struct BufferEvent { struct 46 BufferEvent() = default; 47 BufferEvent(std::shared_ptr<Event> e, Dimensions d) : event(e), dimensions(d) {} in BufferEvent() function 58 void addEvent(const BufferEvent&); argument 76 std::queue<BufferEvent> mBufferEvents;
|
D | BufferQueueScheduler.cpp | 42 BufferEvent event = mBufferEvents.front(); in startScheduling() 55 void BufferQueueScheduler::addEvent(const BufferEvent& event) { in addEvent()
|
D | Replayer.cpp | 294 BufferEvent bufferEvent(event, dimensions); in dispatchEvent()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 155 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()
|