Home
last modified time | relevance | path

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

/system/connectivity/wificond/net/
Dmlme_event.cpp53 if (packet->GetCommand() != NL80211_CMD_ASSOCIATE) { in InitFromPacket()
75 if (packet->GetCommand() != NL80211_CMD_CONNECT) { in InitFromPacket()
97 if (packet->GetCommand() != NL80211_CMD_ROAM) { in InitFromPacket()
112 if (packet->GetCommand() != NL80211_CMD_DISCONNECT) { in InitFromPacket()
126 if (packet->GetCommand() != NL80211_CMD_DISASSOCIATE) { in InitFromPacket()
Dnetlink_utils.cpp163 if (packet->GetCommand() != NL80211_CMD_NEW_WIPHY) { in GetWiphyIndex()
166 << static_cast<int>(packet->GetCommand()); in GetWiphyIndex()
212 if (packet->GetCommand() != NL80211_CMD_NEW_INTERFACE) { in GetInterfaces()
215 << static_cast<int>(packet->GetCommand()); in GetInterfaces()
357 if (packet.GetCommand() != NL80211_CMD_NEW_WIPHY) { in ParseWiphyInfoFromPacket()
359 << static_cast<int>(packet.GetCommand()); in ParseWiphyInfoFromPacket()
701 if (response->GetCommand() != NL80211_CMD_NEW_STATION) { in GetStationInfo()
703 << static_cast<int>(response->GetCommand()); in GetStationInfo()
Dnetlink_manager.cpp175 if (packet->GetCommand() != CTRL_CMD_NEWFAMILY) { in OnNewFamily()
492 uint32_t command = packet->GetCommand(); in BroadcastHandler()
610 uint32_t command = packet->GetCommand(); in OnMlmeEvent()
663 handler->second(if_index, packet->GetCommand() == NL80211_CMD_SCHED_SCAN_STOPPED); in OnSchedScanResultsReady()
673 if (packet->GetCommand() == NL80211_CMD_SCAN_ABORTED) { in OnScanResultsReady()
Dnl80211_packet.h76 uint8_t GetCommand() const;
Dnl80211_packet.cpp105 uint8_t NL80211Packet::GetCommand() const { in GetCommand() function in android::wificond::NL80211Packet
/system/bt/gd/hci/
Dle_advertising_manager_test.cc144 ConnectionManagementCommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::__anona3ab50390111::TestHciLayer
413 auto packet_view = test_hci_layer_->GetCommand(adv_opcodes[i]); in SetUp()
474 auto packet = test_hci_layer_->GetCommand(OpCode::LE_MULTI_ADVT); in SetUp()
534 auto packet_view = test_hci_layer_->GetCommand(adv_opcodes[i]); in SetUp()
590 auto packet_view = test_hci_layer_->GetCommand(adv_opcodes[i]); in TEST_F()
606 test_hci_layer_->GetCommand(OpCode::LE_SET_ADVERTISING_ENABLE); in TEST_F()
635 auto packet = test_hci_layer_->GetCommand(OpCode::LE_MULTI_ADVT); in TEST_F()
648 test_hci_layer_->GetCommand(OpCode::LE_MULTI_ADVT); in TEST_F()
685 auto packet_view = test_hci_layer_->GetCommand(adv_opcodes[i]); in TEST_F()
701 test_hci_layer_->GetCommand(OpCode::LE_SET_EXTENDED_ADVERTISING_ENABLE); in TEST_F()
[all …]
Dle_address_manager_test.cc73 CommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::TestHciLayer
225 test_hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
247 test_hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
308 test_hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in SetUp()
334 auto packet = test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_CONNECT_LIST); in TEST_F()
350 test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_CONNECT_LIST); in TEST_F()
355 auto packet = test_hci_layer_->GetCommand(OpCode::LE_REMOVE_DEVICE_FROM_CONNECT_LIST); in TEST_F()
370 test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_CONNECT_LIST); in TEST_F()
375 test_hci_layer_->GetCommand(OpCode::LE_CLEAR_CONNECT_LIST); in TEST_F()
388 auto packet = test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_RESOLVING_LIST); in TEST_F()
[all …]
Dacl_manager_test.cc160 ConnectionManagementCommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::acl_manager::__anona7edb2590111::TestHciLayer
341 … LeAdvertisingCommandView::Create(test_hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS))); in SetUp()
454 auto last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in SetUp()
456 last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in SetUp()
556 auto last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in TEST_F()
558 last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in TEST_F()
580 auto last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in TEST_F()
582 last_command = test_hci_layer_->GetCommand(OpCode::CREATE_CONNECTION); in TEST_F()
601 test_hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_CONNECT_LIST); in SetUp()
604 auto packet = test_hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in SetUp()
[all …]
Dcontroller_test.cc232 CommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::__anond77651530111::TestHciLayer
328 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
334 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
341 auto packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
350 packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
359 packet = test_hci_layer_->GetCommand(OpCode::SET_EVENT_FILTER); in TEST_F()
369 auto packet = test_hci_layer_->GetCommand(OpCode::HOST_BUFFER_SIZE); in TEST_F()
383 auto packet = test_hci_layer_->GetCommand(OpCode::RESET); in TEST_F()
Dle_scanning_manager_test.cc109 ConnectionManagementCommandView GetCommand(OpCode op_code) { in GetCommand() function in bluetooth::hci::__anon6531fa6a0111::TestHciLayer
262 auto packet = test_hci_layer_->GetCommand(enable_opcode_); in SetUp()
276 auto packet = test_hci_layer_->GetCommand(OpCode::LE_SET_SCAN_PARAMETERS); in HandleConfiguration()
355 auto packet = test_hci_layer_->GetCommand(OpCode::LE_EXTENDED_SCAN_PARAMS); in HandleConfiguration()
369 auto packet = test_hci_layer_->GetCommand(OpCode::LE_SET_EXTENDED_SCAN_PARAMETERS); in HandleConfiguration()
515 test_hci_layer_->GetCommand(OpCode::LE_SET_EXTENDED_SCAN_ENABLE); in TEST_F()
520 test_hci_layer_->GetCommand(OpCode::LE_SET_EXTENDED_SCAN_PARAMETERS); in TEST_F()
525 test_hci_layer_->GetCommand(OpCode::LE_SET_EXTENDED_SCAN_ENABLE); in TEST_F()
/system/connectivity/wificond/tests/
Dnl80211_packet_unittest.cpp105 EXPECT_EQ(kGenNLCommand, netlink_packet.GetCommand()); in TEST()
222 EXPECT_EQ(NL80211_CMD_ASSOCIATE, netlink_packet.GetCommand()); in TEST()
240 EXPECT_EQ(NL80211_CMD_NOTIFY_CQM, netlink_packet.GetCommand()); in TEST()
264 EXPECT_EQ(NL80211_CMD_NEW_STATION, netlink_packet.GetCommand()); in TEST()
Dscan_utils_unittest.cpp115 return arg.GetCommand() == command;
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc102 CommandView command_view = CommandView::GetCommand(received_view); in ValidatePacket()
192 client_opcodes_[pair_id] = CommandView::GetCommand(view).GetOpcode(); in SendFromClient()
199 server_opcodes_[pair_id] = CommandView::GetCommand(view).GetOpcode(); in SendFromServer()
/system/connectivity/wificond/scanning/
Dscan_utils.cpp134 if (packet->GetCommand() != NL80211_CMD_NEW_SCAN_RESULTS) { in ParseScanResult()