Home
last modified time | relevance | path

Searched refs:read_result (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp109 bool read_result = false; in TEST_F() local
116 [&read_result, &pipe, this](int fd) { in TEST_F()
117 read_result = pipe.readSignal(); in TEST_F()
120 EXPECT_EQ(true, read_result); in TEST_F()
142 bool read_result = false; in TEST_F() local
149 [&read_result, &pipe, this](int fd) { in TEST_F()
150 read_result = pipe.readSignal(); in TEST_F()
162 EXPECT_EQ(false, read_result); in TEST_F()
/system/bt/gd/os/linux_generic/
Dreactive_semaphore.cc44 auto read_result = eventfd_read(fd_, &val); in Decrease() local
45 ASSERT_LOG(read_result != -1, "decrease failed: %s", strerror(errno)); in Decrease()
Dreactor_unittest.cc97 auto read_result = eventfd_read(fd_, &value); in OnReadReady() local
99 EXPECT_EQ(read_result, 0); in OnReadReady()
126 auto read_result = eventfd_read(fd_, &value); in UnregisterInCallback() local
127 EXPECT_EQ(read_result, 0); in UnregisterInCallback()
153 auto read_result = eventfd_read(fd_, &value); in OnReadReady() local
154 ASSERT_EQ(read_result, 0); in OnReadReady()
407 auto read_result = eventfd_read(fake_reactable.fd_, &value); in TEST_F() local
408 EXPECT_EQ(read_result, 0); in TEST_F()
425 auto read_result = eventfd_read(fake_reactable.fd_, &value); in TEST_F() local
426 EXPECT_EQ(read_result, 0); in TEST_F()
Dhandler.cc97 auto read_result = eventfd_read(fd_, &val); in handle_next_event() local
102 ASSERT_LOG(read_result != -1, "eventfd read error %d %s", errno, strerror(errno)); in handle_next_event()
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dstate_machine.rs161 … let read_result = tokio::fs::read("/var/run/bluetooth.pid").await; in mainloop() localVariable
162 match read_result { in mainloop()