Lines Matching refs:gTestModel
118 std::shared_ptr<SimTestModel> gTestModel; variable
139 gTestChannel = std::make_unique<rootcanal::TestCommandHandler>(*gTestModel); in SetUpTestChannel()
219 gTestModel = std::make_unique<SimTestModel>( in Start()
237 gTestModel->SetReuseDeviceAddresses(!config.disable_address_reuse()); in Start()
241 phy_classic_index_ = gTestModel->AddPhy(rootcanal::Phy::Type::BR_EDR); in Start()
242 phy_low_energy_index_ = gTestModel->AddPhy(rootcanal::Phy::Type::LOW_ENERGY); in Start()
246 auto testCommands = rootcanal::TestCommandHandler(*gTestModel); in Start()
265 gTestModel->AddDeviceToPhy(rootcanal_id, phy_index); in AddDeviceToPhy()
270 gTestModel->RemoveDeviceFromPhy(rootcanal_id, phy_index); in RemoveDeviceFromPhy()
395 gTestModel->AddHciConnection(hci_device, address_option)); in Add()
414 gTestModel->RemoveDevice(rootcanal_id); in RemoveRustDevice()
426 auto rootcanal_id = gTestModel->AddDevice(rust_device); in AddRustDevice()
427 gTestModel->AddDeviceToPhy(rootcanal_id, phy_low_energy_index_); in AddRustDevice()
443 gTestModel->SetDeviceAddress(rootcanal_id, rootcanal::Address(addr)); in SetRustDeviceAddress()