Home
last modified time | relevance | path

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

12

/system/bt/common/
Dmessage_loop_thread.cc34 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 …]
Dmessage_loop_thread.h40 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) {
Dmessage_loop_thread_unittest.cc29 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 …]
Donce_timer.h28 class MessageLoopThread; variable
54 bool Schedule(const base::WeakPtr<MessageLoopThread>& thread,
76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
Drepeating_timer.h28 class MessageLoopThread; variable
54 bool SchedulePeriodic(const base::WeakPtr<MessageLoopThread>& thread,
76 base::WeakPtr<MessageLoopThread> message_loop_thread_;
Donce_timer_unittest.cc26 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()
Drepeating_timer_unittest.cc26 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()
Donce_timer.cc35 bool OnceTimer::Schedule(const base::WeakPtr<MessageLoopThread>& thread, in Schedule()
83 MessageLoopThread* scheduled_thread = message_loop_thread_.get(); in CancelHelper()
/system/bt/test/mock/
Dmock_common_message_loop_thread.cc34 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/
Dmessage_loop_thread.rs20 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/
Dfuzz_alarm.cc26 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/
Dfuture_test.cc27 using bluetooth::common::MessageLoopThread;
43 MessageLoopThread worker_thread("worker_thread"); in TEST_F()
Dsemaphore_test.cc14 using bluetooth::common::MessageLoopThread;
76 MessageLoopThread thread("semaphore_test_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()
305 MessageLoopThread message_loop_thread("btu message loop"); in TEST_F()
/system/bt/stack/btu/
Dbtu_task.cc42 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/
Dmain_handler.cc27 using bluetooth::common::MessageLoopThread;
32 MessageLoopThread main_thread("bt_fake_main_thread", true);
Dmain_handler.h26 using bluetooth::common::MessageLoopThread;
/system/bt/common/benchmark/
Dtimer_performance_benchmark.cc30 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/
Dmock_btu_layer.cc21 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()
/system/bt/audio_hal_interface/
Dle_audio_software.h83 bluetooth::common::MessageLoopThread* message_loop);
92 bluetooth::common::MessageLoopThread* message_loop);
Dhearing_aid_software_encoding_host.cc26 bluetooth::common::MessageLoopThread* message_loop) { in init()
Da2dp_encoding_host.cc32 bool init(bluetooth::common::MessageLoopThread* message_loop) { return false; } in init()
Dhearing_aid_software_encoding.h36 bluetooth::common::MessageLoopThread* message_loop);
Da2dp_encoding.h38 bool init(bluetooth::common::MessageLoopThread* message_loop);
/system/bt/hci/test/
Dother_stack_stub.cc27 bluetooth::common::MessageLoopThread* get_main_thread() { return nullptr; } in get_main_thread()

12