Home
last modified time | relevance | path

Searched refs:closure (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/os/linux_generic/
Dhandler_unittest.cc47 Closure closure = [&val]() { val++; }; in TEST_F() local
48 handler_->Post(closure); in TEST_F()
55 Closure closure = [&val]() { in TEST_F() local
59 handler_->Post(std::move(closure)); in TEST_F()
60 closure = []() { in TEST_F()
64 handler_->Post(std::move(closure)); in TEST_F()
Dhandler.cc51 void Handler::Post(Closure closure) { in Post() argument
54 tasks_.emplace(std::move(closure)); in Post()
73 Closure closure; in handle_next_event() local
86 closure = std::move(tasks_.front()); in handle_next_event()
89 closure(); in handle_next_event()
/system/bt/gd/os/
Dhandler.h44 void Post(Closure closure);
/system/bt/osi/src/
Dalarm.cc107 CancelableClosureInStruct closure; // posted to message loop for processing member
184 new (&ret->closure) CancelableClosureInStruct(); in alarm_new_internal()
197 alarm->closure.~CancelableClosureInStruct(); in alarm_free()
410 alarm->closure.i.Cancel(); in remove_pending_alarm()
660 alarm->closure.i.Reset(Bind(alarm_ready_mloop, alarm)); in callback_dispatch()
662 FROM_HERE, alarm->closure.i.callback()); in callback_dispatch()
/system/update_engine/update_manager/
Devaluation_context_unittest.cc76 Closure closure = Bind(EvaluateRepeatedly, evaluation, ec, count_p, done_p); in EvaluateRepeatedly() local
77 ASSERT_TRUE(ec->RunOnValueChangeOrTimeout(closure)) in EvaluateRepeatedly()
336 Closure closure = Bind( in TEST_F() local
338 ASSERT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(closure)); in TEST_F()
/system/bt/bta/
DBUILD.gn93 "closure",
/system/update_engine/
Dlibcurl_http_fetcher.cc343 auto closure = in BeginTransfer() local
345 ResolveProxiesForUrl(url_, closure); in BeginTransfer()
/system/iorap/
DAndroid.bp247 // only the last cc_binary should need the full transitive closure of the dependency graph.