Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp33 using android::RawEvent;
41 static void dumpEvents(const std::vector<RawEvent>& events) { in dumpEvents()
42 for (const RawEvent& event : events) { in dumpEvents()
98 std::vector<RawEvent> getEvents(std::optional<size_t> expectedEvents = std::nullopt);
101 std::vector<RawEvent> EventHubTest::getEvents(std::optional<size_t> expectedEvents) { in getEvents()
103 std::array<RawEvent, EVENT_BUFFER_SIZE> eventBuffer; in getEvents()
104 std::vector<RawEvent> events; in getEvents()
133 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents()
137 const RawEvent& event = events[i]; in consumeInitialDeviceAddedEvents()
150 std::vector<RawEvent> events = getEvents(2); in waitForDeviceCreation()
[all …]
/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/reader/mapper/accumulator/
DCursorButtonAccumulator.h25 struct RawEvent;
33 void process(const RawEvent* rawEvent);
DTouchButtonAccumulator.h25 struct RawEvent;
34 void process(const RawEvent* rawEvent);
DCursorScrollAccumulator.h25 struct RawEvent;
35 void process(const RawEvent* rawEvent);
DSingleTouchMotionAccumulator.h25 struct RawEvent;
32 void process(const RawEvent* rawEvent);
DCursorScrollAccumulator.cpp42 void CursorScrollAccumulator::process(const RawEvent* rawEvent) { in process()
DSingleTouchMotionAccumulator.cpp48 void SingleTouchMotionAccumulator::process(const RawEvent* rawEvent) { in process()
DCursorButtonAccumulator.cpp50 void CursorButtonAccumulator::process(const RawEvent* rawEvent) { in process()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.h41 void process(const RawEvent* rawEvent);
65 virtual void process(const RawEvent* rawEvent) override;
DMultiTouchInputMapper.h75 void process(const RawEvent* rawEvent);
98 virtual void process(const RawEvent* rawEvent) override;
DSingleTouchInputMapper.h31 virtual void process(const RawEvent* rawEvent) override;
DSwitchInputMapper.h30 virtual void process(const RawEvent* rawEvent) override;
DRotaryEncoderInputMapper.h36 virtual void process(const RawEvent* rawEvent) override;
DExternalStylusInputMapper.h39 virtual void process(const RawEvent* rawEvent) override;
DVibratorInputMapper.h31 virtual void process(const RawEvent* rawEvent) override;
DSwitchInputMapper.cpp32 void SwitchInputMapper::process(const RawEvent* rawEvent) { in process()
DExternalStylusInputMapper.cpp59 void ExternalStylusInputMapper::process(const RawEvent* rawEvent) { in process()
DVibratorInputMapper.cpp38 void VibratorInputMapper::process(const RawEvent* rawEvent) { in process()
DSingleTouchInputMapper.cpp32 void SingleTouchInputMapper::process(const RawEvent* rawEvent) { in process()
DInputMapper.h57 virtual void process(const RawEvent* rawEvent) = 0;
DJoystickInputMapper.h35 virtual void process(const RawEvent* rawEvent) override;
DMultiTouchInputMapper.cpp85 void MultiTouchMotionAccumulator::process(const RawEvent* rawEvent) { in process()
233 void MultiTouchInputMapper::process(const RawEvent* rawEvent) { in process()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h138 RawEvent mEventBuffer[EVENT_BUFFER_SIZE];
145 void processEventsLocked(const RawEvent* rawEvents, size_t count);
149 void processEventsForDeviceLocked(int32_t eventHubId, const RawEvent* rawEvents, size_t count);
DEventHub.h51 struct RawEvent { struct
203 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) = 0;
296 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) override;

12