Lines Matching refs:opcode
470 static void btu_hcif_log_command_metrics(uint16_t opcode, uint8_t* p_cmd, in btu_hcif_log_command_metrics() argument
485 switch (opcode) { in btu_hcif_log_command_metrics()
492 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
500 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
508 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
518 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
528 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
564 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
594 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
606 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
615 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
640 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
645 …on::LogClassicPairingEvent(RawAddress::kEmpty, bluetooth::common::kUnknownConnectionHandle, opcode, in btu_hcif_log_command_metrics()
651 …on::LogClassicPairingEvent(RawAddress::kEmpty, bluetooth::common::kUnknownConnectionHandle, opcode, in btu_hcif_log_command_metrics()
659 …on::LogClassicPairingEvent(RawAddress::kEmpty, bluetooth::common::kUnknownConnectionHandle, opcode, in btu_hcif_log_command_metrics()
666 …bluetooth::common::LogClassicPairingEvent(RawAddress::kEmpty, handle, opcode, hci_event, cmd_statu… in btu_hcif_log_command_metrics()
673 …bluetooth::common::LogClassicPairingEvent(RawAddress::kEmpty, handle, opcode, hci_event, cmd_statu… in btu_hcif_log_command_metrics()
681 …on::LogClassicPairingEvent(bd_addr, bluetooth::common::kUnknownConnectionHandle, opcode, hci_event, in btu_hcif_log_command_metrics()
697 …on::LogClassicPairingEvent(bd_addr, bluetooth::common::kUnknownConnectionHandle, opcode, hci_event, in btu_hcif_log_command_metrics()
703 …on::LogClassicPairingEvent(bd_addr, bluetooth::common::kUnknownConnectionHandle, opcode, hci_event, in btu_hcif_log_command_metrics()
722 uint16_t opcode; in btu_hcif_send_cmd() local
726 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd()
730 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC || in btu_hcif_send_cmd()
731 (opcode == HCI_BLE_RAND) || (opcode == HCI_BLE_ENCRYPT)) { in btu_hcif_send_cmd()
737 btu_hcif_log_command_metrics(opcode, stream, in btu_hcif_send_cmd()
769 static void btu_hcif_log_command_complete_metrics(uint16_t opcode, in btu_hcif_log_command_complete_metrics() argument
776 switch (opcode) { in btu_hcif_log_command_complete_metrics()
784 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, hci_ble_event, in btu_hcif_log_command_complete_metrics()
793 …on::LogClassicPairingEvent(RawAddress::kEmpty, bluetooth::common::kUnknownConnectionHandle, opcode, in btu_hcif_log_command_complete_metrics()
802 …bluetooth::common::LogClassicPairingEvent(RawAddress::kEmpty, handle, opcode, hci_event, status, r… in btu_hcif_log_command_complete_metrics()
818 …on::LogClassicPairingEvent(bd_addr, bluetooth::common::kUnknownConnectionHandle, opcode, hci_event, in btu_hcif_log_command_complete_metrics()
826 command_opcode_t opcode; in btu_hcif_command_complete_evt_with_cb_on_task() local
830 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt_with_cb_on_task()
832 btu_hcif_log_command_complete_metrics(opcode, stream); in btu_hcif_command_complete_evt_with_cb_on_task()
857 command_opcode_t opcode; in btu_hcif_command_status_evt_with_cb_on_task() local
859 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_status_evt_with_cb_on_task()
865 btu_hcif_log_command_metrics(opcode, stream + 1, status, true); in btu_hcif_command_status_evt_with_cb_on_task()
894 void btu_hcif_send_cmd_with_cb(const Location& posted_from, uint16_t opcode, in btu_hcif_send_cmd_with_cb() argument
903 UINT16_TO_STREAM(pp, opcode); in btu_hcif_send_cmd_with_cb()
909 btu_hcif_log_command_metrics(opcode, pp, in btu_hcif_send_cmd_with_cb()
1342 static void btu_hcif_hdl_command_complete(uint16_t opcode, uint8_t* p, in btu_hcif_hdl_command_complete() argument
1345 switch (opcode) { in btu_hcif_hdl_command_complete()
1397 btm_ble_rand_enc_complete(p, opcode, (tBTM_RAND_ENC_CB*)p_cplt_cback); in btu_hcif_hdl_command_complete()
1447 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC) in btu_hcif_hdl_command_complete()
1448 btm_vsc_complete(p, opcode, evt_len, (tBTM_VSC_CMPL_CB*)p_cplt_cback); in btu_hcif_hdl_command_complete()
1464 command_opcode_t opcode; in btu_hcif_command_complete_evt_on_task() local
1468 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt_on_task()
1470 btu_hcif_log_command_complete_metrics(opcode, stream); in btu_hcif_command_complete_evt_on_task()
1474 btu_hcif_hdl_command_complete(opcode, stream, param_len, context); in btu_hcif_command_complete_evt_on_task()
1493 static void btu_hcif_hdl_command_status(uint16_t opcode, uint8_t status, in btu_hcif_hdl_command_status() argument
1496 CHECK_NE(p_cmd, nullptr) << "Null command for opcode 0x" << loghex(opcode); in btu_hcif_hdl_command_status()
1502 switch (opcode) { in btu_hcif_hdl_command_status()
1604 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC) { in btu_hcif_hdl_command_status()
1605 btm_vsc_complete(&status, opcode, 1, in btu_hcif_hdl_command_status()
1622 command_opcode_t opcode; in btu_hcif_command_status_evt_on_task() local
1624 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_status_evt_on_task()
1628 btu_hcif_log_command_metrics(opcode, stream + 1, status, true); in btu_hcif_command_status_evt_on_task()
1630 btu_hcif_hdl_command_status(opcode, status, stream, context); in btu_hcif_command_status_evt_on_task()