/system/bt/common/test/ |
D | thread_performance_test.cc | 101 thread_ = thread_new("OsiThreadMessageLoopPerformanceTest thread"); in SetUp() 102 thread_post(thread_, &MessageLoopPerformanceTest::RunThread, this); in SetUp() 109 thread_free(thread_); in TearDown() 110 thread_ = nullptr; in TearDown() 114 thread_t* thread_ = nullptr; member in OsiThreadMessageLoopPerformanceTest 146 thread_ = new std::thread(&MessageLoopPerformanceTest::RunThread, this); in SetUp() 153 thread_->join(); in TearDown() 154 delete thread_; in TearDown() 155 thread_ = nullptr; in TearDown() 159 std::thread* thread_ = nullptr; member in StlThreadMessageLoopPerformanceTest [all …]
|
/system/bt/common/benchmark/ |
D | thread_performance_benchmark.cc | 118 thread_ = thread_new("BM_MessageLoopOnOsiThread thread"); in SetUp() 119 thread_post(thread_, &BM_MessageLoop::RunThread, this); in SetUp() 126 thread_free(thread_); in TearDown() 127 thread_ = nullptr; in TearDown() 131 thread_t* thread_ = nullptr; member in BM_MessageLoopOsiThread 165 thread_ = new std::thread(&BM_MessageLoop::RunThread, this); in SetUp() 172 thread_->join(); in TearDown() 173 delete thread_; in TearDown() 174 thread_ = nullptr; in TearDown() 178 std::thread* thread_ = nullptr; member in BM_MessageLoopStlThread [all …]
|
/system/bt/gd/hal/ |
D | hci_hal_android_hidl_test.cc | 34 thread_ = new Thread("test_thread", Thread::Priority::NORMAL); in SetUp() 38 delete thread_; in TearDown() 42 Thread* thread_; member in bluetooth::hal::__anon88edad510111::HciHalHidlTest 46 fake_registry_.Start<HciHal>(thread_); in TEST_F()
|
/system/bt/gd/os/linux_generic/ |
D | handler_unittest.cc | 36 thread_ = new Thread("test_thread", Thread::Priority::NORMAL); in SetUp() 37 handler_ = new Handler(thread_); in SetUp() 41 delete thread_; in TearDown() 45 Thread* thread_; member in bluetooth::os::__anon9a1419ef0111::HandlerTest 117 thread_ = new Thread("test_thread", Thread::Priority::NORMAL); in ThreadSetUp() 118 handler_ = new Handler(thread_); in ThreadSetUp() 123 delete thread_; in ThreadTearDown() 139 Thread* thread_; member in bluetooth::os::__anon9a1419ef0111::HandlerDeathTest
|
D | handler.cc | 39 …: tasks_(new std::queue<OnceClosure>()), thread_(thread), fd_(eventfd(0, EFD_SEMAPHORE | EFD_NONBL… in Handler() 41 reactable_ = thread_->GetReactor()->Register( in Handler() 83 thread_->GetReactor()->Unregister(reactable_); in Clear() 89 ASSERT(thread_->GetReactor()->WaitForUnregisteredReactable(timeout)); in WaitUntilStopped()
|
D | alarm_unittest.cc | 33 thread_ = new Thread("test_thread", Thread::Priority::NORMAL); in SetUp() 34 handler_ = new Handler(thread_); in SetUp() 42 delete thread_; in TearDown() 48 Thread* thread_; member in bluetooth::os::__anone9ebacde0111::AlarmTest
|
D | thread_unittest.cc | 33 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable() 42 EXPECT_TRUE(thread_->IsSameThread()); in OnReadReady() 52 Thread* thread_; member in bluetooth::os::__anonb7ed5ea90111::SampleReactable
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager_test.cc | 47 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 48 l2cap_handler_ = new os::Handler(thread_); in SetUp() 54 delete thread_; in TearDown() 57 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon1796e9a50111::L2capClassicSignallingManagerTest
|
D | dynamic_channel_service_manager_test.cc | 47 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 48 user_handler_ = new os::Handler(thread_); in SetUp() 49 l2cap_handler_ = new os::Handler(thread_); in SetUp() 59 delete thread_; in TearDown() 71 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon97f2e1ca0111::L2capDynamicServiceManagerTest
|
D | link_test.cc | 75 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 76 handler_ = new os::Handler(thread_); in SetUp() 77 signalling_handler_ = new os::Handler(thread_); in SetUp() 94 delete thread_; in TearDown() 97 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::classic::internal::__anon00f1d3110111::L2capClassicLinkTest
|
D | fixed_channel_service_manager_test.cc | 48 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 49 user_handler_ = new os::Handler(thread_); in SetUp() 55 delete thread_; in TearDown() 67 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::classic::internal::L2capClassicFixedServiceManagerTest
|
/system/core/adb/fdevent/ |
D | fdevent_test.h | 52 if (thread_.joinable()) { in ~FdeventTest() 82 thread_ = std::thread([]() { fdevent_loop(); }); in PrepareThread() 94 thread_.join(); in TerminateThread() 98 std::thread thread_; variable
|
/system/bt/gd/os/ |
D | thread_benchmark.cc | 63 thread_ = std::make_unique<Thread>("BM_ReactorThread thread", Thread::Priority::NORMAL); in SetUp() 64 handler_ = std::make_unique<Handler>(thread_.get()); in SetUp() 68 thread_->Stop(); in TearDown() 69 thread_ = nullptr; in TearDown() 72 std::unique_ptr<Thread> thread_; member in BM_ReactorThread
|
/system/bt/gd/l2cap/le/internal/ |
D | dynamic_channel_service_manager_test.cc | 46 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 47 user_handler_ = new os::Handler(thread_); in SetUp() 48 l2cap_handler_ = new os::Handler(thread_); in SetUp() 58 delete thread_; in TearDown() 69 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeDynamicServiceManagerTest
|
D | fixed_channel_service_manager_test.cc | 48 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 49 user_handler_ = new os::Handler(thread_); in SetUp() 55 delete thread_; in TearDown() 67 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::le::internal::L2capLeServiceManagerTest
|
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_impl_test.cc | 47 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 48 l2cap_handler_ = new os::Handler(thread_); in SetUp() 54 delete thread_; in TearDown() 57 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelImplTest 88 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 113 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 133 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 158 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
|
D | fixed_channel_allocator_test.cc | 39 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 40 handler_ = new os::Handler(thread_); in SetUp() 55 delete thread_; in TearDown() 58 os::Thread* thread_{nullptr}; member in bluetooth::l2cap::internal::L2capFixedChannelAllocatorTest
|
D | dynamic_channel_allocator_fuzz_test.cc | 46 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 47 handler_ = new os::Handler(thread_); in SetUp() 61 delete thread_; in TearDown() 72 os::Thread* thread_{nullptr}; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelAllocatorFuzzTest
|
D | scheduler_fifo_test.cc | 73 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 74 user_handler_ = new os::Handler(thread_); in SetUp() 75 queue_handler_ = new os::Handler(thread_); in SetUp() 87 delete thread_; in TearDown() 90 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::internal::__anon4a5217940111::L2capSchedulerFifoTest
|
D | basic_mode_channel_data_controller_test.cc | 54 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 55 user_handler_ = new os::Handler(thread_); in SetUp() 56 queue_handler_ = new os::Handler(thread_); in SetUp() 64 delete thread_; in TearDown() 67 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::internal::__anon35fc6d8c0111::BasicModeDataControllerTest
|
D | dynamic_channel_allocator_test.cc | 37 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 38 handler_ = new os::Handler(thread_); in SetUp() 51 delete thread_; in TearDown() 54 os::Thread* thread_{nullptr}; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelAllocatorTest
|
D | sender_test.cc | 73 thread_ = new os::Thread("test_thread", os::Thread::Priority::NORMAL); in SetUp() 74 user_handler_ = new os::Handler(thread_); in SetUp() 75 queue_handler_ = new os::Handler(thread_); in SetUp() 89 delete thread_; in TearDown() 92 os::Thread* thread_ = nullptr; member in bluetooth::l2cap::internal::__anonaf4061330111::L2capSenderTest
|
/system/bt/common/ |
D | message_loop_thread.cc | 35 thread_(nullptr), in MessageLoopThread() 48 if (thread_ != nullptr) { in StartUp() 53 thread_ = new std::thread(&MessageLoopThread::RunThread, this, in StartUp() 86 if (thread_ == nullptr) { in ShutDown() 109 thread_->join(); in ShutDown() 112 delete thread_; in ShutDown() 113 thread_ = nullptr; in ShutDown()
|
/system/bt/service/ipc/ |
D | ipc_handler_linux.cc | 35 thread_("IPCHandlerLinux"), in IPCHandlerLinux() 106 if (!thread_.StartWithOptions(options)) { in Run() 112 thread_.task_runner()->PostTask( in Run() 128 thread_.Stop(); in Stop() 177 thread_.Stop(); in ShutDownOnOriginThread()
|
/system/bt/gd/ |
D | module_unittest.cc | 35 thread_ = new Thread("test_thread", Thread::Priority::NORMAL); in SetUp() 41 delete thread_; in TearDown() 45 Thread* thread_; member in bluetooth::__anonb3e8c82b0111::ModuleTest 204 registry_->Start(&list, thread_); in TEST_F() 222 registry_->Start(&list, thread_); in TEST_F() 240 registry_->Start(&list, thread_); in TEST_F() 263 registry_->Start(&list, thread_); in TEST_F() 272 registry_->Start(&list, thread_); in TEST_F()
|