Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_dev.cc244 tBTM_INQ_INFO* p_inq_info; in btm_sec_alloc_dev() local
253 p_inq_info = BTM_InqDbRead(bd_addr); in btm_sec_alloc_dev()
254 if (p_inq_info != NULL) { in btm_sec_alloc_dev()
255 memcpy(p_dev_rec->dev_class, p_inq_info->results.dev_class, DEV_CLASS_LEN); in btm_sec_alloc_dev()
257 p_dev_rec->device_type = p_inq_info->results.device_type; in btm_sec_alloc_dev()
258 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in btm_sec_alloc_dev()
Dbtm_ble.cc586 tBTM_INQ_INFO* p_inq_info = BTM_InqDbRead(remote_bda); in BTM_ReadDevInfo() local
593 if (p_inq_info != NULL) { in BTM_ReadDevInfo()
594 *p_dev_type = p_inq_info->results.device_type; in BTM_ReadDevInfo()
595 *p_addr_type = p_inq_info->results.ble_addr_type; in BTM_ReadDevInfo()
603 if (p_inq_info) { in BTM_ReadDevInfo()
604 p_dev_rec->device_type = p_inq_info->results.device_type; in BTM_ReadDevInfo()
605 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type; in BTM_ReadDevInfo()
Dbtm_sec.cc4750 tBTM_INQ_INFO* p_inq_info; in btm_sec_update_clock_offset() local
4757 p_inq_info = BTM_InqDbRead(p_dev_rec->bd_addr); in btm_sec_update_clock_offset()
4758 if (p_inq_info == NULL) return; in btm_sec_update_clock_offset()
4760 p_inq_info->results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_sec_update_clock_offset()
/system/bt/stack/hid/
Dhidh_api.cc521 tBTM_INQ_INFO* p_inq_info = BTM_InqDbRead(bd_addr); in hid_known_hid_device() local
527 if (p_inq_info != NULL) { in hid_known_hid_device()
529 if ((p_inq_info->results.dev_class[1] & BTM_COD_MAJOR_CLASS_MASK) == in hid_known_hid_device()
/system/bt/bta/dm/
Dbta_dm_act.cc2075 tBTM_INQ_INFO* p_inq_info; in bta_dm_inq_results_cb() local
2094 p_inq_info = BTM_InqDbRead(p_inq->remote_bd_addr); in bta_dm_inq_results_cb()
2095 if (p_inq_info != NULL) { in bta_dm_inq_results_cb()
2104 if (p_inq_info) { in bta_dm_inq_results_cb()
2108 p_inq_info->appl_knows_rem_name = true; in bta_dm_inq_results_cb()
3718 tBTM_INQ_INFO* p_inq_info; in bta_dm_observe_results_cb() local
3738 p_inq_info = BTM_InqDbRead(p_inq->remote_bd_addr); in bta_dm_observe_results_cb()
3739 if (p_inq_info != NULL) { in bta_dm_observe_results_cb()
3748 if (p_inq_info) { in bta_dm_observe_results_cb()
3752 p_inq_info->appl_knows_rem_name = true; in bta_dm_observe_results_cb()
/system/bt/stack/l2cap/
Dl2c_utils.cc2219 tBTM_INQ_INFO* p_inq_info; in l2cu_create_conn_after_switch() local
2244 p_inq_info = BTM_InqDbRead(p_lcb->remote_bd_addr); in l2cu_create_conn_after_switch()
2245 if ((p_inq_info != NULL) && in l2cu_create_conn_after_switch()
2246 (p_inq_info->results.inq_result_type & BTM_INQ_RESULT_BR)) { in l2cu_create_conn_after_switch()
2247 page_scan_rep_mode = p_inq_info->results.page_scan_rep_mode; in l2cu_create_conn_after_switch()
2248 page_scan_mode = p_inq_info->results.page_scan_mode; in l2cu_create_conn_after_switch()
2249 clock_offset = (uint16_t)(p_inq_info->results.clock_offset); in l2cu_create_conn_after_switch()