/hardware/invensense/libsensors_iio/ |
InputEventReader.h | 29 struct input_event; 33 struct input_event* const mBuffer; 34 struct input_event* const mBufferEnd; 35 struct input_event* mHead; 36 struct input_event* mCurr; 43 ssize_t readEvent(input_event const** events);
|
InputEventReader.cpp | 36 struct input_event;
39 : mBuffer(new input_event[numEvents * 2]),
59 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
60 if (nread < 0 || nread % sizeof(input_event)) {
62 // nread, sizeof(input_event));
68 LOGV_IF(nread % sizeof(input_event),
69 "DEBUG:%s exit nread %% sizeof(input_event)\n",
75 numEventsRead = nread / sizeof(input_event);
81 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event));
91 ssize_t InputEventCircularReader::readEvent(input_event const** events) [all...] |
CompassSensor.IIO.9150.h | 25 // TODO fixme, need input_event 87 void processCompassEvent(const input_event *event);
|
CompassSensor.IIO.9150.cpp | 190 void CompassSensor::processCompassEvent(const input_event *event) 250 input_event const* event;
|
/device/samsung/tuna/libsensors/ |
InputEventReader.h | 27 struct input_event; 31 struct input_event* const mBuffer; 32 struct input_event* const mBufferEnd; 33 struct input_event* mHead; 34 struct input_event* mCurr; 42 bool readEvent(int fd, input_event const** events);
|
InputEventReader.cpp | 38 struct input_event; 41 : mBuffer(new input_event[numEvents]), 66 iov[0].iov_len = numFirst * sizeof(input_event); 72 iov[1].iov_len = numSecond * sizeof(input_event); 76 if (nread < 0 || nread % sizeof(input_event)) { 81 numEventsRead = nread / sizeof(input_event); 93 bool InputEventCircularReader::readEvent(int fd, input_event const** events)
|
LightSensor.h | 31 struct input_event; 35 virtual bool handleEvent(input_event const * event);
|
PressureSensor.h | 31 struct input_event; 34 virtual bool handleEvent(input_event const * event);
|
ProximitySensor.h | 35 struct input_event; 40 virtual bool handleEvent(input_event const * event);
|
LightSensor.cpp | 36 bool LightSensor::handleEvent(input_event const *event) {
|
PressureSensor.cpp | 42 bool PressureSensor::handleEvent(input_event const *event) {
|
ProximitySensor.cpp | 67 bool ProximitySensor::handleEvent(input_event const *event) {
|
SamsungSensorBase.h | 47 virtual bool handleEvent(input_event const * event);
|
SamsungSensorBase.cpp | 49 bool SamsungSensorBase::handleEvent(input_event const * event) { 159 input_event const* event;
|
/system/core/debuggerd/ |
getevent.h | 22 int get_event(struct input_event* event, int timeout);
|
getevent.c | 191 int get_event(struct input_event* event, int timeout)
|
/bootable/recovery/minui/ |
minui.h | 51 struct input_event; 68 int ev_get_input(int fd, short revents, struct input_event *ev);
|
events.c | 135 int ev_get_input(int fd, short revents, struct input_event *ev)
|
/system/core/toolbox/ |
sendevent.c | 13 struct input_event { struct 54 struct input_event event;
|
/external/kernel-headers/original/linux/ |
input.h | 26 struct input_event { struct [all...] |
uinput.h | 71 struct input_event buff[UINPUT_BUFFER_SIZE];
|
/bootable/recovery/ |
ui.cpp | 63 struct input_event ev;
|
/frameworks/base/services/input/ |
EventHub.cpp | 517 struct input_event ev; 526 nWrite = write(device->fd, &ev, sizeof(struct input_event)); 585 struct input_event ev; 607 struct input_event ev; 645 struct input_event readBuffer[bufferSize]; 751 sizeof(struct input_event) * capacity); 763 } else if ((readSize % sizeof(struct input_event)) != 0) { 768 size_t count = size_t(readSize) / sizeof(struct input_event); 770 struct input_event& iev = readBuffer[i]; [all...] |
/frameworks/base/tests/touchlag/ |
touchlag.cpp | 145 input_event event;
|
/system/core/charger/ |
charger.c | 812 struct input_event *ev) 894 struct input_event ev; 921 struct input_event ev;
|