Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 25 of 28) sorted by relevance

12

/system/bt/gd/os/
Dreactor.h32 using Closure = std::function<void()>; variable
60 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);
Dhandler.h44 void Post(Closure closure);
50 std::queue<Closure> tasks_;
Drepeating_alarm.h43 void Schedule(Closure task, std::chrono::milliseconds period);
49 Closure task_;
Dalarm.h43 void Schedule(Closure task, std::chrono::milliseconds delay);
49 Closure task_;
/system/update_engine/common/
Dhttp_fetcher.cc21 using base::Closure;
48 const Closure& callback) { in ResolveProxiesForUrl()
49 CHECK_EQ(static_cast<Closure*>(nullptr), callback_.get()); in ResolveProxiesForUrl()
50 callback_.reset(new Closure(callback)); in ResolveProxiesForUrl()
74 Closure* callback = callback_.release(); in ProxiesResolved()
Dhttp_fetcher.h71 const base::Closure& callback);
166 std::unique_ptr<base::Closure> callback_;
/system/bt/gd/os/linux_generic/
Dreactor.cc41 Reactable(int fd, Closure on_read_ready, Closure on_write_ready) in Reactable()
47 Closure on_read_ready_;
48 Closure on_write_ready_;
139 Reactor::Reactable* Reactor::Register(int fd, Closure on_read_ready, Closure on_write_ready) { in Register()
185 void Reactor::ModifyRegistration(Reactor::Reactable* reactable, Closure on_read_ready, Closure on_w… in ModifyRegistration()
Dhandler.cc51 void Handler::Post(Closure closure) { in Post()
64 std::queue<Closure> empty; in Clear()
73 Closure closure; in handle_next_event()
Dhandler_unittest.cc47 Closure closure = [&val]() { val++; }; in TEST_F()
55 Closure closure = [&val]() { in TEST_F()
Dalarm.cc51 void Alarm::Schedule(Closure task, std::chrono::milliseconds delay) { in Schedule()
Drepeating_alarm.cc51 void RepeatingAlarm::Schedule(Closure task, std::chrono::milliseconds period) { in Schedule()
/system/update_engine/update_manager/
Devaluation_context.h120 bool RunOnValueChangeOrTimeout(base::Closure callback);
130 std::unique_ptr<base::Closure> RemoveObserversAndTimeout();
164 std::unique_ptr<base::Closure> callback_;
Devaluation_context.cc33 using base::Closure;
87 unique_ptr<Closure> EvaluationContext::RemoveObserversAndTimeout() { in RemoveObserversAndTimeout()
125 unique_ptr<Closure> callback = RemoveObserversAndTimeout(); in OnValueChangedOrTimeout()
163 bool EvaluationContext::RunOnValueChangeOrTimeout(Closure callback) { in RunOnValueChangeOrTimeout()
213 callback_.reset(new Closure(callback)); in RunOnValueChangeOrTimeout()
Devaluation_context_unittest.cc35 using base::Closure;
68 void EvaluateRepeatedly(Closure evaluation, in EvaluateRepeatedly()
76 Closure closure = Bind(EvaluateRepeatedly, evaluation, ec, count_p, done_p); in EvaluateRepeatedly()
328 Closure evaluation = Bind(ReadVar<string>, eval_ctx_, &fake_poll_var_); in TEST_F()
336 Closure closure = Bind( in TEST_F()
Dupdate_manager-inl.h97 base::Closure reeval_callback = in OnPolicyReadyToEvaluate()
159 base::Closure eval_callback = in AsyncPolicyRequest()
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc32 explicit DeathRecipient(const ::base::Closure& callback) in DeathRecipient()
43 ::base::Closure callback_;
88 const ::base::Closure& callback) { in RegisterForDeathNotifications()
Dreal_binder_wrapper.h41 const ::base::Closure& callback) override;
Dstub_binder_wrapper.cc67 const ::base::Closure& callback) { in RegisterForDeathNotifications()
/system/core/libbinderwrapper/include/binderwrapper/
Dstub_binder_wrapper.h101 const ::base::Closure& callback) override;
122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
Dbinder_wrapper.h73 const ::base::Closure& callback) = 0;
/system/bt/stack/test/
Dstack_btu_test.cc40 void wait(int seconds, base::Closure callback) { in wait()
/system/bt/common/
Drepeating_timer.cc39 const base::Location& from_here, base::Closure task, in SchedulePeriodic()
/system/bt/bta/include/
Dbta_hearing_aid_api.h201 base::Closure initCb);
/system/bt/hci/src/
Dhci_layer.cc107 static std::queue<base::Closure> command_queue;
363 base::Closure callback = base::Bind(&event_command_ready, wait_entry); in enqueue_command()
/system/bt/osi/test/
Dalarm_test.cc31 using base::Closure;

12