Home
last modified time | relevance | path

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

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java100 private static class RawEvent { class in GraphicBufferMetrics
102 public final RawEvent mParent;
110 public final List<RawEvent> mChildren;
112 public RawEvent(RawEvent parent, long time, String name) { in RawEvent() method in GraphicBufferMetrics.RawEvent
128 public void findEvents(String path, List<RawEvent> collector) { in findEvents()
132 for (RawEvent child : mChildren) { in findEvents()
146 for (RawEvent e : mChildren) { in dump()
202 private static Map<Integer, RawEvent> buildEventModel(String fileName) throws IOException { in buildEventModel()
203 Map<Integer, RawEvent> result = new HashMap<>(); in buildEventModel()
280 result.put(threadId, new RawEvent(null /* parent */, in buildEventModel()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.h195 RawEvent mEventBuffer[EVENT_BUFFER_SIZE];
200 void processEventsLocked(const RawEvent* rawEvents, size_t count);
204 void processEventsForDeviceLocked(int32_t deviceId, const RawEvent* rawEvents, size_t count);
278 void process(const RawEvent* rawEvents, size_t count);
355 void process(const RawEvent* rawEvent);
380 void process(const RawEvent* rawEvent);
402 void process(const RawEvent* rawEvent);
433 void process(const RawEvent* rawEvent);
641 void process(const RawEvent* rawEvent);
714 void process(const RawEvent* rawEvent);
[all …]
DEventHub.h52 struct RawEvent { struct
206 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) = 0;
299 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize);
DInputReader.cpp350 void InputReader::processEventsLocked(const RawEvent* rawEvents, size_t count) { in processEventsLocked()
351 for (const RawEvent* rawEvent = rawEvents; count;) { in processEventsLocked()
523 const RawEvent* rawEvents, size_t count) { in processEventsForDeviceLocked()
1132 void InputDevice::process(const RawEvent* rawEvents, size_t count) { in process()
1138 for (const RawEvent* rawEvent = rawEvents; count != 0; rawEvent++) { in process()
1316 void CursorButtonAccumulator::process(const RawEvent* rawEvent) { in process()
1383 void CursorMotionAccumulator::process(const RawEvent* rawEvent) { in process()
1422 void CursorScrollAccumulator::process(const RawEvent* rawEvent) { in process()
1492 void TouchButtonAccumulator::process(const RawEvent* rawEvent) { in process()
1703 void SingleTouchMotionAccumulator::process(const RawEvent* rawEvent) { in process()
[all …]
DEventHub.cpp815 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) { in getEvents()
822 RawEvent* event = buffer; in getEvents()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp337 List<RawEvent> mEvents;
490 RawEvent event; in enqueueEvent()
612 virtual size_t getEvents(int, RawEvent* buffer, size_t) { in getEvents()
869 RawEvent mLastEvent;
906 void assertProcessWasCalled(RawEvent* outLastEvent = nullptr) { in assertProcessWasCalled()
958 virtual void process(const RawEvent* rawEvent) { in process()
1507 RawEvent event; in TEST_F()
1766 RawEvent event; in TEST_F()
1841 RawEvent event; in process()