Home
last modified time | relevance | path

Searched refs:GetCommand (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/
Dle_advertising_manager_test.cc300 ASSERT_EQ(adv_opcodes[i], test_hci_layer_->GetCommand().GetOpCode()); in SetUp()
368 auto packet = test_hci_layer_->GetCommand(); in SetUp()
426 auto packet = test_hci_layer_->GetCommand(); in SetUp()
494 ASSERT_EQ(adv_opcodes[i], test_hci_layer_->GetCommand().GetOpCode()); in SetUp()
558 ASSERT_EQ(adv_opcodes[i], test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
572 ASSERT_EQ(OpCode::LE_SET_ADVERTISING_ENABLE, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
614 auto packet = test_hci_layer_->GetCommand(); in TEST_F()
625 ASSERT_EQ(OpCode::LE_MULTI_ADVT, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
659 auto packet = test_hci_layer_->GetCommand(); in TEST_F()
712 ASSERT_EQ(adv_opcodes[i], test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
[all …]
Dle_address_manager_test.cc148 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
170 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
232 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in SetUp()
258 auto packet = hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
274 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
279 auto packet = hci_layer_->GetCommand(OpCode::LE_REMOVE_DEVICE_FROM_FILTER_ACCEPT_LIST); in TEST_F()
294 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
299 hci_layer_->GetCommand(OpCode::LE_CLEAR_FILTER_ACCEPT_LIST); in TEST_F()
315 auto packet = hci_layer_->GetCommand(OpCode::LE_SET_ADDRESS_RESOLUTION_ENABLE); in TEST_F()
323 auto packet = hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_RESOLVING_LIST); in TEST_F()
[all …]
Dle_scanning_manager_test.cc346 ASSERT_EQ(OpCode::LE_ADV_FILTER, test_hci_layer_->GetCommand().GetOpCode()); in SetUp()
374 ASSERT_EQ(OpCode::LE_SET_SCAN_PARAMETERS, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
377 ASSERT_EQ(OpCode::LE_SET_SCAN_ENABLE, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
391 ASSERT_EQ(OpCode::LE_SET_SCAN_PARAMETERS, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
394 ASSERT_EQ(OpCode::LE_SET_SCAN_ENABLE, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
421 ASSERT_EQ(OpCode::LE_SET_SCAN_PARAMETERS, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
424 ASSERT_EQ(OpCode::LE_SET_SCAN_ENABLE, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
466 LeScanningCommandView::Create(test_hci_layer_->GetCommand())); in TEST_F()
482 LeScanningCommandView::Create(test_hci_layer_->GetCommand())); in TEST_F()
495 ASSERT_EQ(OpCode::LE_EXTENDED_SCAN_PARAMS, test_hci_layer_->GetCommand().GetOpCode()); in TEST_F()
[all …]
Dremote_name_request_test.cc138 auto command = test_hci_layer_->GetCommand(); in TEST_F()
162 test_hci_layer_->GetCommand(); in TEST_F()
183 test_hci_layer_->GetCommand(); in TEST_F()
204 test_hci_layer_->GetCommand(); in TEST_F()
211 auto command = test_hci_layer_->GetCommand(); in TEST_F()
234 test_hci_layer_->GetCommand(); in TEST_F()
239 test_hci_layer_->GetCommand(); in TEST_F()
275 test_hci_layer_->GetCommand(); in TEST_F()
280 test_hci_layer_->GetCommand(); in TEST_F()
311 test_hci_layer_->GetCommand(); in TEST_F()
[all …]
Dle_periodic_sync_manager_test.cc89 CommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::__anon68a456930111::TestLeScanningInterface
241 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC); in TEST_F()
270 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC); in TEST_F()
312 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC); in TEST_F()
354 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC); in TEST_F()
382 packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_TERMINATE_SYNC); in TEST_F()
405 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC); in TEST_F()
417 …packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_CREATE_SYNC_CANCE… in TEST_F()
432 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_SYNC_TRANSFE… in TEST_F()
457 …auto packet = test_le_scanning_interface_->GetCommand(OpCode::LE_PERIODIC_ADVERTISING_SET_INFO_TRA… in TEST_F()
[all …]
Dacl_manager_unittest.cc211 auto command = test_hci_layer_->GetCommand(); in SetUp()
316 auto last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in SetUp()
407 test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in SetUp()
410 auto packet = test_hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in SetUp()
439 test_hci_layer_->GetCommand(OpCode::LE_REMOVE_DEVICE_FROM_FILTER_ACCEPT_LIST); in SetUp()
518 test_hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in SetUp()
545 auto command = test_hci_layer_->GetCommand(OpCode::REJECT_CONNECTION_REQUEST); in TEST_F()
560 auto command = test_hci_layer_->GetCommand(OpCode::ACCEPT_CONNECTION_REQUEST); in TEST_F()
571 auto command = test_hci_layer_->GetCommand(OpCode::ACCEPT_CONNECTION_REQUEST); in TEST_F()
619 auto command = test_hci_layer_->GetCommand(OpCode::ACCEPT_CONNECTION_REQUEST); in TEST_F()
[all …]
Dhci_layer_fake.cc87 CommandView HciLayerFake::GetCommand() { in GetCommand() function in bluetooth::hci::HciLayerFake
110 CommandView HciLayerFake::GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::HciLayerFake
111 auto next_command = GetCommand(); in GetCommand()
113 next_command = GetCommand(); in GetCommand()
Dcontroller_test.cc431 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
437 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
444 auto packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
453 packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
462 packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
472 auto packet = test_hci_layer_->GetCommand(OpCode::HOST_BUFFER_SIZE); in TEST_F()
486 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
Dhci_layer_fake.h44 CommandView GetCommand();
46 CommandView GetCommand(OpCode op_code);
Dacl_manager_test.cc221 auto base_command = test_hci_layer_->GetCommand(); in GetConnectionManagementCommand()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc318 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in set_random_device_address_policy()
508 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
511 hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in TEST_F()
546 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
549 hci_layer_->GetCommand(OpCode::LE_EXTENDED_CREATE_CONNECTION); in TEST_F()
588 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
591 hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in TEST_F()
625 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
628 hci_layer_->GetCommand(OpCode::LE_EXTENDED_CREATE_CONNECTION); in TEST_F()
871 CreateLeSecurityCommandView<LeSetAddressResolutionEnableView>(hci_layer_->GetCommand()); in TEST_F()
[all …]