Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp2769 static constexpr auto EVENT_SIZE = static_cast<ssize_t>(sizeof(inotify_event)); in readNotifyLocked() local
2778 if (sizeRead < EVENT_SIZE) return Errorf("could not get event, %s", strerror(errno)); in readNotifyLocked()
2780 for (ssize_t eventPos = 0; sizeRead >= EVENT_SIZE;) { in readNotifyLocked()
2787 const ssize_t eventSize = EVENT_SIZE + event->len; in readNotifyLocked()