Searched refs:cbindex (Results 1 – 2 of 2) sorted by relevance
/system/bt/btif/src/ |
D | btif_gatt_multi_adv_util.c | 255 BOOLEAN btif_gattc_copy_datacb(int cbindex, const btif_adv_data_t *p_adv_data, in btif_gattc_copy_datacb() argument 258 if (NULL == p_multi_adv_data_cb || cbindex < 0) in btif_gattc_copy_datacb() 263 memset(&p_multi_adv_data_cb->inst_cb[cbindex].data, 0, in btif_gattc_copy_datacb() 264 sizeof(p_multi_adv_data_cb->inst_cb[cbindex].data)); in btif_gattc_copy_datacb() 265 p_multi_adv_data_cb->inst_cb[cbindex].mask = 0; in btif_gattc_copy_datacb() 269 p_multi_adv_data_cb->inst_cb[cbindex].mask = BTM_BLE_AD_BIT_FLAGS; in btif_gattc_copy_datacb() 270 p_multi_adv_data_cb->inst_cb[cbindex].data.flag = ADV_FLAGS_GENERAL; in btif_gattc_copy_datacb() 271 if (p_multi_adv_data_cb->inst_cb[cbindex].timeout_s) in btif_gattc_copy_datacb() 272 p_multi_adv_data_cb->inst_cb[cbindex].data.flag = ADV_FLAGS_LIMITED; in btif_gattc_copy_datacb() 273 if (p_multi_adv_data_cb->inst_cb[cbindex].param.adv_type == BTA_BLE_NON_CONNECT_EVT) in btif_gattc_copy_datacb() [all …]
|
D | btif_gatt_client.c | 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() [all …]
|