Lines Matching refs:status
70 tBTA_HH_STATUS status = BTA_HH_ERR; in bta_hh_api_enable() local
86 status = BTA_HH_OK; in bta_hh_api_enable()
101 if (status == BTA_HH_OK) in bta_hh_api_enable()
108 (* bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH *)&status); in bta_hh_api_enable()
165 tBTA_HH_STATUS status = BTA_HH_OK; in bta_hh_disc_cmpl() local
169 status = BTA_HH_ERR; in bta_hh_disc_cmpl()
173 UNUSED(status); in bta_hh_disc_cmpl()
175 bta_hh_cleanup_disable(status); in bta_hh_disc_cmpl()
193 tBTA_HH_STATUS status = BTA_HH_ERR_SDP; in bta_hh_sdp_cback() local
217 status = BTA_HH_OK; in bta_hh_sdp_cback()
244 status = BTA_HH_OK; in bta_hh_sdp_cback()
249 status = BTA_HH_ERR_TOD_UNSPT; in bta_hh_sdp_cback()
256 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA *)&status); in bta_hh_sdp_cback()
272 tBTA_HH_STATUS status = BTA_HH_ERR_SDP; in bta_hh_di_sdp_cback() local
304 status = BTA_HH_OK; in bta_hh_di_sdp_cback()
316 if (status != BTA_HH_OK) { in bta_hh_di_sdp_cback()
319 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA *)&status); in bta_hh_di_sdp_cback()
340 tBTA_HH_STATUS status = BTA_HH_ERR_SDP; in bta_hh_start_sdp() local
358 status = BTA_HH_OK; in bta_hh_start_sdp()
377 status = BTA_HH_ERR_NO_RES; in bta_hh_start_sdp()
379 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA *)&status); in bta_hh_start_sdp()
395 Status 0x%2X",status); in bta_hh_start_sdp()
397 status = BTA_HH_ERR_SDP; in bta_hh_start_sdp()
400 status = BTA_HH_OK; in bta_hh_start_sdp()
404 if (status != BTA_HH_OK) in bta_hh_start_sdp()
405 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA *)&status); in bta_hh_start_sdp()
424 tBTA_HH_STATUS status = p_data->status; in bta_hh_sdp_cmpl() local
427 APPL_TRACE_DEBUG ("bta_hh_sdp_cmpl: status 0x%2X",p_data->status); in bta_hh_sdp_cmpl()
436 if ( status == BTA_HH_OK) in bta_hh_sdp_cmpl()
450 status = BTA_HH_OK; in bta_hh_sdp_cmpl()
467 status = BTA_HH_ERR; in bta_hh_sdp_cmpl()
476 if (status != BTA_HH_OK) in bta_hh_sdp_cmpl()
482 if ((status == BTA_HH_ERR_SDP) && in bta_hh_sdp_cmpl()
489 conn_dat.status = status; in bta_hh_sdp_cmpl()
521 tHID_STATUS status; in bta_hh_api_disc_act() local
531 disc_dat.status = BTA_HH_ERR; in bta_hh_api_disc_act()
533 status = HID_HostCloseDev(disc_dat.handle); in bta_hh_api_disc_act()
535 if (status) in bta_hh_api_disc_act()
570 conn.status = p_cb->status; in bta_hh_open_cmpl_act()
593 conn.status = BTA_HH_ERR_PROTO; in bta_hh_open_cmpl_act()
598 conn.status = BTA_HH_OK; in bta_hh_open_cmpl_act()
708 if ((hs_data.status = bta_hh_get_trans_status(p_data->hid_cback.data)) == BTA_HH_OK) in bta_hh_handsk_act()
709 hs_data.status = BTA_HH_HS_TRANS_NOT_SPT; in bta_hh_handsk_act()
720 cback_data.status = bta_hh_get_trans_status(p_data->hid_cback.data); in bta_hh_handsk_act()
727 conn.status =p_data->hid_cback.data ? BTA_HH_ERR_PROTO: BTA_HH_OK; in bta_hh_handsk_act()
767 hs_data.status = BTA_HH_OK; in bta_hh_ctrl_dat_act()
831 conn_dat.status = (reason == HID_ERR_AUTH_FAILED) ? in bta_hh_open_failure()
877 disc_dat.status = p_data->hid_cback.data; in bta_hh_close_act()
886 conn_dat.status = (reason == HID_ERR_AUTH_FAILED) ? BTA_HH_ERR_AUTH_FAILED : BTA_HH_ERR; in bta_hh_close_act()
908 if (disc_dat.status) in bta_hh_close_act()
909 disc_dat.status = BTA_HH_ERR; in bta_hh_close_act()
978 dev_info.status = BTA_HH_ERR; in bta_hh_maint_dev_act()
992 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
1001 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
1033 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
1056 dev_info.status = BTA_HH_OK; in bta_hh_maint_dev_act()
1110 cbdata.status = BTA_HH_ERR; in bta_hh_write_dev_act()