Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DTestHelpers.h27 int receiveFd; variable
33 receiveFd = fds[0]; in Pipe()
42 if (receiveFd != -1) { in ~Pipe()
43 ::close(receiveFd); in ~Pipe()
54 ssize_t nRead = ::read(receiveFd, buf, 1); in readSignal()
DLooper_test.cpp168 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
187 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
199 EXPECT_EQ(pipe.receiveFd, handler.fd) in TEST_F()
209 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
228 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
242 EXPECT_EQ(pipe.receiveFd, handler.fd) in TEST_F()
253 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
268 EXPECT_EQ(pipe.receiveFd, handler.fd) in TEST_F()
278 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
280 mLooper->removeFd(pipe.receiveFd); in TEST_F()
[all …]