Home
last modified time | relevance | path

Searched refs:p_service_data (Results 1 – 6 of 6) sorted by relevance

/system/bt/btif/src/
Dbtif_gatt_multi_adv_util.c243 p_multi_adv_inst->p_service_data = GKI_getbuf(service_data_len); in btif_gattc_adv_data_packager()
244 memcpy(p_multi_adv_inst->p_service_data, service_data, service_data_len); in btif_gattc_adv_data_packager()
257 if (adv->p_service_data) in btif_gattc_adv_data_cleanup()
258 GKI_freebuf(adv->p_service_data); in btif_gattc_adv_data_cleanup()
354 if (p_adv_data->service_data_len > 0 && p_adv_data->p_service_data != NULL) in btif_gattc_copy_datacb()
365 memcpy(p_elem_service_data->p_val, p_adv_data->p_service_data, in btif_gattc_copy_datacb()
575 if (p_multi_inst_cb->data.p_service_data != NULL) in btif_gattc_cleanup_multi_inst_cb()
577 btif_gattc_cleanup((void**) &p_multi_inst_cb->data.p_service_data->p_val); in btif_gattc_cleanup_multi_inst_cb()
578 btif_gattc_cleanup((void**) &p_multi_inst_cb->data.p_service_data); in btif_gattc_cleanup_multi_inst_cb()
Dbtif_gatt_client.c1846 if (src->p_service_data) in btif_gattc_deep_copy()
1848 dst->p_service_data = GKI_getbuf(src->service_data_len); in btif_gattc_deep_copy()
1849 memcpy(dst->p_service_data, src->p_service_data, src->service_data_len); in btif_gattc_deep_copy()
/system/bt/btif/include/
Dbtif_gatt_multi_adv_util.h48 uint8_t* p_service_data; member
/system/bt/stack/btm/
Dbtm_ble_gap.c1530 p_data && p_data->p_service_data->len != 0 && p_data->p_service_data->p_val) in btm_ble_build_adv_data()
1532 if (len > (p_data->p_service_data->service_uuid.len + MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1534 if (p_data->p_service_data->len > (len - MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1535 cp_len = len - MIN_ADV_LENGTH- p_data->p_service_data->service_uuid.len; in btm_ble_build_adv_data()
1537 cp_len = p_data->p_service_data->len; in btm_ble_build_adv_data()
1539 *p++ = cp_len + 1 + p_data->p_service_data->service_uuid.len; in btm_ble_build_adv_data()
1540 if (p_data->p_service_data->service_uuid.len == LEN_UUID_16) in btm_ble_build_adv_data()
1543 UINT16_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid16); in btm_ble_build_adv_data()
1545 else if (p_data->p_service_data->service_uuid.len == LEN_UUID_32) in btm_ble_build_adv_data()
1548 UINT32_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid32); in btm_ble_build_adv_data()
[all …]
/system/bt/stack/include/
Dbtm_ble_api.h450 tBTM_BLE_SERVICE_DATA *p_service_data; /* service data */ member
/system/bt/bta/include/
Dbta_api.h405 tBTA_BLE_SERVICE_DATA *p_service_data; /* service data */ member