Searched refs:iev (Results 1 – 2 of 2) sorted by relevance
178 struct input_event iev; in sendEvent() local179 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()
868 struct input_event& iev = readBuffer[i]; in getEvents() local871 (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 …]