Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/system/common/
Dmessage_loop_thread.cc47 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() function in bluetooth::common::MessageLoopThread
57 MessageLoopThread::~MessageLoopThread() { ShutDown(); } in ~MessageLoopThread()
59 void MessageLoopThread::StartUp() { in StartUp()
69 thread_ = new std::thread(&MessageLoopThread::RunThread, this, in StartUp()
75 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread()
81 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed()
100 void MessageLoopThread::ShutDown() { in ShutDown()
130 base::PlatformThreadId MessageLoopThread::GetThreadId() const { in GetThreadId()
135 std::string MessageLoopThread::GetName() const { return thread_name_; } in GetName()
137 std::string MessageLoopThread::ToString() const { in ToString()
[all …]
Dmessage_loop_thread_unittest.cc29 using bluetooth::common::MessageLoopThread;
86 base::WeakPtr<MessageLoopThread> message_loop_thread_ptr; in TEST_F()
88 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
96 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
106 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
114 MessageLoopThread message_loop_thread("test_thread"); in TEST_F()
121 MessageLoopThread message_loop_thread(name); in TEST_F()
129 MessageLoopThread message_loop_thread(name); in TEST_F()
139 MessageLoopThread message_loop_thread(name); in TEST_F()
155 MessageLoopThread message_loop_thread(name); in TEST_F()
[all …]
Dmessage_loop_thread.h40 class MessageLoopThread final : public PostableContext {
48 explicit MessageLoopThread(const std::string& thread_name);
50 MessageLoopThread(const MessageLoopThread&) = delete;
51 MessageLoopThread& operator=(const MessageLoopThread&) = delete;
56 ~MessageLoopThread();
132 base::WeakPtr<MessageLoopThread> GetWeakPtr();
191 static void RunThread(MessageLoopThread* context,
210 base::WeakPtrFactory<MessageLoopThread> weak_ptr_factory_;
215 const bluetooth::common::MessageLoopThread& a) {
225 struct formatter<bluetooth::common::MessageLoopThread> : ostream_formatter {};
Drepeating_timer_unittest.cc27 using bluetooth::common::MessageLoopThread;
79 MessageLoopThread message_loop_thread(name); in VerifyMultipleDelayedTasks()
127 MessageLoopThread message_loop_thread(name); in TEST_F()
137 MessageLoopThread message_loop_thread(name); in TEST_F()
155 MessageLoopThread message_loop_thread(name); in TEST_F()
170 MessageLoopThread message_loop_thread(name); in TEST_F()
185 MessageLoopThread message_loop_thread(name); in TEST_F()
197 MessageLoopThread message_loop_thread(name); in TEST_F()
233 MessageLoopThread message_loop_thread(name); in TEST_F()
Drepeating_timer.h32 class MessageLoopThread; variable
63 bool SchedulePeriodic(const base::WeakPtr<MessageLoopThread>& thread,
86 base::WeakPtr<MessageLoopThread> message_loop_thread_;
Drepeating_timer.cc41 const base::WeakPtr<MessageLoopThread>& thread, in SchedulePeriodic()
95 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dhfp_client_interface_host.cc24 bluetooth::common::MessageLoopThread* message_loop) { in GetDecode()
33 bluetooth::common::MessageLoopThread* message_loop) { in GetEncode()
42 bluetooth::common::MessageLoopThread* message_loop) { in GetOffload()
Dhfp_client_interface.h87 Decode* GetDecode(bluetooth::common::MessageLoopThread* message_loop);
93 Encode* GetEncode(bluetooth::common::MessageLoopThread* message_loop);
98 Offload* GetOffload(bluetooth::common::MessageLoopThread* message_loop);
Dle_audio_software_unittest.cc210 bluetooth::common::MessageLoopThread* message_loop) in BluetoothAudioDeathRecipient()
221 bluetooth::common::MessageLoopThread* message_loop_;
237 bluetooth::common::MessageLoopThread* message_loop) in BluetoothAudioSinkClientInterface()
255 bluetooth::common::MessageLoopThread* message_loop) in BluetoothAudioSourceClientInterface()
552 bluetooth::common::MessageLoopThread message_loop_thread("test message loop");
Dle_audio_software.h171 bluetooth::common::MessageLoopThread* message_loop,
183 bluetooth::common::MessageLoopThread* message_loop);
Dhearing_aid_software_encoding_host.cc26 bluetooth::common::MessageLoopThread* message_loop) { in init()
/packages/modules/Bluetooth/system/osi/test/fuzzers/alarm/
Dfuzz_alarm.cc24 using bluetooth::common::MessageLoopThread;
62 static MessageLoopThread* thread = new MessageLoopThread("fake main thread");
64 bluetooth::common::MessageLoopThread* get_main_thread() { return thread; } in get_main_thread()
/packages/modules/Bluetooth/system/test/common/
Dmain_handler.cc32 using bluetooth::common::MessageLoopThread;
37 MessageLoopThread main_thread("bt_test_main_thread");
76 bluetooth::common::MessageLoopThread* get_main_thread() { return &main_thread; } in get_main_thread()
Dmain_handler.h28 using bluetooth::common::MessageLoopThread;
41 bluetooth::common::MessageLoopThread* get_main_thread();
/packages/modules/Bluetooth/system/stack/btu/
Dmain_thread.cc32 using bluetooth::common::MessageLoopThread;
35 static MessageLoopThread main_thread("bt_main_thread");
37 bluetooth::common::MessageLoopThread* get_main_thread() { return &main_thread; } in get_main_thread()
/packages/modules/Bluetooth/system/osi/test/
Dfuture_test.cc26 using bluetooth::common::MessageLoopThread;
42 MessageLoopThread worker_thread("worker_thread"); in TEST_F()
Dalarm_test.cc32 using bluetooth::common::MessageLoopThread;
42 static MessageLoopThread* thread_;
44 bluetooth::common::MessageLoopThread* get_main_thread() { return thread_; } in get_main_thread()
327 MessageLoopThread message_loop_thread("btu message loop"); in TEST_F()
/packages/modules/Bluetooth/system/stack/fuzzers/
Dsmp_fuzzer.cc35 bluetooth::common::MessageLoopThread* main_thread_ptr = nullptr;
37 bluetooth::common::MessageLoopThread* get_main_thread() { in get_main_thread()
111 new bluetooth::common::MessageLoopThread("smp_fuzz_main_thread"); in FakeBtStack()
/packages/modules/Bluetooth/system/osi/test/internal/
Dsemaphore_test.cc11 using bluetooth::common::MessageLoopThread;
81 MessageLoopThread thread("semaphore_test_thread"); in TEST_F()
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler_test.cc22 bluetooth::common::MessageLoopThread message_loop_thread("main message loop");
23 bluetooth::common::MessageLoopThread* get_main_thread() { in get_main_thread()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client_test.cc54 bluetooth::common::MessageLoopThread message_loop_thread("test message loop");
55 bluetooth::common::MessageLoopThread* get_main_thread() { in get_main_thread()
144 bluetooth::common::MessageLoopThread* message_loop,
148 bluetooth::common::MessageLoopThread* message_loop));
166 bluetooth::common::MessageLoopThread* message_loop, in GetSink()
174 bluetooth::common::MessageLoopThread* message_loop) { in GetSource()
/packages/modules/Bluetooth/system/test/mock/
Dmock_audio_hal_interface_a2dp_encoding.h149 std::function<bool(bluetooth::common::MessageLoopThread* message_loop)> body{
150 [](bluetooth::common::MessageLoopThread* /* message_loop */) {
153 bool operator()(bluetooth::common::MessageLoopThread* message_loop) { in operator()
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_btu_layer.cc21 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()
/packages/modules/Bluetooth/system/common/test/
Dthread_performance_test.cc34 using bluetooth::common::MessageLoopThread;
282 new MessageLoopThread("WorkerThreadPerformanceTest thread"); in SetUp()
297 MessageLoopThread* worker_thread_ = nullptr;
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dhearing_aid_software_encoding_hidl.h36 bluetooth::common::MessageLoopThread* message_loop);

123