Lines Matching refs:scan_mode
233 void btm_ble_read_batchscan_reports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_read_batchscan_reports() argument
241 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
318 void btm_ble_set_batchscan_param(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_set_batchscan_param() argument
333 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
412 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan() argument
417 BTM_TRACE_EVENT("%s: %d, %d, %d, %d, %d, %d", __func__, scan_mode, in BTM_BleEnableBatchScan()
425 BTM_TRACE_DEBUG("%s: %d, %x, %x, %d, %d", __func__, scan_mode, scan_interval, in BTM_BleEnableBatchScan()
435 (BTM_BLE_BATCH_SCAN_MODE_PASS == scan_mode || in BTM_BleEnableBatchScan()
436 BTM_BLE_BATCH_SCAN_MODE_ACTI == scan_mode || in BTM_BleEnableBatchScan()
437 BTM_BLE_BATCH_SCAN_MODE_PASS_ACTI == scan_mode) && in BTM_BleEnableBatchScan()
453 ble_batchscan_cb.scan_mode = scan_mode; in BTM_BleEnableBatchScan()
459 btm_ble_set_batchscan_param(scan_mode, scan_interval, scan_window, addr_type, in BTM_BleEnableBatchScan()
480 void BTM_BleReadScanReports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleReadScanReports() argument
484 BTM_TRACE_EVENT("%s; %d", __func__, scan_mode); in BTM_BleReadScanReports()
493 read_scan_mode = ble_batchscan_cb.scan_mode & BTM_BLE_BATCH_SCAN_MODE_ACTI; in BTM_BleReadScanReports()
495 read_scan_mode = ble_batchscan_cb.scan_mode & BTM_BLE_BATCH_SCAN_MODE_PASS; in BTM_BleReadScanReports()
499 if (scan_mode != BTM_BLE_BATCH_SCAN_MODE_PASS && in BTM_BleReadScanReports()
500 scan_mode != BTM_BLE_BATCH_SCAN_MODE_ACTI) { in BTM_BleReadScanReports()
502 scan_mode, ble_batchscan_cb.cur_state); in BTM_BleReadScanReports()
508 scan_mode, base::Bind(&read_reports_cb, std::vector<uint8_t>(), 0, cb)); in BTM_BleReadScanReports()