Home
last modified time | relevance | path

Searched refs:message_loop_thread (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/common/
Dmessage_loop_thread_unittest.cc88 MessageLoopThread message_loop_thread("test_thread"); in TEST_F() local
89 message_loop_thread_ptr = message_loop_thread.GetWeakPtr(); in TEST_F()
96 MessageLoopThread message_loop_thread("test_thread"); in TEST_F() local
97 message_loop_thread.StartUp(); in TEST_F()
98 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
99 ASSERT_TRUE(message_loop_thread.IsRunning()); in TEST_F()
100 message_loop_thread.ShutDown(); in TEST_F()
101 ASSERT_LT(message_loop_thread.GetThreadId(), 0); in TEST_F()
102 ASSERT_FALSE(message_loop_thread.IsRunning()); in TEST_F()
106 MessageLoopThread message_loop_thread("test_thread"); in TEST_F() local
[all …]
Drepeating_timer_unittest.cc79 MessageLoopThread message_loop_thread(name); in VerifyMultipleDelayedTasks() local
80 message_loop_thread.StartUp(); in VerifyMultipleDelayedTasks()
81 message_loop_thread.EnableRealTimeScheduling(); in VerifyMultipleDelayedTasks()
85 message_loop_thread.GetWeakPtr(), FROM_HERE, in VerifyMultipleDelayedTasks()
127 MessageLoopThread message_loop_thread(name); in TEST_F() local
128 message_loop_thread.StartUp(); in TEST_F()
137 MessageLoopThread message_loop_thread(name); in TEST_F() local
138 message_loop_thread.StartUp(); in TEST_F()
144 message_loop_thread.GetWeakPtr(), FROM_HERE, in TEST_F()
155 MessageLoopThread message_loop_thread(name); in TEST_F() local
[all …]
DBUILD.gn20 "message_loop_thread.cc",
DAndroid.bp23 "message_loop_thread.cc",
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler_test.cc22 bluetooth::common::MessageLoopThread message_loop_thread("main message loop"); variable
24 return &message_loop_thread; in get_main_thread()
37 : SourceAudioHalAsrc(&message_loop_thread, channels, 48000, bitdepth, in SourceAudioHalAsrcTest()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client_test.cc54 bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); variable
56 return &message_loop_thread; in get_main_thread()
60 if (!message_loop_thread.DoInThread(from_here, std::move(task))) { in do_in_main_thread()
71 message_loop_thread.StartUp(); in init_message_loop_thread()
72 if (!message_loop_thread.IsRunning()) { in init_message_loop_thread()
76 if (!message_loop_thread.EnableRealTimeScheduling()) in init_message_loop_thread()
79 message_loop_ = message_loop_thread.message_loop(); in init_message_loop_thread()
85 message_loop_thread.ShutDown(); in cleanup_message_loop_thread()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_unittest.cc552 bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); variable
556 message_loop_thread.StartUp(); in init_message_loop_thread()
557 if (!message_loop_thread.IsRunning()) { in init_message_loop_thread()
561 if (!message_loop_thread.EnableRealTimeScheduling()) { in init_message_loop_thread()
565 message_loop_ = message_loop_thread.message_loop(); in init_message_loop_thread()
571 message_loop_thread.ShutDown(); in cleanup_message_loop_thread()
603 *unicast_sink_stream_cb_, &message_loop_thread, is_broadcast_); in SetUp()
605 *unicast_source_stream_cb_, &message_loop_thread); in SetUp()
/packages/modules/Bluetooth/system/osi/test/
Dalarm_test.cc327 MessageLoopThread message_loop_thread("btu message loop"); in TEST_F() local
328 message_loop_thread.StartUp(); in TEST_F()
329 if (!message_loop_thread.IsRunning()) { in TEST_F()
332 thread_ = &message_loop_thread; in TEST_F()
353 message_loop_thread.ShutDown(); in TEST_F()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_test.cc85 bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); variable
87 return &message_loop_thread; in get_main_thread()
95 if (!message_loop_thread.DoInThread( in do_in_main_thread()
115 message_loop_thread.StartUp(); in init_message_loop_thread()
116 if (!message_loop_thread.IsRunning()) { in init_message_loop_thread()
120 if (!message_loop_thread.EnableRealTimeScheduling()) in init_message_loop_thread()
123 message_loop_ = message_loop_thread.message_loop(); in init_message_loop_thread()
129 message_loop_thread.ShutDown(); in cleanup_message_loop_thread()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc134 bluetooth::common::MessageLoopThread message_loop_thread("test message loop"); variable
136 return &message_loop_thread; in get_main_thread()
145 if (!message_loop_thread.DoInThread( in do_in_main_thread()
171 message_loop_thread.StartUp(); in init_message_loop_thread()
172 if (!message_loop_thread.IsRunning()) { in init_message_loop_thread()
176 if (!message_loop_thread.EnableRealTimeScheduling()) in init_message_loop_thread()
179 message_loop_ = message_loop_thread.message_loop(); in init_message_loop_thread()
185 message_loop_thread.ShutDown(); in cleanup_message_loop_thread()