Home
last modified time | relevance | path

Searched refs:dscp_info (Results 1 – 10 of 10) sorted by relevance

/system/bt/bta/hh/
Dbta_hh_api.c357 UINT8 app_id, tBTA_HH_DEV_DSCP_INFO dscp_info) in BTA_HhAddDev() argument
360 UINT16 len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; in BTA_HhAddDev()
377 memcpy(&p_buf->dscp_info, &dscp_info, sizeof(tBTA_HH_DEV_DSCP_INFO)); in BTA_HhAddDev()
378 if ( dscp_info.descriptor.dl_len != 0 && dscp_info.descriptor.dsc_list) in BTA_HhAddDev()
380 p_buf->dscp_info.descriptor.dl_len = dscp_info.descriptor.dl_len; in BTA_HhAddDev()
381 p_buf->dscp_info.descriptor.dsc_list = (UINT8 *)(p_buf + 1); in BTA_HhAddDev()
382 …memcpy(p_buf->dscp_info.descriptor.dsc_list, dscp_info.descriptor.dsc_list, dscp_info.descriptor.d… in BTA_HhAddDev()
386 p_buf->dscp_info.descriptor.dsc_list = NULL; in BTA_HhAddDev()
387 p_buf->dscp_info.descriptor.dl_len = 0; in BTA_HhAddDev()
Dbta_hh_utils.c138 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev()
163 p_cb->dscp_info.vendor_id = vendor_id; in bta_hh_update_di_info()
164 p_cb->dscp_info.product_id = product_id; in bta_hh_update_di_info()
165 p_cb->dscp_info.version = version; in bta_hh_update_di_info()
167 p_cb->dscp_info.flag = flag; in bta_hh_update_di_info()
200 p_cb->dscp_info.ssr_max_latency = ssr_max_latency; in bta_hh_add_device_to_list()
201 p_cb->dscp_info.ssr_min_tout = ssr_min_tout; in bta_hh_add_device_to_list()
206 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list()
209 (p_cb->dscp_info.descriptor.dsc_list = in bta_hh_add_device_to_list()
212 p_cb->dscp_info.descriptor.dl_len = p_dscp_info->dl_len; in bta_hh_add_device_to_list()
[all …]
Dbta_hh_act.c236 &sdp_rec->dscp_info, in bta_hh_sdp_cback()
242 p_cb->dscp_info.ctry_code = sdp_rec->ctry_code; in bta_hh_sdp_cback()
371 p_cb->dscp_info.ssr_max_latency, in bta_hh_start_sdp()
372 p_cb->dscp_info.ssr_min_tout, in bta_hh_start_sdp()
669 … p_cb->mode, p_cb->sub_class, p_cb->dscp_info.ctry_code, p_cb->addr, p_cb->app_id); in bta_hh_data_act()
957 (*bta_hh_cb.p_cback)(BTA_HH_GET_DSCP_EVT, (tBTA_HH *)&p_cb->dscp_info); in bta_hh_get_dscp_act()
1004 p_dev_info->dscp_info.vendor_id, in bta_hh_maint_dev_act()
1005 p_dev_info->dscp_info.product_id, in bta_hh_maint_dev_act()
1006 p_dev_info->dscp_info.version, in bta_hh_maint_dev_act()
1007 p_dev_info->dscp_info.flag); in bta_hh_maint_dev_act()
[all …]
Dbta_hh_le.c1206 p_cb->dscp_info.product_id = p_dis_value->pnp_id.product_id; in bta_hh_le_dis_cback()
1207 p_cb->dscp_info.vendor_id = p_dis_value->pnp_id.vendor_id; in bta_hh_le_dis_cback()
1208 p_cb->dscp_info.version = p_dis_value->pnp_id.product_version; in bta_hh_le_dis_cback()
1366 p_cb->dscp_info.descriptor.dsc_list = NULL; in bta_hh_clear_service_cache()
2003 STREAM_TO_UINT16(p_dev_cb->dscp_info.version, pp); in bta_hh_w4_le_read_char_cmpl()
2004 STREAM_TO_UINT8(p_dev_cb->dscp_info.ctry_code, pp); in bta_hh_w4_le_read_char_cmpl()
2005 STREAM_TO_UINT8(p_dev_cb->dscp_info.flag, pp); in bta_hh_w4_le_read_char_cmpl()
2393 p_dev_cb->dscp_info.ctry_code, in bta_hh_le_input_rpt_notify()
2698 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc[i].descriptor.dl_len; in bta_hh_le_get_dscp_act()
2699 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc[i].descriptor.dsc_list; in bta_hh_le_get_dscp_act()
[all …]
Dbta_hh_int.h152 tBTA_HH_DEV_DSCP_INFO dscp_info; member
242 tBTA_HH_DEV_DSCP_INFO dscp_info; /* report descriptor and DI information */ member
/system/bt/btif/src/
Dbtif_hh.c928 len = p_data->dscp_info.descriptor.dl_len; in btif_hh_upstreams_evt()
957 p_data->dscp_info.vendor_id, p_data->dscp_info.product_id, in btif_hh_upstreams_evt()
958 p_data->dscp_info.version, p_data->dscp_info.ctry_code, in btif_hh_upstreams_evt()
959 len, p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
963 tBTA_HH_DEV_DSCP_INFO dscp_info; in btif_hh_upstreams_evt() local
966 btif_hh_copy_hid_info(&dscp_info, &p_data->dscp_info); in btif_hh_upstreams_evt()
971 BTA_HhAddDev(bda, p_dev->attr_mask,p_dev->sub_class,p_dev->app_id, dscp_info); in btif_hh_upstreams_evt()
974 … p_data->dscp_info.vendor_id, p_data->dscp_info.product_id, in btif_hh_upstreams_evt()
975 … p_data->dscp_info.version, p_data->dscp_info.ctry_code, in btif_hh_upstreams_evt()
976 … p_data->dscp_info.ssr_max_latency, p_data->dscp_info.ssr_min_tout, in btif_hh_upstreams_evt()
[all …]
Dbtif_storage.c1339 tBTA_HH_DEV_DSCP_INFO dscp_info; in btif_storage_load_bonded_hid_info() local
1344 memset(&dscp_info, 0, sizeof(dscp_info)); in btif_storage_load_bonded_hid_info()
1365 dscp_info.vendor_id = (uint16_t) value; in btif_storage_load_bonded_hid_info()
1368 dscp_info.product_id = (uint16_t) value; in btif_storage_load_bonded_hid_info()
1371 dscp_info.version = (uint8_t) value; in btif_storage_load_bonded_hid_info()
1374 dscp_info.ctry_code = (uint8_t) value; in btif_storage_load_bonded_hid_info()
1378 dscp_info.ssr_max_latency = (uint16_t) value; in btif_storage_load_bonded_hid_info()
1382 dscp_info.ssr_min_tout = (uint16_t) value; in btif_storage_load_bonded_hid_info()
1387 dscp_info.descriptor.dl_len = (uint16_t)len; in btif_storage_load_bonded_hid_info()
1388 dscp_info.descriptor.dsc_list = (uint8_t*)alloca(len); in btif_storage_load_bonded_hid_info()
[all …]
/system/bt/bta/include/
Dbta_hh_api.h304 tBTA_HH_DEV_DSCP_INFO dscp_info; /* BTA_HH_GET_DSCP_EVT */ member
507 tBTA_HH_DEV_DSCP_INFO dscp_info);
/system/bt/stack/include/
Dhiddefs.h153 tHID_DEV_DSCP_INFO dscp_info; /* Descriptor list and Report list to be set in the SDP record. member
/system/bt/stack/hid/
Dhidh_api.c141 if ((p_nvi->dscp_info.dl_len = SDP_DISC_ATTR_LEN(p_repdesc->attr_len_type)) != 0) in hidh_search_callback()
142 p_nvi->dscp_info.dsc_list = (UINT8 *) &p_repdesc->attr_value; in hidh_search_callback()