Lines Matching refs:results
108 if (p_i == nullptr || !has_le_device(p_i->inq_info.results.device_type)) { 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()
124 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result()
125 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_inquiry_result()
126 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_inquiry_result()
127 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_inquiry_result()
128 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_inquiry_result()
129 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_api_process_inquiry_result()
136 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result()
140 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result()
143 check_exceeded_responses(p_i->inq_info.results.device_type, p_i->scan_rsp); in btm_api_process_inquiry_result()
148 (btm_cb.btm_inq_vars.p_inq_results_cb)(&p_i->inq_info.results, nullptr, 0); in btm_api_process_inquiry_result()
158 if (p_i == nullptr || !has_le_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result_with_rssi()
166 (rssi > p_i->inq_info.results.rssi || p_i->inq_info.results.rssi == 0 || in btm_api_process_inquiry_result_with_rssi()
167 has_classic_device(p_i->inq_info.results.device_type))) { in btm_api_process_inquiry_result_with_rssi()
177 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result_with_rssi()
181 p_i->inq_info.results.rssi = rssi; in btm_api_process_inquiry_result_with_rssi()
184 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result_with_rssi()
185 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result_with_rssi()
186 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result_with_rssi()
187 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result_with_rssi()
188 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_inquiry_result_with_rssi()
189 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_inquiry_result_with_rssi()
190 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_inquiry_result_with_rssi()
191 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_inquiry_result_with_rssi()
198 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result_with_rssi()
202 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result_with_rssi()
206 check_exceeded_responses(p_i->inq_info.results.device_type, p_i->scan_rsp); in btm_api_process_inquiry_result_with_rssi()
212 (btm_cb.btm_inq_vars.p_inq_results_cb)(&p_i->inq_info.results, nullptr, 0); in btm_api_process_inquiry_result_with_rssi()
223 if (p_i == nullptr || !has_le_device(p_i->inq_info.results.device_type)) { in btm_api_process_extended_inquiry_result()
237 (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)) { in btm_api_process_extended_inquiry_result()
241 p_i->inq_info.results.rssi = rssi; in btm_api_process_extended_inquiry_result()
244 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_extended_inquiry_result()
245 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_extended_inquiry_result()
246 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_extended_inquiry_result()
247 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_extended_inquiry_result()
248 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_extended_inquiry_result()
249 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_extended_inquiry_result()
250 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_extended_inquiry_result()
251 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_extended_inquiry_result()
258 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_extended_inquiry_result()
262 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_extended_inquiry_result()
266 check_exceeded_responses(p_i->inq_info.results.device_type, p_i->scan_rsp); in btm_api_process_extended_inquiry_result()
272 memset(p_i->inq_info.results.eir_uuid, 0, in btm_api_process_extended_inquiry_result()
274 btm_set_eir_uuid(const_cast<uint8_t*>(eir_data), &p_i->inq_info.results); in btm_api_process_extended_inquiry_result()
276 (btm_cb.btm_inq_vars.p_inq_results_cb)(&p_i->inq_info.results, p_eir_data, in btm_api_process_extended_inquiry_result()