Home
last modified time | relevance | path

Searched refs:MessageLoopThread (Results 1 – 25 of 33) sorted by relevance

12

/system/bt/common/
Dmessage_loop_thread.cc31 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() function in bluetooth::common::MessageLoopThread
41 MessageLoopThread::~MessageLoopThread() { ShutDown(); } in ~MessageLoopThread()
43 void MessageLoopThread::StartUp() { in StartUp()
53 thread_ = new std::thread(&MessageLoopThread::RunThread, this, in StartUp()
59 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread()
64 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed()
83 void MessageLoopThread::ShutDown() { in ShutDown()
118 base::PlatformThreadId MessageLoopThread::GetThreadId() const { in GetThreadId()
123 std::string MessageLoopThread::GetName() const { in GetName()
127 std::string MessageLoopThread::ToString() const { in ToString()
[all …]
Dmessage_loop_thread_unittest.cc29 using bluetooth::common::MessageLoopThread;
85 base::WeakPtr<MessageLoopThread> message_loop_thread_ptr; in TEST_F()
87 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
95 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
105 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
113 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
120 MessageLoopThread message_loop_thread(name); in TEST_F()
128 MessageLoopThread message_loop_thread(name); in TEST_F()
138 MessageLoopThread message_loop_thread(name); in TEST_F()
154 MessageLoopThread message_loop_thread(name); in TEST_F()
[all …]
Dmessage_loop_thread.h38 class MessageLoopThread final {
46 explicit MessageLoopThread(const std::string& thread_name);
51 ~MessageLoopThread();
127 base::WeakPtr<MessageLoopThread> GetWeakPtr();
148 static void RunThread(MessageLoopThread* context,
198 base::WeakPtrFactory<MessageLoopThread> weak_ptr_factory_;
201 DISALLOW_COPY_AND_ASSIGN(MessageLoopThread);
205 const bluetooth::common::MessageLoopThread& a) {
Donce_timer.h28 class MessageLoopThread; variable
54 bool Schedule(const base::WeakPtr<MessageLoopThread>& thread,
76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
Drepeating_timer.h28 class MessageLoopThread; variable
54 bool SchedulePeriodic(const base::WeakPtr<MessageLoopThread>& thread,
76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
Donce_timer_unittest.cc26 using bluetooth::common::MessageLoopThread;
91 MessageLoopThread message_loop_thread(name); in TEST_F()
110 MessageLoopThread message_loop_thread(name); in TEST_F()
120 MessageLoopThread message_loop_thread(name); in TEST_F()
132 MessageLoopThread message_loop_thread(name); in TEST_F()
146 MessageLoopThread message_loop_thread(name); in TEST_F()
160 MessageLoopThread message_loop_thread(name); in TEST_F()
178 MessageLoopThread message_loop_thread(name); in TEST_F()
194 MessageLoopThread message_loop_thread(name); in TEST_F()
210 MessageLoopThread message_loop_thread(name); in TEST_F()
Drepeating_timer_unittest.cc26 using bluetooth::common::MessageLoopThread;
78 MessageLoopThread message_loop_thread(name); in VerifyMultipleDelayedTasks()
126 MessageLoopThread message_loop_thread(name); in TEST_F()
136 MessageLoopThread message_loop_thread(name); in TEST_F()
154 MessageLoopThread message_loop_thread(name); in TEST_F()
169 MessageLoopThread message_loop_thread(name); in TEST_F()
184 MessageLoopThread message_loop_thread(name); in TEST_F()
196 MessageLoopThread message_loop_thread(name); in TEST_F()
232 MessageLoopThread message_loop_thread(name); in TEST_F()
Donce_timer.cc35 bool OnceTimer::Schedule(const base::WeakPtr<MessageLoopThread>& thread, in Schedule()
83 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
Drepeating_timer.cc38 const base::WeakPtr<MessageLoopThread>& thread, in SchedulePeriodic()
93 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
/system/bt/stack/btu/
Dbtu_task.cc41 using bluetooth::common::MessageLoopThread;
46 static MessageLoopThread main_thread("bt_main_thread");
80 bluetooth::common::MessageLoopThread* get_main_thread() { return &main_thread; } in get_main_thread()
Dbtu_init.cc39 using bluetooth::common::MessageLoopThread;
41 MessageLoopThread bt_startup_thread("bt_startup_thread");
/system/bt/btcore/src/
Dmodule.cc34 using bluetooth::common::MessageLoopThread;
168 MessageLoopThread* callback_thread, in CallbackWrapper()
176 MessageLoopThread lifecycle_thread;
178 MessageLoopThread* callback_thread;
198 MessageLoopThread* callback_thread, in module_start_up_callbacked_wrapper()
/system/bt/osi/test/
Dfuture_test.cc27 using bluetooth::common::MessageLoopThread;
43 MessageLoopThread worker_thread("worker_thread"); in TEST_F()
Dsemaphore_test.cc14 using bluetooth::common::MessageLoopThread;
76 MessageLoopThread thread("semaphore_test_thread"); in TEST_F()
Dalarm_test.cc33 using bluetooth::common::MessageLoopThread;
306 MessageLoopThread message_loop_thread("btu message loop"); in TEST_F()
/system/bt/common/benchmark/
Dtimer_performance_benchmark.cc30 using bluetooth::common::MessageLoopThread;
106 message_loop_thread_ = new MessageLoopThread("timer_benchmark"); in SetUp()
126 MessageLoopThread* message_loop_thread_;
210 message_loop_thread_ = new MessageLoopThread("timer_benchmark"); in SetUp()
235 MessageLoopThread* message_loop_thread_;
Dthread_performance_benchmark.cc31 using bluetooth::common::MessageLoopThread;
329 new MessageLoopThread("BM_MessageLooopThread thread"); in SetUp()
344 MessageLoopThread* message_loop_thread_ = nullptr;
/system/bt/audio_hal_interface/
Da2dp_encoding.h30 bool init(bluetooth::common::MessageLoopThread* message_loop);
Dhearing_aid_software_encoding.h36 bluetooth::common::MessageLoopThread* message_loop);
Dclient_interface.cc165 bluetooth::common::MessageLoopThread* message_loop) in BluetoothAudioDeathRecipient()
185 bluetooth::common::MessageLoopThread* message_loop_;
189 … bluetooth::common::MessageLoopThread* message_loop) in BluetoothAudioClientInterface()
/system/bt/btcore/include/
Dmodule.h69 bluetooth::common::MessageLoopThread* callback_thread, thread_fn callback);
/system/bt/stack/include/
Dbtu.h61 bluetooth::common::MessageLoopThread* get_main_thread();
/system/bt/btif/src/
Dstack_manager.cc40 using bluetooth::common::MessageLoopThread;
42 static MessageLoopThread management_thread("bt_stack_manager_thread");
/system/bt/stack/test/
Dstack_btu_test.cc85 bluetooth::common::MessageLoopThread bt_startup_thread("test alarm thread");
/system/bt/common/test/
Dthread_performance_test.cc33 using bluetooth::common::MessageLoopThread;
279 new MessageLoopThread("WorkerThreadPerformanceTest thread"); in SetUp()
294 MessageLoopThread* worker_thread_ = nullptr;

12