Lines Matching defs:status

69   tBTA_HH_STATUS status = BTA_HH_ERR;
84 status = BTA_HH_OK;
98 if (status == BTA_HH_OK) {
103 (*bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH*)&status);
155 tBTA_HH_STATUS status = BTA_HH_OK;
158 if (HID_HostDeregister() != HID_SUCCESS) status = BTA_HH_ERR;
160 bta_hh_cleanup_disable(status);
177 tBTA_HH_STATUS status = BTA_HH_ERR_SDP;
196 status = BTA_HH_OK;
216 status = BTA_HH_OK;
220 status = BTA_HH_ERR_TOD_UNSPT;
227 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA*)&status);
242 tBTA_HH_STATUS status = BTA_HH_ERR_SDP;
273 status = BTA_HH_OK;
282 if (status != BTA_HH_OK) {
285 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA*)&status);
303 tBTA_HH_STATUS status = BTA_HH_ERR_SDP;
319 status = BTA_HH_OK;
333 status = BTA_HH_ERR_NO_RES;
335 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA*)&status);
350 status);
352 status = BTA_HH_ERR_SDP;
355 status = BTA_HH_OK;
369 if (status != BTA_HH_OK)
370 bta_hh_sm_execute(p_cb, BTA_HH_SDP_CMPL_EVT, (tBTA_HH_DATA*)&status);
387 tBTA_HH_STATUS status = p_data->status;
390 APPL_TRACE_DEBUG("%s: status 0x%2X", __func__, p_data->status);
399 if (status == BTA_HH_OK) {
410 status = BTA_HH_OK;
424 status = BTA_HH_ERR;
432 if (status != BTA_HH_OK) {
438 if ((status == BTA_HH_ERR_SDP) && (p_cb->incoming_conn) &&
444 conn_dat.status = status;
474 tHID_STATUS status;
485 disc_dat.status = BTA_HH_ERR;
487 status = HID_HostCloseDev(disc_dat.handle);
489 if (status) (*bta_hh_cb.p_cback)(BTA_HH_CLOSE_EVT, (tBTA_HH*)&disc_dat);
521 conn.status = p_cb->status;
541 conn.status = BTA_HH_ERR_PROTO;
544 conn.status = BTA_HH_OK;
646 hs_data.status = bta_hh_get_trans_status(p_data->hid_cback.data);
647 if (hs_data.status == BTA_HH_OK) hs_data.status = BTA_HH_HS_TRANS_NOT_SPT;
658 cback_data.status = bta_hh_get_trans_status(p_data->hid_cback.data);
665 conn.status = p_data->hid_cback.data ? BTA_HH_ERR_PROTO : BTA_HH_OK;
704 hs_data.status = BTA_HH_OK;
768 conn_dat.status =
812 disc_dat.status = p_data->hid_cback.data;
824 conn_dat.status =
846 if (disc_dat.status) disc_dat.status = BTA_HH_ERR;
908 dev_info.status = BTA_HH_ERR;
919 dev_info.status = BTA_HH_OK;
926 dev_info.status = BTA_HH_OK;
952 dev_info.status = BTA_HH_OK;
972 dev_info.status = BTA_HH_OK;
1023 cbdata.status = BTA_HH_ERR;
1152 * status code