Searched refs:Closure (Results 1 – 25 of 28) sorted by relevance
12
/system/bt/gd/os/ |
D | reactor.h | 32 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);
|
D | handler.h | 44 void Post(Closure closure); 50 std::queue<Closure> tasks_;
|
D | repeating_alarm.h | 43 void Schedule(Closure task, std::chrono::milliseconds period); 49 Closure task_;
|
D | alarm.h | 43 void Schedule(Closure task, std::chrono::milliseconds delay); 49 Closure task_;
|
/system/update_engine/common/ |
D | http_fetcher.cc | 21 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()
|
D | http_fetcher.h | 71 const base::Closure& callback); 166 std::unique_ptr<base::Closure> callback_;
|
/system/bt/gd/os/linux_generic/ |
D | reactor.cc | 41 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()
|
D | handler.cc | 51 void Handler::Post(Closure closure) { in Post() 64 std::queue<Closure> empty; in Clear() 73 Closure closure; in handle_next_event()
|
D | handler_unittest.cc | 47 Closure closure = [&val]() { val++; }; in TEST_F() 55 Closure closure = [&val]() { in TEST_F()
|
D | alarm.cc | 51 void Alarm::Schedule(Closure task, std::chrono::milliseconds delay) { in Schedule()
|
D | repeating_alarm.cc | 51 void RepeatingAlarm::Schedule(Closure task, std::chrono::milliseconds period) { in Schedule()
|
/system/update_engine/update_manager/ |
D | evaluation_context.h | 120 bool RunOnValueChangeOrTimeout(base::Closure callback); 130 std::unique_ptr<base::Closure> RemoveObserversAndTimeout(); 164 std::unique_ptr<base::Closure> callback_;
|
D | evaluation_context.cc | 33 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()
|
D | evaluation_context_unittest.cc | 35 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()
|
D | update_manager-inl.h | 97 base::Closure reeval_callback = in OnPolicyReadyToEvaluate() 159 base::Closure eval_callback = in AsyncPolicyRequest()
|
/system/core/libbinderwrapper/ |
D | real_binder_wrapper.cc | 32 explicit DeathRecipient(const ::base::Closure& callback) in DeathRecipient() 43 ::base::Closure callback_; 88 const ::base::Closure& callback) { in RegisterForDeathNotifications()
|
D | real_binder_wrapper.h | 41 const ::base::Closure& callback) override;
|
D | stub_binder_wrapper.cc | 67 const ::base::Closure& callback) { in RegisterForDeathNotifications()
|
/system/core/libbinderwrapper/include/binderwrapper/ |
D | stub_binder_wrapper.h | 101 const ::base::Closure& callback) override; 122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
|
D | binder_wrapper.h | 73 const ::base::Closure& callback) = 0;
|
/system/bt/stack/test/ |
D | stack_btu_test.cc | 40 void wait(int seconds, base::Closure callback) { in wait()
|
/system/bt/common/ |
D | repeating_timer.cc | 39 const base::Location& from_here, base::Closure task, in SchedulePeriodic()
|
/system/bt/bta/include/ |
D | bta_hearing_aid_api.h | 201 base::Closure initCb);
|
/system/bt/hci/src/ |
D | hci_layer.cc | 107 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/ |
D | alarm_test.cc | 31 using base::Closure;
|
12