Home
last modified time | relevance | path

Searched refs:DEV_CLASS_LEN (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/include/
Dbt_types.h318 for (ijk = 0; ijk < DEV_CLASS_LEN; ijk++) \
319 *(p)++ = (uint8_t)(a)[DEV_CLASS_LEN - 1 - ijk]; \
392 uint8_t* _pa = (uint8_t*)(a) + DEV_CLASS_LEN - 1; \
393 for (ijk = 0; ijk < DEV_CLASS_LEN; ijk++) *_pa-- = *(p)++; \
601 #define DEV_CLASS_LEN 3 macro
602 typedef uint8_t DEV_CLASS[DEV_CLASS_LEN]; /* Device class */
/system/bt/stack/btm/
Dbtm_dev.cc95 if (dev_class) memcpy(p_dev_rec->dev_class, dev_class, DEV_CLASS_LEN); in BTM_SecAddDevice()
255 memcpy(p_dev_rec->dev_class, p_inq_info->results.dev_class, DEV_CLASS_LEN); in btm_sec_alloc_dev()
260 memcpy(p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_sec_alloc_dev()
Dbtm_devctl.cc508 if (!memcmp(btm_cb.devcb.dev_class, dev_class, DEV_CLASS_LEN)) in BTM_SetDeviceClass()
511 memcpy(btm_cb.devcb.dev_class, dev_class, DEV_CLASS_LEN); in BTM_SetDeviceClass()
Dbtm_inq.cc1292 uint8_t condition_length = DEV_CLASS_LEN * 2; in btm_set_inq_event_filter()
1293 uint8_t condition_buf[DEV_CLASS_LEN * 2]; in btm_set_inq_event_filter()
1308 memcpy(condition_buf, p_filt_cond->cod_cond.dev_class, DEV_CLASS_LEN); in btm_set_inq_event_filter()
1309 memcpy(&condition_buf[DEV_CLASS_LEN], in btm_set_inq_event_filter()
1310 p_filt_cond->cod_cond.dev_class_mask, DEV_CLASS_LEN); in btm_set_inq_event_filter()
Dbtm_sec.cc2294 memcpy(btm_cb.connecting_dc, dc, DEV_CLASS_LEN); in btm_sec_conn_req()
3001 memcpy(p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_io_capabilities_req()
3090 memcpy(p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_io_capabilities_rsp()
3139 memcpy(evt_data.cfm_req.dev_class, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_proc_sp_req_evt()
3333 memcpy(evt_data.dev_class, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_simple_pair_complete()
3374 memcpy(evt_data.dev_class, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_rem_oob_req()
4661 memcpy(p_dev_rec->dev_class, p_cb->connecting_dc, DEV_CLASS_LEN); in btm_sec_pin_code_request()
4706 memcpy(p_cb->connecting_dc, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_sec_pin_code_request()
Dbtm_acl.cc238 if (dc) memcpy(p->remote_dc, dc, DEV_CLASS_LEN); in btm_acl_created()
2437 memcpy(btm_cb.connecting_dc, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_acl_resubmit_page()
2487 memcpy(btm_cb.connecting_dc, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_acl_paging()
Dbtm_sco.cc728 memcpy(evt_data.dev_class, dev_class, DEV_CLASS_LEN); in btm_sco_conn_req()
/system/bt/bta/dm/
Dbta_dm_api.cc312 memcpy(msg->dc, dev_class, DEV_CLASS_LEN); in BTA_DmAddDevice()
Dbta_dm_act.cc2079 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
2241 memcpy(sec_event.authorize.dev_class, dev_class, DEV_CLASS_LEN); in bta_dm_authorize_cback()
/system/bt/stack/hcic/
Dhcicmds.cc673 filt_cond += DEV_CLASS_LEN; in btsnd_hcic_set_event_filter()
675 filt_cond += DEV_CLASS_LEN; in btsnd_hcic_set_event_filter()
677 filt_cond_len -= (2 * DEV_CLASS_LEN); in btsnd_hcic_set_event_filter()
/system/bt/btif/src/
Dbtif_core.cc954 memcpy(dev_class, property->val, DEV_CLASS_LEN); in btif_set_adapter_property()