Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp78 std::unique_ptr<LooperBackedEventLoop> event_loop_; member in android::wificond::WificondLooperBackedEventLoopTest
81 event_loop_.reset(new LooperBackedEventLoop()); in SetUp()
87 event_loop_->PostTask([this, &task_executed]() mutable { in TEST_F()
88 task_executed = true; event_loop_->TriggerExit();}); in TEST_F()
90 event_loop_->Poll(); in TEST_F()
97 event_loop_->PostDelayedTask([this, &task_executed]() mutable { in TEST_F()
98 task_executed = true; event_loop_->TriggerExit();}, 500); in TEST_F()
101 event_loop_->Poll(); in TEST_F()
111 event_loop_->PostTask([&write_result, &pipe]() {write_result = pipe.writeSignal();}); in TEST_F()
113 EXPECT_TRUE(event_loop_->WatchFileDescriptor( in TEST_F()
[all …]
Dnetlink_manager_unittest.cpp29 std::unique_ptr<LooperBackedEventLoop> event_loop_; member in android::wificond::NetlinkManagerTest
32 event_loop_.reset(new LooperBackedEventLoop()); in SetUp()
37 NetlinkManager netlink_manager(event_loop_.get()); in TEST_F()
/system/connectivity/wificond/net/
Dnetlink_manager.h302 EventLoop* event_loop_; variable
Dnetlink_manager.cpp82 event_loop_(event_loop), in NetlinkManager()
433 bool watch_fd_rt = event_loop_->WatchFileDescriptor( in WatchSocket()