Searched refs:write_result (Results 1 – 5 of 5) sorted by relevance
/system/connectivity/wificond/tests/ |
D | looper_backed_event_loop_unittest.cpp | 110 bool write_result = false; in TEST_F() local 111 event_loop_->PostTask([&write_result, &pipe]() {write_result = pipe.writeSignal();}); in TEST_F() 121 EXPECT_EQ(true, write_result); in TEST_F() 126 bool write_result = false; in TEST_F() local 131 [&write_result, &pipe, this](int fd) { in TEST_F() 132 write_result = pipe.writeSignal(); in TEST_F() 135 EXPECT_EQ(true, write_result); in TEST_F() 143 bool write_result = false; in TEST_F() local 144 event_loop_->PostTask([&write_result, &pipe]() {write_result = pipe.writeSignal();}); in TEST_F() 159 EXPECT_EQ(true, write_result); in TEST_F()
|
/system/bt/gd/os/linux_generic/ |
D | reactor_unittest.cc | 117 auto write_result = eventfd_write(fd_, output_data_); in OnWriteReady() local 119 EXPECT_EQ(write_result, 0); in OnWriteReady() 204 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kSetPromise); in TEST_F() local 205 EXPECT_EQ(write_result, 0); in TEST_F() 219 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kSetPromise); in TEST_F() local 220 EXPECT_EQ(write_result, 0); in TEST_F() 235 auto write_result = eventfd_write(fake_reactable.fd_, 1); in TEST_F() local 236 ASSERT_EQ(write_result, 0); in TEST_F() 253 auto write_result = eventfd_write(fake_reactable.fd_, 1); in TEST_F() local 254 ASSERT_EQ(write_result, 0); in TEST_F() [all …]
|
D | reactive_semaphore.cc | 50 auto write_result = eventfd_write(fd_, val); in Increase() local 51 ASSERT_LOG(write_result != -1, "increase failed: %s", strerror(errno)); in Increase()
|
D | thread_unittest.cc | 93 int write_result = eventfd_write(fd, kCheckIsSameThread); in TEST_F() local 94 EXPECT_EQ(write_result, 0); in TEST_F()
|
D | handler.cc | 66 auto write_result = eventfd_write(fd_, val); in Post() local 67 ASSERT(write_result != -1); in Post()
|