Searched refs:receiveFd (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/utils/tests/
H A DTestHelpers.h27 int receiveFd; member in class:android::Pipe
33 receiveFd = fds[0];
42 if (receiveFd != -1) {
43 ::close(receiveFd);
54 ssize_t nRead = ::read(receiveFd, buf, 1);
H A DLooper_test.cpp152 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
171 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
183 EXPECT_EQ(pipe.receiveFd, handler.fd)
193 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
212 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
226 EXPECT_EQ(pipe.receiveFd, handler.fd)
237 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
252 EXPECT_EQ(pipe.receiveFd, handler.fd)
262 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
264 mLooper->removeFd(pipe.receiveFd);
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_InputQueue.cpp113 static int handleReceiveCallback(int receiveFd, int events, void* data);
115 static jlong generateFinishedToken(int32_t receiveFd,
166 int32_t receiveFd = inputChannel->getReceivePipeFd(); local
167 mConnectionsByReceiveFd.add(receiveFd, connection);
169 looper->addFd(receiveFd, 0, ALOOPER_EVENT_INPUT, handleReceiveCallback, this);
235 int32_t receiveFd; local
238 parseFinishedToken(finishedToken, &receiveFd, &connectionId, &messageSeqNum);
243 ssize_t connectionIndex = mConnectionsByReceiveFd.indexOfKey(receiveFd);
296 int NativeInputQueue::handleReceiveCallback(int receiveFd, int events, void* data) { argument
307 ssize_t connectionIndex = q->mConnectionsByReceiveFd.indexOfKey(receiveFd);
423 generateFinishedToken(int32_t receiveFd, uint16_t connectionId, uint16_t messageSeqNum) argument
[all...]
/frameworks/base/libs/ui/tests/
H A DInputChannel_test.cpp32 fakeAshmem.sendFd, receivePipe.receiveFd, sendPipe.sendFd);
38 EXPECT_EQ(receivePipe.receiveFd, inputChannel->getReceivePipeFd())
54 receivePipe.receiveFd = -1;
/frameworks/base/libs/ui/
H A DInputDispatcher.cpp1870 int InputDispatcher::handleReceiveCallback(int receiveFd, int events, void* data) { argument
1876 ssize_t connectionIndex = d->mConnectionsByReceiveFd.indexOfKey(receiveFd);
1879 "fd=%d, events=0x%x", receiveFd, events);
2781 int32_t receiveFd = inputChannel->getReceivePipeFd(); local
2782 mConnectionsByReceiveFd.add(receiveFd, connection);
2788 mLooper->addFd(receiveFd, 0, ALOOPER_EVENT_INPUT, handleReceiveCallback, this);
/frameworks/base/include/ui/
H A DInputDispatcher.h1023 static int handleReceiveCallback(int receiveFd, int events, void* data);

Completed in 797 milliseconds