Home
last modified time | relevance | path

Searched refs:dev_class (Results 1 – 25 of 28) sorted by relevance

12

/external/bluetooth/bluedroid/btif/src/
Dbtif_util.c104 UINT32 devclass2uint(DEV_CLASS dev_class) in devclass2uint() argument
108 if(dev_class != NULL) in devclass2uint()
111 cod = (dev_class[2]) | (dev_class[1] << 8) | (dev_class[0] << 16); in devclass2uint()
115 void uint2devclass(UINT32 cod, DEV_CLASS dev_class) in uint2devclass() argument
117 dev_class[2] = (UINT8)cod; in uint2devclass()
118 dev_class[1] = (UINT8)(cod >> 8); in uint2devclass()
119 dev_class[0] = (UINT8)(cod >> 16); in uint2devclass()
Dbtif_dm.c127 DEV_CLASS dev_class, tBT_DEVICE_TYPE dev_type);
354 DEV_CLASS dev_class, tBT_DEVICE_TYPE device_type) in btif_update_remote_properties() argument
377 cod = devclass2uint(dev_class); in btif_update_remote_properties()
633 p_pin_req->dev_class, BT_DEVICE_TYPE_BREDR); in btif_dm_pin_req_evt()
640 cod = devclass2uint(p_pin_req->dev_class); in btif_dm_pin_req_evt()
715 p_ssp_cfm_req->dev_class, BT_DEVICE_TYPE_BREDR); in btif_dm_ssp_cfm_req_evt()
755 cod = devclass2uint(p_ssp_cfm_req->dev_class); in btif_dm_ssp_cfm_req_evt()
778 p_ssp_key_notif->dev_class, BT_DEVICE_TYPE_BREDR); in btif_dm_ssp_key_notif_evt()
785 cod = devclass2uint(p_ssp_key_notif->dev_class); in btif_dm_ssp_key_notif_evt()
962 cod = devclass2uint (p_search_data->inq_res.dev_class); in btif_dm_search_devices_evt()
Dbtif_storage.c493 DEV_CLASS dev_class = {0, 0, 0}; in btif_in_fetch_bonded_devices() local
496 uint2devclass((UINT32)cod, dev_class); in btif_in_fetch_bonded_devices()
497 … BTA_DmAddDevice(bd_addr.address, dev_class, link_key, 0, 0, (UINT8)linkkey_type, 0); in btif_in_fetch_bonded_devices()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_dev.c59 BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, in BTM_SecAddDevice() argument
99 if (dev_class) in BTM_SecAddDevice()
100 memcpy (p_dev_rec->dev_class, dev_class, DEV_CLASS_LEN); in BTM_SecAddDevice()
249 memcpy (p_dev_rec->dev_class, p_inq_info->results.dev_class, DEV_CLASS_LEN); in btm_sec_alloc_dev()
276 memcpy (p_dev_rec->dev_class, btm_cb.connecting_dc, DEV_CLASS_LEN); in btm_sec_alloc_dev()
Dbtm_sec.c951 (*btm_cb.api.p_auth_complete_callback) (p_dev_rec->bd_addr, p_dev_rec->dev_class, in BTM_PINCodeReply()
1174 if (((p_dev_rec->dev_class[1] & BTM_COD_MAJOR_CLASS_MASK) == BTM_COD_MAJOR_PERIPHERAL) in BTM_SecBond()
1175 && (p_dev_rec->dev_class[2] & BTM_COD_MINOR_KEYBOARD) in BTM_SecBond()
1838 DEVCLASS_TO_STREAM(p, btm_cb.devcb.dev_class); in BTM_BuildOobData()
2835 (*btm_cb.api.p_abort_callback)(bd_addr, p_dev_rec->dev_class, p_dev_rec->sec_bd_name); in btm_sec_abort_access_req()
2909 DEV_CLASS dev_class; in btm_sec_rmt_name_request_complete() local
2984 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
2990 dev_class[0] = 0; in btm_sec_rmt_name_request_complete()
2991 dev_class[1] = 0; in btm_sec_rmt_name_request_complete()
2992 dev_class[2] = 0; in btm_sec_rmt_name_request_complete()
[all …]
Dbtm_devctl.c1758 tBTM_STATUS BTM_SetDeviceClass (DEV_CLASS dev_class) in BTM_SetDeviceClass() argument
1760 if(!memcmp (btm_cb.devcb.dev_class, dev_class, DEV_CLASS_LEN)) in BTM_SetDeviceClass()
1763 memcpy (btm_cb.devcb.dev_class, dev_class, DEV_CLASS_LEN); in BTM_SetDeviceClass()
1769 if (!btsnd_hcic_write_dev_class (dev_class)) in BTM_SetDeviceClass()
1787 return ((UINT8 *)btm_cb.devcb.dev_class); in BTM_ReadDeviceClass()
Dbtm_int.h182 DEV_CLASS dev_class; /* Local device class */ member
512 DEV_CLASS dev_class; /* DEV_CLASS of the device */ member
1013 extern void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type);
Dbtm_sco.c792 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) in btm_sco_conn_req() argument
838 memcpy(evt_data.dev_class, dev_class, DEV_CLASS_LEN); in btm_sco_conn_req()
Dbtm_inq.c1757 memcpy (condition_buf, p_filt_cond->cod_cond.dev_class, DEV_CLASS_LEN); in btm_set_inq_event_filter()
2124 p_cur->dev_class[0] = dc[0]; in btm_process_inq_results()
2125 p_cur->dev_class[1] = dc[1]; in btm_process_inq_results()
2126 p_cur->dev_class[2] = dc[2]; in btm_process_inq_results()
Dbtm_acl.c3238 memcpy (btm_cb.connecting_dc, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_acl_resubmit_page()
3314 memcpy (btm_cb.connecting_dc, p_dev_rec->dev_class, DEV_CLASS_LEN); in btm_acl_paging()
/external/bluetooth/bluedroid/bta/sys/
Dutl.c195 DEV_CLASS dev_class; in utl_set_device_class() local
238 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
240 if (BTM_SetDeviceClass(dev_class) == BTM_SUCCESS) in utl_set_device_class()
/external/bluetooth/bluedroid/btif/include/
Dbtif_util.h68 UINT32 devclass2uint(DEV_CLASS dev_class);
69 void uint2devclass(UINT32 dev, DEV_CLASS dev_class);
/external/bluetooth/bluedroid/bta/include/
Dbta_api.h264 DEV_CLASS dev_class; /* device class of interest */ member
522 DEV_CLASS dev_class; /* Class of Device */ member
646 DEV_CLASS dev_class; member
730 DEV_CLASS dev_class; /* peer CoD */ member
762 DEV_CLASS dev_class; /* peer CoD */ member
772 DEV_CLASS dev_class; /* peer CoD */ member
828 DEV_CLASS dev_class; /* Device class of peer device. */ member
1347 BTA_API extern void BTA_DmAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class,
1367 BTA_API extern void BTA_DmAddDevWithName (BD_ADDR bd_addr, DEV_CLASS dev_class,
/external/bluetooth/bluedroid/stack/gap/
Dgap_utils.c125 p_results->dev_class[0], p_results->dev_class[1], p_results->dev_class[2], in gap_inq_results_cb()
Dgap_api.c772 DEV_CLASS dev_class; in GAP_SetDeviceClass() local
815 FIELDS_TO_COD(dev_class, minor, major, service); in GAP_SetDeviceClass()
817 btm_status = BTM_SetDeviceClass(dev_class); in GAP_SetDeviceClass()
/external/bluetooth/bluedroid/stack/include/
Dbtm_api.h551 DEV_CLASS dev_class; member
592 DEV_CLASS dev_class; member
1061 DEV_CLASS dev_class; member
1309 typedef UINT8 (tBTM_AUTHORIZE_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1318 typedef UINT8 (tBTM_PIN_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1333 typedef UINT8 (tBTM_LINK_KEY_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1352 typedef UINT8 (tBTM_AUTH_COMPLETE_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1360 typedef UINT8 (tBTM_ABORT_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1446 DEV_CLASS dev_class; /* peer CoD */ member
1460 DEV_CLASS dev_class; /* peer CoD */ member
[all …]
Dbtu.h176 DEV_CLASS dev_class; member
Dhcimsgs.h946 UINT8 *page_scan_mode, UINT8 **dev_class,
965 HCI_API extern void btsnd_hcie_connection_req(void *buffer, BD_ADDR bd_addr, DEV_CLASS dev_class, U…
1218 … UINT8 **dev_class, UINT16 *clock_offset, UINT8 *rssi, UINT8 *p_data);
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c49 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *…
50 static UINT8 bta_dm_pin_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name);
52 static UINT8 bta_dm_new_link_key_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, LINK_…
53 static UINT8 bta_dm_authentication_complete_cback(BD_ADDR bd_addr, DEV_CLASS dev_class,BD_NAME bd_n…
320 DEV_CLASS dev_class; in bta_dm_sys_hw_cback() local
369 memcpy(dev_class, bta_dm_cfg.dev_class, sizeof(dev_class)); in bta_dm_sys_hw_cback()
370 BTM_SetDeviceClass (dev_class); in bta_dm_sys_hw_cback()
2527 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
2528 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb()
2699 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, in bta_dm_authorize_cback() argument
[all …]
Dbta_dm_api.c706 void BTA_DmAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class, LINK_KEY link_key, in BTA_DmAddDevice() argument
731 if (dev_class) in BTA_DmAddDevice()
734 memcpy (p_msg->dc, dev_class, DEV_CLASS_LEN); in BTA_DmAddDevice()
787 void BTA_DmAddDevWithName (BD_ADDR bd_addr, DEV_CLASS dev_class, in BTA_DmAddDevWithName() argument
812 if (dev_class) in BTA_DmAddDevWithName()
815 memcpy (p_msg->dc, dev_class, DEV_CLASS_LEN); in BTA_DmAddDevWithName()
Dbta_dm_int.h850 DEV_CLASS dev_class; /* local device class */ member
/external/qemu/hw/
Dbt-hci.c524 .dev_class[0] = slave->class[0], in bt_hci_inquiry_result_standard()
525 .dev_class[1] = slave->class[1], in bt_hci_inquiry_result_standard()
526 .dev_class[2] = slave->class[2], in bt_hci_inquiry_result_standard()
542 .dev_class[0] = slave->class[0], in bt_hci_inquiry_result_with_rssi()
543 .dev_class[1] = slave->class[1], in bt_hci_inquiry_result_with_rssi()
544 .dev_class[2] = slave->class[2], in bt_hci_inquiry_result_with_rssi()
786 memcpy(&params.dev_class, &link->host->class, sizeof(params.dev_class)); in bt_hci_lmp_connection_request()
1424 memcpy(params.dev_class, hci->device.class, sizeof(params.dev_class)); in bt_hci_event_complete_read_local_class()
1869 memcpy(hci->device.class, PARAM(write_class_of_dev, dev_class), in bt_submit_hci()
1870 sizeof(PARAM(write_class_of_dev, dev_class))); in bt_submit_hci()
Dbt.h991 uint8_t dev_class[3]; member
997 uint8_t dev_class[3]; member
1324 uint8_t dev_class[3]; member
1342 uint8_t dev_class[3]; member
1561 uint8_t dev_class[3]; member
1572 uint8_t dev_class[3]; member
1629 uint8_t dev_class[3]; member
/external/kernel-headers/original/sound/
Dasound.h292 int dev_class; /* SNDRV_PCM_CLASS_* */ member
577 int dev_class; member
/external/kernel-headers/original/linux/
Dpci.h382 #define PCI_DEVICE_CLASS(dev_class,dev_class_mask) \ argument
383 .class = (dev_class), .class_mask = (dev_class_mask), \

12