Home
last modified time | relevance | path

Searched refs:p_i (Results 1 – 4 of 4) sorted by relevance

/system/bt/main/shim/
Dbtm_api.cc83 tINQ_DB_ENT* p_i = btm_inq_db_find(raw_address); in btm_api_process_inquiry_result() local
85 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 …]
/system/bt/stack/btm/
Dbtm_inq.cc1044 tINQ_DB_ENT* p_i; in btm_process_inq_results() local
1110 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 …]
Dbtm_ble_gap.cc1342 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()
[all …]
/system/bt/test/mock/
Dmock_stack_btm_ble_gap.cc191 void btm_ble_update_inq_result(tINQ_DB_ENT* p_i, uint8_t addr_type, in btm_ble_update_inq_result() argument