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.cc46 Reactable(int fd, Closure on_read_ready, Closure on_write_ready) in Reactable() argument
49 on_write_ready_(std::move(on_write_ready)), in Reactable()
167 Reactor::Reactable* Reactor::Register(int fd, Closure on_read_ready, Closure on_write_ready) { in Register() argument
172 if (!on_write_ready.is_null()) { in Register()
175 auto* reactable = new Reactable(fd, on_read_ready, on_write_ready); in Register()
245 …:ModifyRegistration(Reactor::Reactable* reactable, Closure on_read_ready, Closure on_write_ready) { in ModifyRegistration() argument
252 if (!on_write_ready.is_null()) { in ModifyRegistration()
258 reactable->on_write_ready_ = std::move(on_write_ready); in ModifyRegistration()
Dreactor_unittest.cc401 TEST_F(ReactorTest, on_write_ready) { in TEST_F() argument
/system/bt/gd/os/
Dreactor.h60 Reactable* Register(int fd, common::Closure on_read_ready, common::Closure on_write_ready);
72 …yRegistration(Reactable* reactable, common::Closure on_read_ready, common::Closure on_write_ready);