Home
last modified time | relevance | path

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

/system/bt/test/common/
Dmain_handler.cc33 void do_post_on_bt_main(BtMainClosure closure) { closure(); } in do_post_on_bt_main() argument
52 void post_on_bt_main(BtMainClosure closure) { in post_on_bt_main() argument
54 base::Bind(do_post_on_bt_main, std::move(closure)))); in post_on_bt_main()
Dmain_handler.h34 void post_on_bt_main(BtMainClosure closure);
/system/bt/gd/os/linux_generic/
Dhandler.cc56 void Handler::Post(OnceClosure closure) { in Post() argument
63 tasks_->emplace(std::move(closure)); in Post()
93 common::OnceClosure closure; in handle_next_event() local
104 closure = std::move(tasks_->front()); in handle_next_event()
107 std::move(closure).Run(); in handle_next_event()
Dhandler_unittest.cc56 common::OnceClosure closure = common::BindOnce( in TEST_F() local
63 handler_->Post(std::move(closure)); in TEST_F()
/system/bt/gd/rust/shim/src/
Dmessage_loop_thread.rs26 closure: UniquePtr<OnceClosure>, in main_message_loop_thread_do_delayed()
61 closure: cxx::UniquePtr<ffi::OnceClosure>, in main_message_loop_thread_do_delayed()
66 if thread.tx.send(closure).is_err() { in main_message_loop_thread_do_delayed()
78 closure.Run(); in main_message_loop_thread_do_delayed()
/system/bt/stack/btu/
Dbtu_task.cc110 static void do_post_on_bt_main(BtMainClosure closure) { closure(); } in do_post_on_bt_main() argument
112 void post_on_bt_main(BtMainClosure closure) { in post_on_bt_main() argument
114 FROM_HERE, base::Bind(do_post_on_bt_main, std::move(closure))) == in post_on_bt_main()
/system/bt/gd/rust/shim/callbacks/
Dcallbacks.h48 OnceClosure(base::OnceClosure closure) : closure_(new base::OnceClosure(std::move(closure))) {} in OnceClosure() argument
/system/bt/gd/cert/
Dcert_self_test_lib.py504 closure = lambda: thing.behaviors.test_request_behavior.run("A") function
505 t = Timer(0.5, closure)
517 closure = lambda: thing.behaviors.test_request_behavior.run("A") function
518 t = Timer(0.5, closure)
530 closure = lambda: thing.behaviors.test_request_behavior.run("A") function
531 t = Timer(0.5, closure)
544 closure = lambda: thing.behaviors.test_request_behavior.run("B") function
545 t = Timer(0.5, closure)
554 closure = lambda: thing.behaviors.test_request_behavior.run("A") function
555 t = Timer(0.5, closure)
/system/bt/test/mock/
Dmock_stack_btu_task.cc68 void post_on_bt_main(BtMainClosure closure) { in post_on_bt_main() argument
/system/bt/stack/include/
Dbtu.h63 void post_on_bt_main(BtMainClosure closure);
/system/bt/osi/src/
Dalarm.cc105 CancelableClosureInStruct closure; // posted to message loop for processing member
182 new (&ret->closure) CancelableClosureInStruct(); in alarm_new_internal()
195 alarm->closure.~CancelableClosureInStruct(); in alarm_free()
406 alarm->closure.i.Cancel(); in remove_pending_alarm()
655 alarm->closure.i.Reset(Bind(alarm_ready_mloop, alarm)); in callback_dispatch()
656 get_main_thread()->DoInThread(FROM_HERE, alarm->closure.i.callback()); in callback_dispatch()
/system/update_engine/update_manager/
Devaluation_context_unittest.cc79 Closure closure = Bind(EvaluateRepeatedly, evaluation, ec, count_p, done_p); in EvaluateRepeatedly() local
80 ASSERT_TRUE(ec->RunOnValueChangeOrTimeout(closure)) in EvaluateRepeatedly()
322 Closure closure = Bind( in TEST_F() local
324 ASSERT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(closure)); in TEST_F()
/system/bt/gd/common/
Dcontextual_callback.h28 virtual void Post(OnceClosure closure) = 0;
/system/bt/gd/os/
Dhandler.h47 virtual void Post(common::OnceClosure closure) override;
/system/bt/bta/
DBUILD.gn91 "closure",
/system/update_engine/
Dlibcurl_http_fetcher.cc341 auto closure = in BeginTransfer() local
343 ResolveProxiesForUrl(url_, closure); in BeginTransfer()
/system/iorap/
DAndroid.bp325 // only the last cc_binary should need the full transitive closure of the dependency graph.
409 // only the last cc_binary should need the full transitive closure of the dependency graph.
/system/bt/gd/docs/architecture/
Darchitecture.md101 packets (function closure) passed through queues. Data flow between components