Searched refs:p_i (Results 1 – 4 of 4) sorted by relevance
83 tINQ_DB_ENT* p_i = btm_inq_db_find(raw_address); in btm_api_process_inquiry_result() local85 if (p_i == nullptr) { in btm_api_process_inquiry_result()86 p_i = btm_inq_db_new(raw_address); in btm_api_process_inquiry_result()87 CHECK(p_i != nullptr); in btm_api_process_inquiry_result()88 } else if (p_i->inq_count == btm_cb.btm_inq_vars.inq_counter && in btm_api_process_inquiry_result()89 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result()93 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result()94 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result()95 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result()96 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result()[all …]
1044 tINQ_DB_ENT* p_i; in btm_process_inq_results() local1110 p_i = btm_inq_db_find(bda); in btm_process_inq_results()1120 if ((rssi != 0) && p_i && in btm_process_inq_results()1121 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()1122 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()1125 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results()1126 p_cur = &p_i->inq_info.results; in btm_process_inq_results()1134 else if ((inq_res_mode == BTM_INQ_RESULT_EXTENDED) && (p_i)) { in btm_process_inq_results()1135 p_cur = &p_i->inq_info.results; in btm_process_inq_results()1145 if (p_i == NULL) { in btm_process_inq_results()[all …]
1342 tINQ_DB_ENT* p_i = btm_inq_db_find(remote_bda); in btm_ble_read_remote_name() local1343 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() argument1594 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() local1935 if (p_i && (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()[all …]
191 void btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, in btm_ble_update_inq_result() argument