Lines Matching refs:cbindex

1429             const int cbindex = CLNT_IF_IDX;  in btgattc_handle_event()  local
1430 if (cbindex >= 0 && btif_gattc_copy_datacb(cbindex, p_adv_data, false)) in btgattc_handle_event()
1435 BTA_DmBleSetAdvConfig(p_multi_adv_data_cb->inst_cb[cbindex].mask, in btgattc_handle_event()
1436 &p_multi_adv_data_cb->inst_cb[cbindex].data, bta_gattc_set_adv_data_cback); in btgattc_handle_event()
1440 BTA_DmBleSetScanRsp(p_multi_adv_data_cb->inst_cb[cbindex].mask, in btgattc_handle_event()
1441 &p_multi_adv_data_cb->inst_cb[cbindex].data, bta_gattc_set_adv_data_cback); in btgattc_handle_event()
1447 __func__, "BTIF_GATTC_SET_ADV_DATA", cbindex); in btgattc_handle_event()
1456 int cbindex = -1, arrindex = -1; in btgattc_handle_event() local
1460 cbindex = btif_gattc_obtain_idx_for_datacb(p_inst_cb->client_if, CLNT_IF_IDX); in btgattc_handle_event()
1462 if (cbindex >= 0 && arrindex >= 0) in btgattc_handle_event()
1465 memcpy(&p_multi_adv_data_cb->inst_cb[cbindex].param, in btgattc_handle_event()
1467 p_multi_adv_data_cb->inst_cb[cbindex].timeout_s = p_inst_cb->timeout_s; in btgattc_handle_event()
1470 BTA_BleEnableAdvInstance(&(p_multi_adv_data_cb->inst_cb[cbindex].param), in btgattc_handle_event()
1487 int cbindex = btif_gattc_obtain_idx_for_datacb(p_inst_cb->client_if, CLNT_IF_IDX); in btgattc_handle_event() local
1488 if (inst_id >= 0 && cbindex >= 0 && NULL != p_inst_cb) in btgattc_handle_event()
1491 memcpy(&p_multi_adv_data_cb->inst_cb[cbindex].param, &p_inst_cb->param, in btgattc_handle_event()
1494 &(p_multi_adv_data_cb->inst_cb[cbindex].param)); in btgattc_handle_event()
1504 int cbindex = btif_gattc_obtain_idx_for_datacb(p_adv_data->client_if, CLNT_IF_IDX); in btgattc_handle_event() local
1506 if (inst_id >= 0 && cbindex >= 0 && btif_gattc_copy_datacb(cbindex, p_adv_data, true)) in btgattc_handle_event()
1513 p_multi_adv_data_cb->inst_cb[cbindex].mask, in btgattc_handle_event()
1514 &p_multi_adv_data_cb->inst_cb[cbindex].data); in btgattc_handle_event()
1521 __func__, "BTIF_GATTC_ADV_INSTANCE_SET_DATA", inst_id, cbindex); in btgattc_handle_event()