Searched refs:p_adv_data (Results 1 – 5 of 5) sorted by relevance
/system/bt/btif/src/ |
D | btif_gatt_multi_adv_util.c | 268 BOOLEAN btif_gattc_copy_datacb(int cbindex, const btif_adv_data_t *p_adv_data, in btif_gattc_copy_datacb() argument 278 p_multi_adv_data_cb->inst_cb[cbindex].is_scan_rsp = p_adv_data->set_scan_rsp ? 1 : 0; in btif_gattc_copy_datacb() 279 if (!p_adv_data->set_scan_rsp) in btif_gattc_copy_datacb() 292 if (p_adv_data->include_name) in btif_gattc_copy_datacb() 295 if (p_adv_data->include_txpower) in btif_gattc_copy_datacb() 298 if (false == bInstData && p_adv_data->min_interval > 0 && p_adv_data->max_interval > 0 && in btif_gattc_copy_datacb() 299 p_adv_data->max_interval > p_adv_data->min_interval) in btif_gattc_copy_datacb() 303 p_adv_data->min_interval; in btif_gattc_copy_datacb() 305 p_adv_data->max_interval; in btif_gattc_copy_datacb() 321 if (p_adv_data->include_txpower) in btif_gattc_copy_datacb() [all …]
|
D | btif_gatt_client.c | 1587 const btif_adv_data_t *p_adv_data = (btif_adv_data_t*) p_param; in btgattc_handle_event() local 1589 if (cbindex >= 0 && btif_gattc_copy_datacb(cbindex, p_adv_data, false)) in btgattc_handle_event() 1592 if (!p_adv_data->set_scan_rsp) in btgattc_handle_event() 1662 btif_adv_data_t *p_adv_data = (btif_adv_data_t*) p_param; in btgattc_handle_event() local 1663 int cbindex = btif_gattc_obtain_idx_for_datacb(p_adv_data->client_if, CLNT_IF_IDX); in btgattc_handle_event() 1664 int inst_id = btif_multi_adv_instid_for_clientif(p_adv_data->client_if); in btgattc_handle_event() 1665 if (inst_id >= 0 && cbindex >= 0 && btif_gattc_copy_datacb(cbindex, p_adv_data, true)) in btgattc_handle_event()
|
/system/bt/stack/btm/ |
D | btm_ble_gap.c | 1699 tBTM_BLE_LOCAL_ADV_DATA *p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_set_adv_flag() local 1701 if (p_adv_data->p_flags != NULL) in btm_ble_set_adv_flag() 1702 flag = old_flag = *(p_adv_data->p_flags); in btm_ble_set_adv_flag() 2122 tBTM_BLE_LOCAL_ADV_DATA *p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_update_adv_flag() local 2127 if (p_adv_data->p_flags != NULL) in btm_ble_update_adv_flag() 2129 BTM_TRACE_DEBUG ("btm_ble_update_adv_flag old=0x%x", *p_adv_data->p_flags); in btm_ble_update_adv_flag() 2130 *p_adv_data->p_flags = flag; in btm_ble_update_adv_flag() 2134 p = (p_adv_data->p_pad == NULL) ? p_adv_data->ad_data : p_adv_data->p_pad; in btm_ble_update_adv_flag() 2137 if ((BTM_BLE_AD_DATA_LEN - (p - p_adv_data->ad_data)) < 3) in btm_ble_update_adv_flag() 2139 p = p_adv_data->p_pad = p_adv_data->ad_data; in btm_ble_update_adv_flag() [all …]
|
/system/bt/btif/include/ |
D | btif_gatt_multi_adv_util.h | 86 extern BOOLEAN btif_gattc_copy_datacb(int arrindex, const btif_adv_data_t *p_adv_data,
|
/system/bt/bta/include/ |
D | bta_api.h | 1152 typedef void (tBTA_BLE_TRACK_ADV_CBACK)(tBTA_DM_BLE_TRACK_ADV_DATA *p_adv_data);
|