Lines Matching refs:p_i
1342 tINQ_DB_ENT* p_i = btm_inq_db_find(remote_bda); in btm_ble_read_remote_name() local
1343 if (p_i && !ble_evt_type_is_connectable(p_i->inq_info.results.ble_evt_type)) { in btm_ble_read_remote_name()
1588 void btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, in btm_ble_update_inq_result() argument
1594 tBTM_INQ_RESULTS* p_cur = &p_i->inq_info.results; in btm_ble_update_inq_result()
1611 p_i->scan_rsp = false; in btm_ble_update_inq_result()
1613 p_i->scan_rsp = true; in btm_ble_update_inq_result()
1615 if (p_i->inq_count != p_inq->inq_counter) in btm_ble_update_inq_result()
1622 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_ble_update_inq_result()
1930 tINQ_DB_ENT* p_i = btm_inq_db_find(bda); in btm_ble_process_adv_pkt_cont() local
1935 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()
1937 (!p_i->scan_rsp))) { in btm_ble_process_adv_pkt_cont()
1949 if (p_i == NULL) { in btm_ble_process_adv_pkt_cont()
1950 p_i = btm_inq_db_new(bda); in btm_ble_process_adv_pkt_cont()
1951 if (p_i != NULL) { in btm_ble_process_adv_pkt_cont()
1953 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_ble_process_adv_pkt_cont()
1956 } else if (p_i->inq_count != in btm_ble_process_adv_pkt_cont()
1959 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_ble_process_adv_pkt_cont()
1964 btm_ble_update_inq_result(p_i, addr_type, bda, evt_type, primary_phy, in btm_ble_process_adv_pkt_cont()
1979 (p_inq_results_cb)((tBTM_INQ_RESULTS*)&p_i->inq_info.results, in btm_ble_process_adv_pkt_cont()
1985 (p_obs_results_cb)((tBTM_INQ_RESULTS*)&p_i->inq_info.results, in btm_ble_process_adv_pkt_cont()
2004 tINQ_DB_ENT* p_i = btm_inq_db_find(bda); in btm_ble_process_adv_pkt_cont_for_inquiry() local
2009 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont_for_inquiry()
2011 (!p_i->scan_rsp))) { in btm_ble_process_adv_pkt_cont_for_inquiry()
2023 if (p_i == NULL) { in btm_ble_process_adv_pkt_cont_for_inquiry()
2024 p_i = btm_inq_db_new(bda); in btm_ble_process_adv_pkt_cont_for_inquiry()
2025 if (p_i != NULL) { in btm_ble_process_adv_pkt_cont_for_inquiry()
2027 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_ble_process_adv_pkt_cont_for_inquiry()
2030 } else if (p_i->inq_count != in btm_ble_process_adv_pkt_cont_for_inquiry()
2033 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_ble_process_adv_pkt_cont_for_inquiry()
2038 btm_ble_update_inq_result(p_i, addr_type, bda, evt_type, primary_phy, in btm_ble_process_adv_pkt_cont_for_inquiry()
2051 (p_inq_results_cb)((tBTM_INQ_RESULTS*)&p_i->inq_info.results, in btm_ble_process_adv_pkt_cont_for_inquiry()