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 | 1432 const int cbindex = CLNT_IF_IDX; in btgattc_handle_event() local 1433 if (cbindex >= 0 && btif_gattc_copy_datacb(cbindex, p_adv_data, false)) in btgattc_handle_event() 1438 BTA_DmBleSetAdvConfig(p_multi_adv_data_cb->inst_cb[cbindex].mask, in btgattc_handle_event() 1439 &p_multi_adv_data_cb->inst_cb[cbindex].data, bta_gattc_set_adv_data_cback); in btgattc_handle_event() 1443 BTA_DmBleSetScanRsp(p_multi_adv_data_cb->inst_cb[cbindex].mask, in btgattc_handle_event() 1444 &p_multi_adv_data_cb->inst_cb[cbindex].data, bta_gattc_set_adv_data_cback); in btgattc_handle_event() 1450 __func__, "BTIF_GATTC_SET_ADV_DATA", cbindex); in btgattc_handle_event() 1459 int cbindex = -1, arrindex = -1; in btgattc_handle_event() local 1463 cbindex = btif_gattc_obtain_idx_for_datacb(p_inst_cb->client_if, CLNT_IF_IDX); in btgattc_handle_event() 1465 if (cbindex >= 0 && arrindex >= 0) in btgattc_handle_event() [all …]
|