/packages/modules/Bluetooth/system/gd/hci/ |
D | acl_manager_unittest.cc | 166 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 167 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 168 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 170 fake_registry_.Start<AclManager>(&thread_); in SetUp() 174 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown() 175 fake_registry_.StopAll(); in TearDown() 189 TestModuleRegistry fake_registry_; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerBaseTest 190 os::Thread& thread_ = fake_registry_.GetTestThread(); 200 … acl_manager_ = static_cast<AclManager*>(fake_registry_.GetModuleUnderTest(&AclManager::Factory)); in SetUp() 251 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown() [all …]
|
D | hci_layer_unittest.cc | 82 fake_registry_.InjectTestModule(&hal::HciHal::Factory, hal_); in SetUp() 83 fake_registry_.Start<HciLayer>(&fake_registry_.GetTestThread()); in SetUp() 84 hci_ = static_cast<HciLayer*>(fake_registry_.GetModuleUnderTest(&HciLayer::Factory)); in SetUp() 85 hci_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 86 ASSERT_TRUE(fake_registry_.IsStarted<HciLayer>()); in SetUp() 93 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown() 94 fake_registry_.StopAll(); in TearDown() 115 fake_registry_.GetTestThread().GetReactor()->WaitForIdle(2s), in sync_handler() 122 TestModuleRegistry fake_registry_; member in bluetooth::hci::HciLayerTest
|
D | acl_manager_test.cc | 122 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 123 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 124 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 126 fake_registry_.Start<AclManager>(&thread_); in SetUp() 127 … acl_manager_ = static_cast<AclManager*>(fake_registry_.GetModuleUnderTest(&AclManager::Factory)); in SetUp() 165 fake_registry_.SynchronizeModuleHandler(&AclManager::Factory, std::chrono::milliseconds(20)); in TearDown() 166 fake_registry_.StopAll(); in TearDown() 175 TestModuleRegistry fake_registry_; member in bluetooth::hci::acl_manager::AclManagerNoCallbacksTest 178 os::Thread& thread_ = fake_registry_.GetTestThread(); 281 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown() [all …]
|
D | le_scanning_manager_test.cc | 294 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 295 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 296 fake_registry_.InjectTestModule(&AclManager::Factory, test_acl_manager_); in SetUp() 297 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 303 if (fake_registry_.IsStarted<LeScanningManager>()) { in TearDown() 304 …fake_registry_.SynchronizeModuleHandler(&LeScanningManager::Factory, std::chrono::milliseconds(20)… in TearDown() 306 fake_registry_.StopAll(); in TearDown() 310 fake_registry_.Start<LeScanningManager>(&thread_); in start_le_scanning_manager() 312 … static_cast<LeScanningManager*>(fake_registry_.GetModuleUnderTest(&LeScanningManager::Factory)); in start_le_scanning_manager() 323 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anon08defe190211::LeScanningManagerTest [all …]
|
D | remote_name_request_test.cc | 68 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 70 fake_registry_.Start<RemoteNameRequestModule>(&thread_); in SetUp() 71 ASSERT_TRUE(fake_registry_.IsStarted<RemoteNameRequestModule>()); in SetUp() 73 client_handler_ = fake_registry_.GetTestModuleHandler(&RemoteNameRequestModule::Factory); in SetUp() 77 fake_registry_.GetModuleUnderTest(&RemoteNameRequestModule::Factory)); in SetUp() 83 fake_registry_.SynchronizeModuleHandler(&RemoteNameRequestModule::Factory, timeout); in TearDown() 84 fake_registry_.StopAll(); in TearDown() 120 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anon5c9f02720111::RemoteNameRequestModuleTest 121 os::Thread& thread_ = fake_registry_.GetTestThread();
|
D | controller_test.cc | 291 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 292 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 293 fake_registry_.Start<Controller>(&thread_); in SetUp() 294 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp() 298 fake_registry_.StopAll(); in TearDown() 301 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anonf340bc220211::ControllerTest 303 os::Thread& thread_ = fake_registry_.GetTestThread(); 647 ModuleDumper dumper(STDOUT_FILENO, fake_registry_, title); in TEST_F()
|
D | hci_layer_test.cc | 223 fake_registry_.InjectTestModule(&hal::HciHal::Factory, hal); in SetUp() 224 fake_registry_.Start<DependsOnHci>(&fake_registry_.GetTestThread()); in SetUp() 225 hci = static_cast<HciLayer*>(fake_registry_.GetModuleUnderTest(&HciLayer::Factory)); in SetUp() 226 upper = static_cast<DependsOnHci*>(fake_registry_.GetModuleUnderTest(&DependsOnHci::Factory)); in SetUp() 227 ASSERT_TRUE(fake_registry_.IsStarted<HciLayer>()); in SetUp() 242 fake_registry_.StopAll(); in TearDown() 256 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anon1d19b7ae0211::HciTest
|
D | le_advertising_manager_test.cc | 195 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 196 fake_registry_.InjectTestModule(&Controller::Factory, test_controller_); in SetUp() 197 fake_registry_.InjectTestModule(&AclManager::Factory, test_acl_manager_); in SetUp() 198 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp() 203 le_advertising_manager_ = fake_registry_.Start<LeAdvertisingManager>(&thread_); in SetUp() 209 …fake_registry_.SynchronizeModuleHandler(&LeAdvertisingManager::Factory, std::chrono::milliseconds(… in TearDown() 210 fake_registry_.StopAll(); in TearDown() 213 TestModuleRegistry fake_registry_; member in bluetooth::hci::__anon463d69880111::LeAdvertisingManagerTest 217 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/ |
D | shim_l2cap.h | 60 …hci::fuzz::FuzzHciLayer* fuzzHci = fake_registry_.Inject<hci::fuzz::FuzzHciLayer>(&hci::HciLayer::… in ShimL2capFuzz() 62 …fake_registry_.InjectTestModule(&l2cap::classic::L2capClassicModule::Factory, fuzz_l2cap_classic_m… in ShimL2capFuzz() 63 fake_registry_.Start<l2cap::classic::L2capClassicModule>(); in ShimL2capFuzz() 67 acl_manager_ = fake_registry_.Start<hci::AclManager>(); in ShimL2capFuzz() 86 fake_registry_.WaitForIdleAndStopAll(); in stopRegistry() 101 FuzzTestModuleRegistry fake_registry_; 102 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/shim/ |
D | dumpsys_test.cc | 74 fake_registry_.InjectTestModule(&shim::Dumpsys::Factory, dumpsys_module_); in SetUp() 78 fake_registry_.StopAll(); in TearDown() 97 TestModuleRegistry fake_registry_; member in testing::DumpsysTest 98 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | acl_scheduler_test.cc | 50 fake_registry_.Start<AclScheduler>(&thread_); in SetUp() 51 ASSERT_TRUE(fake_registry_.IsStarted<AclScheduler>()); in SetUp() 53 client_handler_ = fake_registry_.GetTestModuleHandler(&AclScheduler::Factory); in SetUp() 56 …acl_scheduler_ = static_cast<AclScheduler*>(fake_registry_.GetModuleUnderTest(&AclScheduler::Facto… in SetUp() 62 fake_registry_.SynchronizeModuleHandler(&AclScheduler::Factory, timeout); in TearDown() 63 fake_registry_.StopAll(); in TearDown() 92 TestModuleRegistry fake_registry_; member in bluetooth::hci::acl_manager::__anonb7f5d2650111::AclSchedulerTest 93 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record_storage_test.cc | 40 fake_registry_.InjectTestModule(&StorageModule::Factory, storage_module_); in SetUp() 48 fake_registry_.StopAll(); in TearDown() 53 fake_registry_.SynchronizeModuleHandler(&StorageModule::Factory, std::chrono::milliseconds(20)); in synchronize() 56 TestModuleRegistry fake_registry_; member in bluetooth::security::record::__anon66323d7a0111::DISABLED_SecurityRecordStorageTest 57 os::Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_android_test.cc | 85 hal = fake_registry_.Start<HciHal>(thread_); in SetUp() 89 fake_registry_.StopAll(); in TearDown() 96 ModuleRegistry fake_registry_; member in bluetooth::hal::__anonfb010b670311::HciHalAndroidTest
|
D | hci_hal_host_test.cc | 150 hal_ = fake_registry_.Start<HciHal>(thread_); in SetUp() 159 fake_registry_.StopAll(); in TearDown() 173 ModuleRegistry fake_registry_; member in bluetooth::hal::__anon175626240111::HciHalRootcanalTest
|
/packages/modules/Bluetooth/system/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 161 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 162 fake_registry_.InjectTestModule(&neighbor::NameDbModule::Factory, name_db_module_); in SetUp() 163 handler_ = fake_registry_.GetTestModuleHandler(&FakeHciLayer::Factory); in SetUp() 186 fake_registry_.StopAll(); in TearDown() 195 fake_registry_.SynchronizeModuleHandler(&FakeHciLayer::Factory, std::chrono::milliseconds(20)); in synchronize() 196 …fake_registry_.SynchronizeModuleHandler(&FakeNameDbModule::Factory, std::chrono::milliseconds(20)); in synchronize() 237 TestModuleRegistry fake_registry_; member in bluetooth::security::pairing::__anonba444ac30111::ClassicPairingHandlerTest 238 Thread& thread_ = fake_registry_.GetTestThread();
|
/packages/modules/Bluetooth/system/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 228 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 229 fake_registry_.Start<FakeHciLayer>(&thread_); in SetUp() 240 fake_registry_.StopAll(); in TearDown() 248 fake_registry_.SynchronizeModuleHandler(&FakeHciLayer::Factory, std::chrono::milliseconds(20)); in synchronize() 251 TestModuleRegistry fake_registry_; member in bluetooth::security::channel::__anonef73f6740111::SecurityManagerChannelTest 252 Thread& thread_ = fake_registry_.GetTestThread();
|