/system/bt/stack/btu/ |
D | btu_task.cc | 91 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/ |
D | main_handler.cc | 37 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()
|
D | main_handler.h | 29 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/ |
D | mock_main_bte.h | 67 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()
|
D | mock_common_message_loop_thread.cc | 78 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()
|
D | mock_hci_layer.h | 60 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()
|
D | mock_main_bte.cc | 55 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()
|
D | mock_stack_btu_task.cc | 54 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
|
D | mock_hci_layer.cc | 76 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()
|
D | mock_common_repeating_timer.cc | 44 const base::Location& from_here, base::Closure task, in SchedulePeriodic() argument
|
D | mock_btif_core.cc | 91 bt_status_t do_in_jni_thread(const base::Location& from_here, in do_in_jni_thread() argument
|
/system/update_engine/common/ |
D | scoped_task_id.h | 52 [[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/ |
D | bte_main.cc | 69 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/ |
D | message_loop_thread.cc | 78 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()
|
D | once_timer.cc | 36 const base::Location& from_here, in Schedule() argument 53 from_here, task_wrapper_.callback(), in Schedule() 57 << ", from " << from_here.ToString(); in Schedule()
|
D | message_loop_thread.h | 73 bool DoInThread(const base::Location& from_here, base::OnceClosure task); 166 bool DoInThreadDelayed(const base::Location& from_here,
|
D | repeating_timer.cc | 39 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()
|
D | once_timer.h | 55 const base::Location& from_here, base::OnceClosure task,
|
D | repeating_timer.h | 55 const base::Location& from_here,
|
/system/bt/btif/include/ |
D | btif_common.h | 154 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/ |
D | btif_hearing_aid.cc | 40 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/ |
D | btu.h | 56 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/ |
D | mock_main_bte_main.cc | 46 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/ |
D | hci_layer.h | 94 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg);
|
/system/bt/btif/test/ |
D | btif_rc_test.cc | 91 bt_status_t do_in_jni_thread(const base::Location& from_here, in do_in_jni_thread() argument
|