Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dreactor.cc171 auto* reactable = static_cast<Reactor::Reactable*>(event.data.ptr); in Run() local
175 …if (std::find(invalidation_list_.begin(), invalidation_list_.end(), reactable) != invalidation_lis… in Run()
180 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Run()
182 reactable->is_executing_ = true; in Run()
184 …if (event.events & (EPOLLIN | EPOLLHUP | EPOLLRDHUP | EPOLLERR) && !reactable->on_read_ready_.is_n… in Run()
185 reactable->on_read_ready_.Run(); in Run()
187 if (event.events & EPOLLOUT && !reactable->on_write_ready_.is_null()) { in Run()
188 reactable->on_write_ready_.Run(); in Run()
191 std::unique_lock<std::mutex> reactable_lock(reactable->mutex_); in Run()
192 reactable->is_executing_ = false; in Run()
[all …]
Dreactor_unittest.cc192 auto* reactable = reactor_->Register( in TEST_F() local
195 reactor_->Unregister(reactable); in TEST_F()
200 auto* reactable = reactor_->Register( in TEST_F() local
210 reactor_->Unregister(reactable); in TEST_F()
218 auto* reactable = reactor_->Register( in TEST_F() local
226 reactor_->Unregister(reactable); in TEST_F()
231 auto* reactable = reactor_->Register( in TEST_F() local
239 reactor_->Unregister(reactable); in TEST_F()
249 auto* reactable = reactor_->Register( in TEST_F() local
257 reactor_->Unregister(reactable); in TEST_F()
[all …]
Dthread_unittest.cc88 auto* reactable = reactor->Register( in TEST_F() local
96 reactor->Unregister(reactable); in TEST_F()
/packages/modules/Bluetooth/system/gd/os/
Dreactor.h65 void Unregister(Reactable* reactable);
80 void ModifyRegistration(Reactable* reactable, ReactOn react_on);