Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInputTransport.cpp150 ssize_t nWrite; in sendMessage() local
152 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()
153 } while (nWrite == -1 && errno == EINTR); in sendMessage()
155 if (nWrite < 0) { in sendMessage()
170 if (size_t(nWrite) != msgLength) { in sendMessage()
/frameworks/native/services/inputflinger/
DEventHub.cpp529 ssize_t nWrite; in setLedStateLocked() local
531 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedStateLocked()
532 } while (nWrite == -1 && errno == EINTR); in setLedStateLocked()
1012 ssize_t nWrite; in wake() local
1014 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()
1015 } while (nWrite == -1 && errno == EINTR); in wake()
1017 if (nWrite != 1 && errno != EAGAIN) { in wake()