Searched refs:test_hci_layer_ (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_scanning_manager_test.cc | 291 test_hci_layer_ = new HciLayerFake; // Ownership is transferred to registry in SetUp() 294 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 324 HciLayerFake* test_hci_layer_ = nullptr; member in bluetooth::hci::__anon08defe190211::LeScanningManagerTest 346 ASSERT_EQ(OpCode::LE_ADV_FILTER, test_hci_layer_->GetCommand().GetOpCode()); in SetUp() 347 test_hci_layer_->IncomingEvent( in SetUp() 374 ASSERT_EQ(OpCode::LE_SET_SCAN_PARAMETERS, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F() 375 test_hci_layer_->IncomingEvent( in TEST_F() 377 ASSERT_EQ(OpCode::LE_SET_SCAN_ENABLE, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F() 378 test_hci_layer_->IncomingEvent( in TEST_F() 384 test_hci_layer_->IncomingLeMetaEvent(LeAdvertisingReportBuilder::Create({report})); in TEST_F() [all …]
|
D | le_advertising_manager_test.cc | 191 test_hci_layer_ = new HciLayerFake; // Ownership is transferred to registry in SetUp() 195 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 214 HciLayerFake* test_hci_layer_ = nullptr; member in bluetooth::hci::__anon463d69880111::LeAdvertisingManagerTest 300 ASSERT_EQ(adv_opcodes[i], test_hci_layer_->GetCommand().GetOpCode()); in SetUp() 302 test_hci_layer_->IncomingEvent( in SetUp() 305 test_hci_layer_->IncomingEvent( in SetUp() 368 auto packet = test_hci_layer_->GetCommand(); in SetUp() 372 …test_hci_layer_->IncomingEvent(LeMultiAdvtCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, … in SetUp() 426 auto packet = test_hci_layer_->GetCommand(); in SetUp() 430 …test_hci_layer_->IncomingEvent(LeMultiAdvtCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, … in SetUp() [all …]
|
D | remote_name_request_test.cc | 67 test_hci_layer_ = new HciLayerFake; in SetUp() 68 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 122 HciLayerFake* test_hci_layer_ = nullptr; member in bluetooth::hci::__anon5c9f02720111::RemoteNameRequestModuleTest 138 auto command = test_hci_layer_->GetCommand(); in TEST_F() 162 test_hci_layer_->GetCommand(); in TEST_F() 163 test_hci_layer_->IncomingEvent( in TEST_F() 183 test_hci_layer_->GetCommand(); in TEST_F() 184 test_hci_layer_->IncomingEvent(RemoteNameRequestStatusBuilder::Create(ErrorCode::SUCCESS, 1)); in TEST_F() 204 test_hci_layer_->GetCommand(); in TEST_F() 205 test_hci_layer_->IncomingEvent(RemoteNameRequestStatusBuilder::Create(ErrorCode::SUCCESS, 1)); in TEST_F() [all …]
|
D | acl_manager_test.cc | 114 test_hci_layer_ = new HciLayerFake; // Ownership is transferred to registry in SetUp() 122 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 147 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in SetUp() 176 HciLayerFake* test_hci_layer_ = nullptr; member in bluetooth::hci::acl_manager::AclManagerNoCallbacksTest 221 auto base_command = test_hci_layer_->GetCommand(); in GetConnectionManagementCommand() 264 test_hci_layer_->IncomingEvent( in SetUp() 305 test_hci_layer_->IncomingEvent(ConnectionCompleteBuilder::Create( in TEST_F() 345 test_hci_layer_->IncomingEvent(ConnectionCompleteBuilder::Create( in TEST_F() 364 …test_hci_layer_->IncomingEvent(LeAddDeviceToFilterAcceptListCompleteBuilder::Create(0x01, ErrorCod… in SetUp() 378 … test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in SetUp() [all …]
|
D | acl_manager_unittest.cc | 164 test_hci_layer_ = new HciLayerFake; // Ownership is transferred to registry in SetUp() 166 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 186 HciLayerFake* test_hci_layer_ = nullptr; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerBaseTest 211 auto command = test_hci_layer_->GetCommand(); in SetUp() 316 auto last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in SetUp() 321 test_hci_layer_->IncomingEvent(ConnectionCompleteBuilder::Create( in SetUp() 407 test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in SetUp() 408 test_hci_layer_->IncomingEvent( in SetUp() 410 auto packet = test_hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in SetUp() 423 test_hci_layer_->IncomingEvent( in SetUp() [all …]
|
D | controller_test.cc | 288 test_hci_layer_ = new HciLayerFakeForController; in SetUp() 289 test_hci_layer_->vendor_capabilities_ = std::move(vendor_capabilities_); in SetUp() 291 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp() 302 HciLayerFakeForController* test_hci_layer_ = nullptr; member in bluetooth::hci::__anonf340bc220211::ControllerTest 397 ASSERT_EQ(controller_->GetAclPacketLength(), test_hci_layer_->acl_data_packet_length); in TEST_F() 398 ASSERT_EQ(controller_->GetNumAclPacketBuffers(), test_hci_layer_->total_num_acl_data_packets); in TEST_F() 399 ASSERT_EQ(controller_->GetScoPacketLength(), test_hci_layer_->synchronous_data_packet_length); in TEST_F() 400 …ASSERT_EQ(controller_->GetNumScoPacketBuffers(), test_hci_layer_->total_num_synchronous_data_packe… in TEST_F() 427 uint64_t new_event_mask = test_hci_layer_->event_mask - 1; in TEST_F() 431 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F() [all …]
|