Searched refs:receiveFd (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/libs/utils/tests/ |
H A D | TestHelpers.h | 27 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 D | Looper_test.cpp | 152 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 D | android_view_InputQueue.cpp | 113 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 D | InputChannel_test.cpp | 32 fakeAshmem.sendFd, receivePipe.receiveFd, sendPipe.sendFd); 38 EXPECT_EQ(receivePipe.receiveFd, inputChannel->getReceivePipeFd()) 54 receivePipe.receiveFd = -1;
|
/frameworks/base/libs/ui/ |
H A D | InputDispatcher.cpp | 1870 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 D | InputDispatcher.h | 1023 static int handleReceiveCallback(int receiveFd, int events, void* data);
|
Completed in 797 milliseconds