/system/bt/common/ |
D | message_loop_thread.cc | 34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() function in bluetooth::common::MessageLoopThread 35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread() 37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() function in bluetooth::common::MessageLoopThread 50 MessageLoopThread::~MessageLoopThread() { ShutDown(); } in ~MessageLoopThread() 52 void MessageLoopThread::StartUp() { in StartUp() 54 rust_thread_ = new ::rust::Box<shim::rust::MessageLoopThread>( in StartUp() 72 thread_ = new std::thread(&MessageLoopThread::RunThread, this, in StartUp() 78 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread() 83 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed() 116 void MessageLoopThread::ShutDown() { in ShutDown() [all …]
|
D | message_loop_thread.h | 40 class MessageLoopThread final { 48 explicit MessageLoopThread(const std::string& thread_name); 49 explicit MessageLoopThread(const std::string& thread_name, bool is_main); 54 ~MessageLoopThread(); 130 base::WeakPtr<MessageLoopThread> GetWeakPtr(); 179 static void RunThread(MessageLoopThread* context, 198 base::WeakPtrFactory<MessageLoopThread> weak_ptr_factory_; 201 ::rust::Box<shim::rust::MessageLoopThread>* rust_thread_ = nullptr; 203 DISALLOW_COPY_AND_ASSIGN(MessageLoopThread); 207 const bluetooth::common::MessageLoopThread& a) {
|
D | message_loop_thread_unittest.cc | 29 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 …]
|
D | once_timer.h | 28 class MessageLoopThread; variable 54 bool Schedule(const base::WeakPtr<MessageLoopThread>& thread, 76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
|
D | repeating_timer.h | 28 class MessageLoopThread; variable 54 bool SchedulePeriodic(const base::WeakPtr<MessageLoopThread>& thread, 76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
|
D | once_timer_unittest.cc | 26 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()
|
D | repeating_timer_unittest.cc | 26 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()
|
D | once_timer.cc | 35 bool OnceTimer::Schedule(const base::WeakPtr<MessageLoopThread>& thread, in Schedule() 83 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
|
/system/bt/test/mock/ |
D | mock_common_message_loop_thread.cc | 34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() function in bluetooth::common::MessageLoopThread 35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread() 37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() function in bluetooth::common::MessageLoopThread 50 MessageLoopThread::~MessageLoopThread() { ShutDown(); } in ~MessageLoopThread() 52 void MessageLoopThread::StartUp() { in StartUp() 54 rust_thread_ = new ::rust::Box<shim::rust::MessageLoopThread>( in StartUp() 72 thread_ = new std::thread(&MessageLoopThread::RunThread, this, in StartUp() 78 bool MessageLoopThread::DoInThread(const base::Location& from_here, in DoInThread() 83 bool MessageLoopThread::DoInThreadDelayed(const base::Location& from_here, in DoInThreadDelayed() 116 void MessageLoopThread::ShutDown() { in ShutDown() [all …]
|
/system/bt/gd/rust/shim/src/ |
D | message_loop_thread.rs | 20 type MessageLoopThread; typedef 22 fn main_message_loop_thread_create() -> Box<MessageLoopThread>; in main_message_loop_thread_create() 23 fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32; in main_message_loop_thread_start() 25 thread: &mut MessageLoopThread, in main_message_loop_thread_do_delayed() argument 34 pub struct MessageLoopThread { struct 39 pub fn main_message_loop_thread_create() -> Box<MessageLoopThread> { in main_message_loop_thread_create() argument 50 Box::new(MessageLoopThread { rt, tx }) in main_message_loop_thread_create() 53 pub fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32 { in main_message_loop_thread_start() 60 thread: &mut MessageLoopThread, in main_message_loop_thread_do_delayed() argument
|
/system/bt/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 26 using bluetooth::common::MessageLoopThread; 34 static MessageLoopThread* thread = new MessageLoopThread("fake main thread"); 36 bluetooth::common::MessageLoopThread* get_main_thread() { return thread; } in get_main_thread()
|
/system/bt/osi/test/ |
D | future_test.cc | 27 using bluetooth::common::MessageLoopThread; 43 MessageLoopThread worker_thread("worker_thread"); in TEST_F()
|
D | semaphore_test.cc | 14 using bluetooth::common::MessageLoopThread; 76 MessageLoopThread thread("semaphore_test_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() 305 MessageLoopThread message_loop_thread("btu message loop"); in TEST_F()
|
/system/bt/stack/btu/ |
D | btu_task.cc | 42 using bluetooth::common::MessageLoopThread; 50 static MessageLoopThread main_thread("bt_main_thread", true); 89 bluetooth::common::MessageLoopThread* get_main_thread() { return &main_thread; } in get_main_thread()
|
/system/bt/test/common/ |
D | main_handler.cc | 27 using bluetooth::common::MessageLoopThread; 32 MessageLoopThread main_thread("bt_fake_main_thread", true);
|
D | main_handler.h | 26 using bluetooth::common::MessageLoopThread;
|
/system/bt/common/benchmark/ |
D | timer_performance_benchmark.cc | 30 using bluetooth::common::MessageLoopThread; 35 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread() 105 message_loop_thread_ = new MessageLoopThread("timer_benchmark"); in SetUp() 125 MessageLoopThread* message_loop_thread_; 209 message_loop_thread_ = new MessageLoopThread("timer_benchmark"); in SetUp() 234 MessageLoopThread* message_loop_thread_;
|
/system/bt/stack/test/common/ |
D | mock_btu_layer.cc | 21 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()
|
/system/bt/audio_hal_interface/ |
D | le_audio_software.h | 83 bluetooth::common::MessageLoopThread* message_loop); 92 bluetooth::common::MessageLoopThread* message_loop);
|
D | hearing_aid_software_encoding_host.cc | 26 bluetooth::common::MessageLoopThread* message_loop) { in init()
|
D | a2dp_encoding_host.cc | 32 bool init(bluetooth::common::MessageLoopThread* message_loop) { return false; } in init()
|
D | hearing_aid_software_encoding.h | 36 bluetooth::common::MessageLoopThread* message_loop);
|
D | a2dp_encoding.h | 38 bool init(bluetooth::common::MessageLoopThread* message_loop);
|
/system/bt/hci/test/ |
D | other_stack_stub.cc | 27 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()
|