Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/stack/avdt/
Davdt_ccb_act.cc216 p_data->msg.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_ccb_hdl_getcap_cmd()
263 uint8_t err_code = 0; in avdt_ccb_hdl_start_cmd() local
268 p_data->msg.multi.num_seps, &err_code); in avdt_ccb_hdl_start_cmd()
269 if (seid == 0 && err_code == 0) { in avdt_ccb_hdl_start_cmd()
274 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_start_cmd()
300 event = (p_data->msg.hdr.err_code == 0) ? AVDT_SCB_MSG_START_RSP_EVT in avdt_ccb_hdl_start_rsp()
331 uint8_t err_code = 0; in avdt_ccb_hdl_suspend_cmd() local
336 p_data->msg.multi.num_seps, &err_code)) == 0 && in avdt_ccb_hdl_suspend_cmd()
337 err_code == 0) { in avdt_ccb_hdl_suspend_cmd()
342 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_suspend_cmd()
[all …]
Davdt_scb_act.cc133 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp()
465 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_reconfig_cmd()
490 if (p_data->msg.hdr.err_code == 0) { in avdt_scb_hdl_reconfig_rsp()
526 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_security_cmd()
600 p_data->msg.hdr.err_code = AVDT_ERR_UNSUP_CFG; in avdt_scb_hdl_setconfig_cmd()
792 avdt_ctrl.hdr.err_code = p_scb->close_code; in avdt_scb_hdl_tc_close()
895 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_close_sto()
930 p_data->open.hdr.err_code = 0; in avdt_scb_hdl_tc_open()
965 if (p_data->open.hdr.err_code == AVDT_CHAN_REPORT) { in avdt_scb_hdl_tc_open_sto()
966 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_open_sto()
[all …]
Davdt_api.cc51 uint8_t err_code = AVDT_ERR_TIMEOUT; in avdt_ccb_idle_ccb_timer_timeout() local
54 avdt_ccb_evt.err_code = err_code; in avdt_ccb_idle_ccb_timer_timeout()
61 uint8_t err_code = AVDT_ERR_TIMEOUT; in avdt_ccb_ret_ccb_timer_timeout() local
64 avdt_ccb_evt.err_code = err_code; in avdt_ccb_ret_ccb_timer_timeout()
71 uint8_t err_code = AVDT_ERR_TIMEOUT; in avdt_ccb_rsp_ccb_timer_timeout() local
74 avdt_ccb_evt.err_code = err_code; in avdt_ccb_rsp_ccb_timer_timeout()
527 evt.msg.hdr.err_code = error_code; in AVDT_ConfigRsp()
808 evt.msg.security_rsp.hdr.err_code = error_code; in AVDT_SecurityRsp()
Davdt_msg.cc1005 p_msg->hdr.err_code = *p; in avdt_msg_prs_rej()
1451 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej()
1563 msg.hdr.err_code = AVDT_ERR_NSC; in avdt_msg_ind()
1610 msg.hdr.err_code = err = in avdt_msg_ind()
1614 msg.hdr.err_code = err = in avdt_msg_ind()
Davdt_ad.cc388 open.hdr.err_code = avdt_ad_tcid_to_type(p_tbl->tcid); in avdt_ad_tc_open_ind()
Davdt_int.h378 uint8_t err_code; member
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_ci.cc70 void bta_av_ci_setconfig(tBTA_AV_HNDL bta_av_handle, uint8_t err_code, in bta_av_ci_setconfig() argument
76 bta_av_handle, err_code, category, num_seid, recfg_needed, avdt_handle); in bta_av_ci_setconfig()
82 p_buf->hdr.event = (err_code == A2DP_SUCCESS) ? BTA_AV_CI_SETCONFIG_OK_EVT in bta_av_ci_setconfig()
84 p_buf->err_code = err_code; in bta_av_ci_setconfig()
Dbta_av_aact.cc368 } else if (event == AVDT_SECURITY_CFM_EVT && p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt()
403 if (p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt()
410 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt()
422 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt()
426 if ((p_data == NULL) || (p_data->hdr.err_code == 0)) { in bta_av_proc_stream_evt()
960 setconfig.err_code = AVDT_ERR_UNSUP_CFG; in bta_av_config_ind()
1105 (p_data->ci_setconfig.err_code == AVDT_SUCCESS) && in bta_av_setconfig_rsp()
1115 p_data->ci_setconfig.err_code, p_data->ci_setconfig.category); in bta_av_setconfig_rsp()
1119 if (p_data->ci_setconfig.err_code == AVDT_SUCCESS) { in bta_av_setconfig_rsp()
1344 .err_code = p_data->str_msg.msg.hdr.err_code, in bta_av_security_cfm()
[all …]
Dbta_av_int.h360 uint8_t err_code; member
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_ldac_encoder.cc311 int err_code = ldacBT_get_error_code(a2dp_ldac_encoder_cb.ldac_handle); in a2dp_vendor_ldac_encoder_update() local
315 result, LDACBT_API_ERR(err_code), LDACBT_HANDLE_ERR(err_code), in a2dp_vendor_ldac_encoder_update()
316 LDACBT_BLOCK_ERR(err_code), err_code); in a2dp_vendor_ldac_encoder_update()
480 int err_code = in a2dp_ldac_encode_frames() local
485 result, LDACBT_API_ERR(err_code), LDACBT_HANDLE_ERR(err_code), in a2dp_ldac_encode_frames()
486 LDACBT_BLOCK_ERR(err_code), err_code); in a2dp_ldac_encode_frames()
/packages/modules/Bluetooth/system/stack/test/
Dstack_avdtp_test.cc112 uint8_t err_code = 0; in TEST_F() local
117 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
144 uint8_t err_code = 0; in TEST_F() local
146 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
163 uint8_t err_code = 0; in TEST_F() local
165 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
/packages/modules/Bluetooth/system/bta/include/
Dbta_av_ci.h60 void bta_av_ci_setconfig(tBTA_AV_HNDL bta_av_handle, uint8_t err_code,
Dbta_av_api.h234 tBTA_AV_ERR err_code; member
/packages/modules/Bluetooth/system/stack/include/
Davdtc_api.h236 uint8_t label, uint8_t err_code, uint8_t err_param);
Davdt_api.h389 err_code; /* Zero if operation succeeded; nonzero if operation failed */ member
Dhcimsgs.h150 uint8_t err_code);
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_hcic_hcicmds.h191 std::function<void(const RawAddress& bd_addr, uint8_t err_code)> body{
193 void operator()(const RawAddress& bd_addr, uint8_t err_code) { in operator()
194 body(bd_addr, err_code); in operator()
Dmock_stack_hcic_hcicmds.cc171 uint8_t err_code) { in btsnd_hcic_io_cap_req_neg_reply() argument
174 err_code); in btsnd_hcic_io_cap_req_neg_reply()
/packages/modules/Bluetooth/system/stack/avct/
Davct_int.h128 uint8_t err_code; member
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.cc2599 uint8_t err_code = 0; in btm_io_capabilities_req() local
2624 err_code = HCI_ERR_HOST_BUSY_PAIRING; in btm_io_capabilities_req()
2630 err_code = HCI_ERR_HOST_BUSY_PAIRING; in btm_io_capabilities_req()
2639 err_code = HCI_ERR_PAIRING_NOT_ALLOWED; in btm_io_capabilities_req()
2649 err_code = HCI_ERR_PAIRING_NOT_ALLOWED; in btm_io_capabilities_req()
2653 if (err_code != 0) { in btm_io_capabilities_req()
2654 btsnd_hcic_io_cap_req_neg_reply(evt_data.bd_addr, err_code); in btm_io_capabilities_req()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc901 tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint16_t cid, uint8_t err_code, in gatt_send_error_rsp() argument
908 msg.error.reason = err_code; in gatt_send_error_rsp()
Dgatt_int.h541 tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint16_t cid, uint8_t err_code,
/packages/modules/Bluetooth/system/stack/hcic/
Dhcicmds.cc1339 uint8_t err_code) { in btsnd_hcic_io_cap_req_neg_reply() argument
1350 UINT8_TO_STREAM(pp, err_code); in btsnd_hcic_io_cap_req_neg_reply()