Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp178 struct input_event iev; in sendEvent() local
179 memset(&iev, 0, sizeof(iev)); in sendEvent()
180 iev.type = type; in sendEvent()
181 iev.code = code; in sendEvent()
182 iev.value = value; in sendEvent()
183 write(mFd, &iev, sizeof(iev)); in sendEvent()
/frameworks/native/services/inputflinger/
DEventHub.cpp868 struct input_event& iev = readBuffer[i]; in getEvents() local
871 (int) iev.time.tv_sec, (int) iev.time.tv_usec, in getEvents()
872 iev.type, iev.code, iev.value); in getEvents()
879 if (iev.type == EV_MSC) { in getEvents()
880 if (iev.code == MSC_ANDROID_TIME_SEC) { in getEvents()
881 device->timestampOverrideSec = iev.value; in getEvents()
883 } else if (iev.code == MSC_ANDROID_TIME_USEC) { in getEvents()
884 device->timestampOverrideUsec = iev.value; in getEvents()
889 iev.time.tv_sec = device->timestampOverrideSec; in getEvents()
890 iev.time.tv_usec = device->timestampOverrideUsec; in getEvents()
[all …]