Home
last modified time | relevance | path

Searched refs:num_async_tasks (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_test.cc84 std::atomic<int> num_async_tasks; variable
98 [](base::OnceClosure task, std::atomic<int>& num_async_tasks) { in do_in_main_thread() argument
100 num_async_tasks--; in do_in_main_thread()
102 std::move(task), std::ref(num_async_tasks)))) { in do_in_main_thread()
106 num_async_tasks++; in do_in_main_thread()
114 num_async_tasks = 0; in init_message_loop_thread()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc132 std::atomic<int> num_async_tasks; variable
148 [](base::OnceClosure task, std::atomic<int>& num_async_tasks) { in do_in_main_thread() argument
150 num_async_tasks--; in do_in_main_thread()
152 std::move(task), std::ref(num_async_tasks)))) { in do_in_main_thread()
156 num_async_tasks++; in do_in_main_thread()
170 num_async_tasks = 0; in init_message_loop_thread()
1821 while (num_async_tasks > 0) in SyncOnMainLoop()