Home
last modified time | relevance | path

Searched refs:from_here (Results 1 – 25 of 32) sorted by relevance

12

/system/bt/stack/btu/
Dbtu_task.cc91 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() argument
93 if (!main_thread.DoInThread(from_here, std::move(task))) { in do_in_main_thread()
94 LOG(ERROR) << __func__ << ": failed from " << from_here.ToString(); in do_in_main_thread()
100 bt_status_t do_in_main_thread_delayed(const base::Location& from_here, in do_in_main_thread_delayed() argument
103 if (!main_thread.DoInThreadDelayed(from_here, std::move(task), delay)) { in do_in_main_thread_delayed()
104 LOG(ERROR) << __func__ << ": failed from " << from_here.ToString(); in do_in_main_thread_delayed()
/system/bt/test/common/
Dmain_handler.cc37 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() argument
39 ASSERT_LOG(main_thread.DoInThread(from_here, std::move(task)), in do_in_main_thread()
44 bt_status_t do_in_main_thread_delayed(const base::Location& from_here, in do_in_main_thread_delayed() argument
47 ASSERT_LOG(!main_thread.DoInThreadDelayed(from_here, std::move(task), delay), in do_in_main_thread_delayed()
Dmain_handler.h29 bt_status_t do_in_main_thread(const base::Location& from_here,
31 bt_status_t do_in_main_thread_delayed(const base::Location& from_here,
/system/bt/test/mock/
Dmock_main_bte.h67 std::function<void(const base::Location& from_here, BT_HDR* p_msg)> body{
68 [](const base::Location& from_here, BT_HDR* p_msg) {}};
69 void operator()(const base::Location& from_here, BT_HDR* p_msg) { in operator()
70 body(from_here, p_msg); in operator()
Dmock_common_message_loop_thread.cc78 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread() argument
80 return DoInThreadDelayed(from_here, std::move(task), base::TimeDelta()); in DoInThread()
83 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed() argument
90 << ", from " << from_here.ToString(); in DoInThreadDelayed()
103 << ", from " << from_here.ToString(); in DoInThreadDelayed()
106 if (!message_loop_->task_runner()->PostDelayedTask(from_here, std::move(task), in DoInThreadDelayed()
110 << ", from " << from_here.ToString(); in DoInThreadDelayed()
Dmock_hci_layer.h60 std::function<void(const base::Location& from_here, BT_HDR* packet)> body{
61 [](const base::Location& from_here, BT_HDR* packet) {}};
62 void operator()(const base::Location& from_here, BT_HDR* packet) { in operator()
63 body(from_here, packet); in operator()
Dmock_main_bte.cc55 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg) { in post_to_main_message_loop() argument
57 test::mock::main_bte::post_to_main_message_loop(from_here, p_msg); in post_to_main_message_loop()
Dmock_stack_btu_task.cc54 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() argument
59 bt_status_t do_in_main_thread_delayed(const base::Location& from_here, in do_in_main_thread_delayed() argument
Dmock_hci_layer.cc76 void hci_event_received(const base::Location& from_here, BT_HDR* packet) { in hci_event_received() argument
78 test::mock::hci_layer::hci_event_received(from_here, packet); in hci_event_received()
Dmock_common_repeating_timer.cc44 const base::Location& from_here, base::Closure task, in SchedulePeriodic() argument
Dmock_btif_core.cc91 bt_status_t do_in_jni_thread(const base::Location& from_here, in do_in_jni_thread() argument
/system/update_engine/common/
Dscoped_task_id.h52 [[nodiscard]] bool PostTask(const base::Location& from_here,
55 return PostTask<decltype(callback)>(from_here, std::move(callback), delay);
57 [[nodiscard]] bool PostTask(const base::Location& from_here,
60 return PostTask<decltype(callback)>(from_here, std::move(callback), delay);
94 [[nodiscard]] bool PostTask(const base::Location& from_here, in PostTask() argument
103 from_here, in PostTask()
/system/bt/main/
Dbte_main.cc69 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg) { in post_to_main_message_loop() argument
70 if (do_in_main_thread(from_here, base::Bind(&btu_hci_msg_process, p_msg)) != in post_to_main_message_loop()
73 << from_here.ToString(); in post_to_main_message_loop()
/system/bt/common/
Dmessage_loop_thread.cc78 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread() argument
80 return DoInThreadDelayed(from_here, std::move(task), base::TimeDelta()); in DoInThread()
83 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed() argument
90 << ", from " << from_here.ToString(); in DoInThreadDelayed()
103 << ", from " << from_here.ToString(); in DoInThreadDelayed()
106 if (!message_loop_->task_runner()->PostDelayedTask(from_here, std::move(task), in DoInThreadDelayed()
110 << ", from " << from_here.ToString(); in DoInThreadDelayed()
Donce_timer.cc36 const base::Location& from_here, in Schedule() argument
53 from_here, task_wrapper_.callback(), in Schedule()
57 << ", from " << from_here.ToString(); in Schedule()
Dmessage_loop_thread.h73 bool DoInThread(const base::Location& from_here, base::OnceClosure task);
166 bool DoInThreadDelayed(const base::Location& from_here,
Drepeating_timer.cc39 const base::Location& from_here, base::Closure task, in SchedulePeriodic() argument
62 from_here, task_wrapper_.callback(), in SchedulePeriodic()
66 << ", from " << from_here.ToString(); in SchedulePeriodic()
Donce_timer.h55 const base::Location& from_here, base::OnceClosure task,
Drepeating_timer.h55 const base::Location& from_here,
/system/bt/btif/include/
Dbtif_common.h154 extern bt_status_t do_in_jni_thread(const base::Location& from_here,
163 base::Callback<R(Args...)> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper() argument
166 [](const base::Location& from_here, base::Callback<R(Args...)> cb, in jni_thread_wrapper()
168 do_in_jni_thread(from_here, in jni_thread_wrapper()
171 from_here, std::move(cb)); in jni_thread_wrapper()
/system/bt/btif/src/
Dbtif_hearing_aid.cc40 base::Callback<void()> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper() argument
43 [](const base::Location& from_here, base::Callback<void()> cb) { in jni_thread_wrapper() argument
44 do_in_jni_thread(from_here, cb); in jni_thread_wrapper()
46 from_here, std::move(cb)); in jni_thread_wrapper()
/system/bt/stack/include/
Dbtu.h56 bt_status_t do_in_main_thread(const base::Location& from_here,
58 bt_status_t do_in_main_thread_delayed(const base::Location& from_here,
/system/bt/stack/test/common/
Dmock_main_bte_main.cc46 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg) { in post_to_main_message_loop() argument
/system/bt/hci/include/
Dhci_layer.h94 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg);
/system/bt/btif/test/
Dbtif_rc_test.cc91 bt_status_t do_in_jni_thread(const base::Location& from_here, in do_in_jni_thread() argument

12