/packages/modules/Bluetooth/system/common/ |
D | message_loop_thread.cc | 47 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 …]
|
D | message_loop_thread_unittest.cc | 29 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 …]
|
D | message_loop_thread.h | 40 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 {};
|
D | repeating_timer_unittest.cc | 27 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()
|
D | repeating_timer.h | 32 class MessageLoopThread; variable 63 bool SchedulePeriodic(const base::WeakPtr<MessageLoopThread>& thread, 86 base::WeakPtr<MessageLoopThread> message_loop_thread_;
|
D | repeating_timer.cc | 41 const base::WeakPtr<MessageLoopThread>& thread, in SchedulePeriodic() 95 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | hfp_client_interface_host.cc | 24 bluetooth::common::MessageLoopThread* message_loop) { in GetDecode() 33 bluetooth::common::MessageLoopThread* message_loop) { in GetEncode() 42 bluetooth::common::MessageLoopThread* message_loop) { in GetOffload()
|
D | hfp_client_interface.h | 87 Decode* GetDecode(bluetooth::common::MessageLoopThread* message_loop); 93 Encode* GetEncode(bluetooth::common::MessageLoopThread* message_loop); 98 Offload* GetOffload(bluetooth::common::MessageLoopThread* message_loop);
|
D | le_audio_software_unittest.cc | 210 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");
|
D | le_audio_software.h | 171 bluetooth::common::MessageLoopThread* message_loop, 183 bluetooth::common::MessageLoopThread* message_loop);
|
D | hearing_aid_software_encoding_host.cc | 26 bluetooth::common::MessageLoopThread* message_loop) { in init()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 24 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/ |
D | main_handler.cc | 32 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()
|
D | main_handler.h | 28 using bluetooth::common::MessageLoopThread; 41 bluetooth::common::MessageLoopThread* get_main_thread();
|
/packages/modules/Bluetooth/system/stack/btu/ |
D | main_thread.cc | 32 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/ |
D | future_test.cc | 26 using bluetooth::common::MessageLoopThread; 42 MessageLoopThread worker_thread("worker_thread"); in TEST_F()
|
D | alarm_test.cc | 32 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/ |
D | smp_fuzzer.cc | 35 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/ |
D | semaphore_test.cc | 11 using bluetooth::common::MessageLoopThread; 81 MessageLoopThread thread("semaphore_test_thread"); in TEST_F()
|
/packages/modules/Bluetooth/system/audio/asrc/ |
D | asrc_resampler_test.cc | 22 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/ |
D | audio_hal_client_test.cc | 54 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/ |
D | mock_audio_hal_interface_a2dp_encoding.h | 149 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/ |
D | mock_btu_layer.cc | 21 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()
|
/packages/modules/Bluetooth/system/common/test/ |
D | thread_performance_test.cc | 34 using bluetooth::common::MessageLoopThread; 282 new MessageLoopThread("WorkerThreadPerformanceTest thread"); in SetUp() 297 MessageLoopThread* worker_thread_ = nullptr;
|
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | hearing_aid_software_encoding_hidl.h | 36 bluetooth::common::MessageLoopThread* message_loop);
|