Home
last modified time | relevance | path

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

/frameworks/native/libs/utils/
DLooper.cpp365 ssize_t nWrite; in wake() local
367 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()
368 } while (nWrite == -1 && errno == EINTR); in wake()
370 if (nWrite != 1) { in wake()
/frameworks/base/services/input/
DEventHub.cpp523 ssize_t nWrite; in setLedState() local
525 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedState()
526 } while (nWrite == -1 && errno == EINTR); in setLedState()
887 ssize_t nWrite; in wake() local
889 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()
890 } while (nWrite == -1 && errno == EINTR); in wake()
892 if (nWrite != 1 && errno != EAGAIN) { in wake()
/frameworks/base/libs/androidfw/
DInputTransport.cpp148 ssize_t nWrite; in sendMessage() local
150 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()
151 } while (nWrite == -1 && errno == EINTR); in sendMessage()
153 if (nWrite < 0) { in sendMessage()
168 if (size_t(nWrite) != msgLength) { in sendMessage()