Searched refs:p_i (Results 1 – 3 of 3) sorted by relevance
106 tINQ_DB_ENT* p_i = btm_inq_db_find(raw_address); in btm_api_process_inquiry_result() local108 if (p_i == nullptr || !has_le_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result()113 if (p_i == nullptr) { in btm_api_process_inquiry_result()114 p_i = btm_inq_db_new(raw_address); in btm_api_process_inquiry_result()115 CHECK(p_i != nullptr); in btm_api_process_inquiry_result()116 } else if (p_i->inq_count == btm_cb.btm_inq_vars.inq_counter && in btm_api_process_inquiry_result()117 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result()121 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result()122 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result()123 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result()[all …]
1521 tINQ_DB_ENT* p_i; in btm_process_inq_results() local1589 p_i = btm_inq_db_find(bda); in btm_process_inq_results()1599 (p_i == NULL || in btm_process_inq_results()1601 (p_i && in btm_process_inq_results()1602 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) { in btm_process_inq_results()1615 if (p_inq->inqparms.report_dup && (rssi != 0) && p_i && in btm_process_inq_results()1616 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()1617 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()1620 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results()1621 p_cur = &p_i->inq_info.results; in btm_process_inq_results()[all …]
1282 tINQ_DB_ENT* p_i = btm_inq_db_find(remote_bda); in btm_ble_read_remote_name() local1283 if (p_i && !ble_evt_type_is_connectable(p_i->inq_info.results.ble_evt_type)) { in btm_ble_read_remote_name()1542 void btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, in btm_ble_update_inq_result() argument1548 tBTM_INQ_RESULTS* p_cur = &p_i->inq_info.results; in btm_ble_update_inq_result()1565 p_i->scan_rsp = false; in btm_ble_update_inq_result()1567 p_i->scan_rsp = true; in btm_ble_update_inq_result()1569 if (p_i->inq_count != p_inq->inq_counter) in btm_ble_update_inq_result()1576 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_ble_update_inq_result()1884 tINQ_DB_ENT* p_i = btm_inq_db_find(bda); in btm_ble_process_adv_pkt_cont() local1889 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()[all …]