HomeSort by relevance Sort by last modified time
    Searched refs:RawEvent (Results 1 - 5 of 5) sorted by null

  /frameworks/native/services/inputflinger/
InputReader.h 481 RawEvent mEventBuffer[EVENT_BUFFER_SIZE];
486 void processEventsLocked(const RawEvent* rawEvents, size_t count);
490 void processEventsForDeviceLocked(int32_t deviceId, const RawEvent* rawEvents, size_t count);
564 void process(const RawEvent* rawEvents, size_t count);
635 void process(const RawEvent* rawEvent);
660 void process(const RawEvent* rawEvent);
682 void process(const RawEvent* rawEvent);
    [all...]
EventHub.h 72 struct RawEvent {
216 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) = 0;
298 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize);
InputReader.cpp 321 void InputReader::processEventsLocked(const RawEvent* rawEvents, size_t count) {
322 for (const RawEvent* rawEvent = rawEvents; count;) {
323 int32_t type = rawEvent->type;
326 int32_t deviceId = rawEvent->deviceId;
328 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT
329 || rawEvent[batchSize].deviceId != deviceId) {
337 processEventsForDeviceLocked(deviceId, rawEvent, batchSize);
339 switch (rawEvent->type) {
341 addDeviceLocked(rawEvent->when, rawEvent->deviceId)
    [all...]
EventHub.cpp 700 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
707 RawEvent* event = buffer;
    [all...]
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp 336 List<RawEvent> mEvents;
451 RawEvent event;
565 virtual size_t getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
796 RawEvent mLastEvent;
832 void assertProcessWasCalled(RawEvent* outLastEvent = NULL) {
879 virtual void process(const RawEvent* rawEvent) {
880 mLastEvent = *rawEvent;
    [all...]

Completed in 362 milliseconds