Home
last modified time | relevance | path

Searched refs:write_result (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp110 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/
Dreactor_unittest.cc107 auto write_result = eventfd_write(fd_, output_data_); in OnWriteReady() local
109 EXPECT_EQ(write_result, 0); in OnWriteReady()
157 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kSetPromise); in TEST_F() local
158 EXPECT_EQ(write_result, 0); in TEST_F()
172 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kSetPromise); in TEST_F() local
173 EXPECT_EQ(write_result, 0); in TEST_F()
189 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kSetPromise); in TEST_F() local
190 EXPECT_EQ(write_result, 0); in TEST_F()
205 auto write_result = eventfd_write(fake_reactable.fd_, FakeReactable::kRegisterSampleReactable); in TEST_F() local
206 EXPECT_EQ(write_result, 0); in TEST_F()
[all …]
Dhandler.cc57 auto write_result = eventfd_write(fd_, val); in Post() local
58 ASSERT(write_result != -1); in Post()
Dthread_unittest.cc90 int write_result = eventfd_write(fd, kCheckIsSameThread); in TEST_F() local
91 EXPECT_EQ(write_result, 0); in TEST_F()