Home
last modified time | relevance | path

Searched refs:on_write_ready (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/os/linux_generic/
Dreactor.cc41 Reactable(int fd, Closure on_read_ready, Closure on_write_ready) in Reactable() argument
44 on_write_ready_(std::move(on_write_ready)), in Reactable()
139 Reactor::Reactable* Reactor::Register(int fd, Closure on_read_ready, Closure on_write_ready) { in Register() argument
144 if (on_write_ready != nullptr) { in Register()
147 auto* reactable = new Reactable(fd, on_read_ready, on_write_ready); in Register()
185 …:ModifyRegistration(Reactor::Reactable* reactable, Closure on_read_ready, Closure on_write_ready) { in ModifyRegistration() argument
192 if (on_write_ready != nullptr) { in ModifyRegistration()
198 reactable->on_write_ready_ = std::move(on_write_ready); in ModifyRegistration()
Dreactor_unittest.cc247 TEST_F(ReactorTest, on_write_ready) { in TEST_F() argument
/system/bt/gd/os/
Dreactor.h60 Reactable* Register(int fd, Closure on_read_ready, Closure on_write_ready);
66 void ModifyRegistration(Reactable* reactable, Closure on_read_ready, Closure on_write_ready);