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.cc321 tBTA_HH_DEV_DSCP_INFO dscp_info) { in BTA_HhAddDev() argument
322 size_t len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; in BTA_HhAddDev()
334 memcpy(&p_buf->dscp_info, &dscp_info, sizeof(tBTA_HH_DEV_DSCP_INFO)); in BTA_HhAddDev()
335 if (dscp_info.descriptor.dl_len != 0 && dscp_info.descriptor.dsc_list) { in BTA_HhAddDev()
336 p_buf->dscp_info.descriptor.dl_len = dscp_info.descriptor.dl_len; in BTA_HhAddDev()
337 p_buf->dscp_info.descriptor.dsc_list = (uint8_t*)(p_buf + 1); in BTA_HhAddDev()
338 memcpy(p_buf->dscp_info.descriptor.dsc_list, dscp_info.descriptor.dsc_list, in BTA_HhAddDev()
339 dscp_info.descriptor.dl_len); in BTA_HhAddDev()
341 p_buf->dscp_info.descriptor.dsc_list = NULL; in BTA_HhAddDev()
342 p_buf->dscp_info.descriptor.dl_len = 0; in BTA_HhAddDev()
Dbta_hh_utils.cc123 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev()
152 p_cb->dscp_info.vendor_id = vendor_id; in bta_hh_update_di_info()
153 p_cb->dscp_info.product_id = product_id; in bta_hh_update_di_info()
154 p_cb->dscp_info.version = version; in bta_hh_update_di_info()
156 p_cb->dscp_info.flag = flag; in bta_hh_update_di_info()
184 p_cb->dscp_info.ssr_max_latency = ssr_max_latency; in bta_hh_add_device_to_list()
185 p_cb->dscp_info.ssr_min_tout = ssr_min_tout; in bta_hh_add_device_to_list()
189 osi_free_and_reset((void**)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list()
192 p_cb->dscp_info.descriptor.dsc_list = in bta_hh_add_device_to_list()
194 p_cb->dscp_info.descriptor.dl_len = p_dscp_info->dl_len; in bta_hh_add_device_to_list()
[all …]
Dbta_hh_act.cc214 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, &sdp_rec->dscp_info, in bta_hh_sdp_cback()
218 p_cb->dscp_info.ctry_code = sdp_rec->ctry_code; in bta_hh_sdp_cback()
336 p_cb->dscp_info.ssr_max_latency, in bta_hh_start_sdp()
337 p_cb->dscp_info.ssr_min_tout, p_cb->app_id); in bta_hh_start_sdp()
626 p_cb->dscp_info.ctry_code, p_cb->addr, p_cb->app_id); in bta_hh_data_act()
906 (*bta_hh_cb.p_cback)(BTA_HH_GET_DSCP_EVT, (tBTA_HH*)&p_cb->dscp_info); in bta_hh_get_dscp_act()
947 bta_hh_update_di_info(p_cb, p_dev_info->dscp_info.vendor_id, in bta_hh_maint_dev_act()
948 p_dev_info->dscp_info.product_id, in bta_hh_maint_dev_act()
949 p_dev_info->dscp_info.version, in bta_hh_maint_dev_act()
950 p_dev_info->dscp_info.flag); in bta_hh_maint_dev_act()
[all …]
Dbta_hh_le.cc923 p_cb->dscp_info.product_id = p_dis_value->pnp_id.product_id; in bta_hh_le_dis_cback()
924 p_cb->dscp_info.vendor_id = p_dis_value->pnp_id.vendor_id; in bta_hh_le_dis_cback()
925 p_cb->dscp_info.version = p_dis_value->pnp_id.product_version; in bta_hh_le_dis_cback()
1066 p_cb->dscp_info.descriptor.dsc_list = NULL; in bta_hh_clear_service_cache()
1250 STREAM_TO_UINT16(p_dev_cb->dscp_info.version, pp); in read_hid_info_cb()
1251 STREAM_TO_UINT8(p_dev_cb->dscp_info.ctry_code, pp); in read_hid_info_cb()
1252 STREAM_TO_UINT8(p_dev_cb->dscp_info.flag, pp); in read_hid_info_cb()
1611 p_dev_cb->dscp_info.ctry_code, p_dev_cb->addr, app_id); in bta_hh_le_input_rpt_notify()
1964 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc.descriptor.dl_len; in bta_hh_le_get_dscp_act()
1965 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc.descriptor.dsc_list; in bta_hh_le_get_dscp_act()
[all …]
Dbta_hh_int.h138 tBTA_HH_DEV_DSCP_INFO dscp_info; member
219 tBTA_HH_DEV_DSCP_INFO dscp_info; /* report descriptor and DI information */ member
/system/bt/btif/src/
Dbtif_hh.cc933 len = p_data->dscp_info.descriptor.dl_len; in btif_hh_upstreams_evt()
961 bta_hh_co_send_hid_info(p_dev, cached_name, p_data->dscp_info.vendor_id, in btif_hh_upstreams_evt()
962 p_data->dscp_info.product_id, in btif_hh_upstreams_evt()
963 p_data->dscp_info.version, in btif_hh_upstreams_evt()
964 p_data->dscp_info.ctry_code, len, in btif_hh_upstreams_evt()
965 p_data->dscp_info.descriptor.dsc_list); in btif_hh_upstreams_evt()
967 tBTA_HH_DEV_DSCP_INFO dscp_info; in btif_hh_upstreams_evt() local
969 btif_hh_copy_hid_info(&dscp_info, &p_data->dscp_info); in btif_hh_upstreams_evt()
972 p_dev->app_id, dscp_info); in btif_hh_upstreams_evt()
976 p_dev->app_id, p_data->dscp_info.vendor_id, in btif_hh_upstreams_evt()
[all …]
Dbtif_storage.cc1282 tBTA_HH_DEV_DSCP_INFO dscp_info; in btif_storage_load_bonded_hid_info() local
1283 memset(&dscp_info, 0, sizeof(dscp_info)); in btif_storage_load_bonded_hid_info()
1292 dscp_info.vendor_id = (uint16_t)value; in btif_storage_load_bonded_hid_info()
1295 dscp_info.product_id = (uint16_t)value; in btif_storage_load_bonded_hid_info()
1298 dscp_info.version = (uint8_t)value; in btif_storage_load_bonded_hid_info()
1301 dscp_info.ctry_code = (uint8_t)value; in btif_storage_load_bonded_hid_info()
1305 dscp_info.ssr_max_latency = (uint16_t)value; in btif_storage_load_bonded_hid_info()
1309 dscp_info.ssr_min_tout = (uint16_t)value; in btif_storage_load_bonded_hid_info()
1313 dscp_info.descriptor.dl_len = (uint16_t)len; in btif_storage_load_bonded_hid_info()
1314 dscp_info.descriptor.dsc_list = (uint8_t*)alloca(len); in btif_storage_load_bonded_hid_info()
[all …]
/system/bt/bta/include/
Dbta_hh_api.h290 tBTA_HH_DEV_DSCP_INFO dscp_info; /* BTA_HH_GET_DSCP_EVT */ member
488 tBTA_HH_DEV_DSCP_INFO dscp_info);
/system/bt/stack/include/
Dhiddefs.h149 tHID_DEV_DSCP_INFO dscp_info; /* Descriptor list and Report list to be set in member
/system/bt/stack/hid/
Dhidh_api.cc128 p_nvi->dscp_info.dl_len = SDP_DISC_ATTR_LEN(p_repdesc->attr_len_type); in hidh_search_callback()
129 if (p_nvi->dscp_info.dl_len != 0) in hidh_search_callback()
130 p_nvi->dscp_info.dsc_list = (uint8_t*)&p_repdesc->attr_value; in hidh_search_callback()