/system/bt/gd/hal/ |
D | hci_hal_android_hidl_test.cc | 41 ModuleRegistry fake_registry_; member in bluetooth::hal::__anon88edad510111::HciHalHidlTest 46 fake_registry_.Start<HciHal>(thread_); in TEST_F() 47 fake_registry_.StopAll(); in TEST_F()
|
D | hci_hal_host_rootcanal_test.cc | 144 hal_ = fake_registry_.Start<HciHal>(thread_); in SetUp() 153 fake_registry_.StopAll(); in TearDown() 167 ModuleRegistry fake_registry_; member in bluetooth::hal::__anonb60c79700111::HciHalRootcanalTest
|
/system/bt/gd/shim/ |
D | dumpsys_test.cc | 75 fake_registry_.InjectTestModule(&shim::Dumpsys::Factory, dumpsys_module_); in SetUp() 79 fake_registry_.StopAll(); in TearDown() 98 TestModuleRegistry fake_registry_; member in testing::DumpsysTest 99 os::Thread& thread_ = fake_registry_.GetTestThread();
|
D | l2cap_test.cc | 259 …fake_registry_.InjectTestModule(&l2cap::classic::L2capClassicModule::Factory, test_l2cap_classic_m… in SetUp() 261 fake_registry_.Start<shim::L2cap>(&thread_); in SetUp() 262 … shim_l2cap_ = static_cast<shim::L2cap*>(fake_registry_.GetModuleUnderTest(&shim::L2cap::Factory)); in SetUp() 266 fake_registry_.StopAll(); in TearDown() 274 TestModuleRegistry fake_registry_; member in bluetooth::shim::__anon12bd56b70111::ShimL2capTest 275 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/system/bt/gd/hci/ |
D | le_scanning_manager_test.cc | 235 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 236 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 237 fake_registry_.InjectTestModule(&AclManager::Factory, test_acl_manager_); in SetUp() 238 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 242 fake_registry_.Start<LeScanningManager>(&thread_); in SetUp() 244 … static_cast<LeScanningManager*>(fake_registry_.GetModuleUnderTest(&LeScanningManager::Factory)); in SetUp() 251 …fake_registry_.SynchronizeModuleHandler(&LeScanningManager::Factory, std::chrono::milliseconds(20)… in TearDown() 252 fake_registry_.StopAll(); in TearDown() 260 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anone6f257030111::LeScanningManagerTest 264 os::Thread& thread_ = fake_registry_.GetTestThread();
|
D | acl_manager_test.cc | 312 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 313 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 314 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 317 fake_registry_.Start<AclManager>(&thread_); in SetUp() 318 … acl_manager_ = static_cast<AclManager*>(fake_registry_.GetModuleUnderTest(&AclManager::Factory)); in SetUp() 344 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown() 345 fake_registry_.StopAll(); in TearDown() 348 TestModuleRegistry fake_registry_; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::AclManagerNoCallbacksTest 351 os::Thread& thread_ = fake_registry_.GetTestThread(); 466 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown() [all …]
|
D | le_advertising_manager_test.cc | 272 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 273 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 274 fake_registry_.InjectTestModule(&AclManager::Factory, test_acl_manager_); in SetUp() 275 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 278 le_advertising_manager_ = fake_registry_.Start<LeAdvertisingManager>(&thread_); in SetUp() 282 …fake_registry_.SynchronizeModuleHandler(&LeAdvertisingManager::Factory, std::chrono::milliseconds(… in TearDown() 283 fake_registry_.StopAll(); in TearDown() 286 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anon003212320111::LeAdvertisingManagerTest 290 os::Thread& thread_ = fake_registry_.GetTestThread();
|
D | controller_test.cc | 269 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 270 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 271 fake_registry_.Start<Controller>(&thread_); in SetUp() 272 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp() 276 fake_registry_.StopAll(); in TearDown() 279 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anonea0b95cc0111::ControllerTest 281 os::Thread& thread_ = fake_registry_.GetTestThread();
|
D | hci_layer_test.cc | 285 fake_registry_.InjectTestModule(&hal::HciHal::Factory, hal); in SetUp() 286 fake_registry_.Start<DependsOnHci>(&fake_registry_.GetTestThread()); in SetUp() 287 hci = static_cast<HciLayer*>(fake_registry_.GetModuleUnderTest(&HciLayer::Factory)); in SetUp() 288 upper = static_cast<DependsOnHci*>(fake_registry_.GetModuleUnderTest(&DependsOnHci::Factory)); in SetUp() 289 ASSERT_TRUE(fake_registry_.IsStarted<HciLayer>()); in SetUp() 311 fake_registry_.StopAll(); in TearDown() 325 TestModuleRegistry fake_registry_; member in bluetooth::hci::HciTest
|
/system/bt/gd/neighbor/ |
D | inquiry_test.cc | 340 fake_registry_.InjectTestModule(&hci::HciLayer::Factory, test_hci_layer_); in SetUp() 341 client_handler_ = fake_registry_.GetTestModuleHandler(&hci::HciLayer::Factory); in SetUp() 342 fake_registry_.Start<InquiryModule>(&thread_); in SetUp() 344 …inquiry_module_ = static_cast<InquiryModule*>(fake_registry_.GetModuleUnderTest(&InquiryModule::Fa… in SetUp() 356 fake_registry_.StopAll(); in TearDown() 359 TestModuleRegistry fake_registry_; member in bluetooth::neighbor::__anon1f5daf130111::InquiryTest 361 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 131 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 132 handler_ = fake_registry_.GetTestModuleHandler(&FakeHciLayer::Factory); in SetUp() 147 fake_registry_.StopAll(); in TearDown() 155 fake_registry_.SynchronizeModuleHandler(&FakeHciLayer::Factory, std::chrono::milliseconds(20)); in synchronize() 191 TestModuleRegistry fake_registry_; member in bluetooth::security::channel::__anoned5ad9ed0111::ClassicPairingHandlerTest 192 Thread& thread_ = fake_registry_.GetTestThread();
|
/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 224 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 225 fake_registry_.Start<FakeHciLayer>(&thread_); in SetUp() 236 fake_registry_.StopAll(); in TearDown() 244 fake_registry_.SynchronizeModuleHandler(&FakeHciLayer::Factory, std::chrono::milliseconds(20)); in synchronize() 247 TestModuleRegistry fake_registry_; member in bluetooth::security::channel::__anon855c6ade0111::SecurityManagerChannelTest 248 Thread& thread_ = fake_registry_.GetTestThread();
|