Home
last modified time | relevance | path

Searched refs:scan_interval (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc319 uint32_t scan_interval, uint32_t scan_window, in btm_ble_set_batchscan_param() argument
335 UINT32_TO_STREAM(p, scan_interval); in btm_ble_set_batchscan_param()
413 uint32_t scan_interval, uint32_t scan_window, in BTM_BleEnableBatchScan() argument
418 scan_interval, scan_window, addr_type, discard_rule); in BTM_BleEnableBatchScan()
425 BTM_TRACE_DEBUG("%s: %d, %x, %x, %d, %d", __func__, scan_mode, scan_interval, in BTM_BleEnableBatchScan()
431 if ((BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, in BTM_BleEnableBatchScan()
454 ble_batchscan_cb.scan_interval = scan_interval; in BTM_BleEnableBatchScan()
459 btm_ble_set_batchscan_param(scan_mode, scan_interval, scan_window, addr_type, in BTM_BleEnableBatchScan()
473 BTM_BLE_BATCH_SCAN_MODE_DISABLE, ble_batchscan_cb.scan_interval, in BTM_BleDisableBatchScan()
Dbtm_ble_bgconn.cc123 uint32_t scan_interval = in btm_update_scanner_filter_policy() local
124 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy()
136 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in btm_update_scanner_filter_policy()
Dbtm_ble_gap.cc412 uint32_t scan_interval = in BTM_BleObserve() local
413 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve()
418 btm_cb.btm_inq_vars.scan_type, p_inq->scan_interval, in BTM_BleObserve()
447 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in BTM_BleObserve()
834 void BTM_BleSetScanParams(uint32_t scan_interval, uint32_t scan_window, in BTM_BleSetScanParams() argument
856 if (BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, in BTM_BleSetScanParams()
863 p_cb->scan_interval = scan_interval; in BTM_BleSetScanParams()
871 scan_interval, scan_window); in BTM_BleSetScanParams()
1291 } else if ((p_ble_cb->inq_var.scan_interval != in btm_ble_start_inquiry()
2121 else if ((p_ble_cb->inq_var.scan_interval != BTM_BLE_LOW_LATENCY_SCAN_INT) || in btm_ble_stop_inquiry()
Dbtm_ble_int_types.h129 uint32_t scan_interval; member
Dbtm_ble.cc455 void BTM_BleSetConnScanParams(uint32_t scan_interval, uint32_t scan_window) { in BTM_BleSetConnScanParams() argument
459 if (BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, in BTM_BleSetConnScanParams()
463 if (p_ble_cb->scan_int != scan_interval) { in BTM_BleSetConnScanParams()
464 p_ble_cb->scan_int = scan_interval; in BTM_BleSetConnScanParams()
/system/bt/stack/include/
Dbtm_ble_api.h95 extern void BTM_BleSetScanParams(uint32_t scan_interval, uint32_t scan_window,
137 tBTM_BLE_BATCH_SCAN_MODE scan_mode, uint32_t scan_interval,
401 extern void BTM_BleSetConnScanParams(uint32_t scan_interval,
Dbtm_ble_api_types.h387 uint32_t scan_interval; member
/system/bt/btif/src/
Dbtif_ble_scanner.cc288 void SetScanParameters(int scan_interval, int scan_window, in SetScanParameters() argument
291 FROM_HERE, base::Bind(&BTM_BleSetScanParams, scan_interval, scan_window, in SetScanParameters()
309 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window, in BatchscanEnable() argument
312 FROM_HERE, base::Bind(&BTM_BleEnableBatchScan, scan_mode, scan_interval, in BatchscanEnable()
/system/bt/include/hardware/
Dble_scanner.h99 virtual void SetScanParameters(int scan_interval, int scan_window,
109 virtual void BatchscanEnable(int scan_mode, int scan_interval,
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc55 void(int scan_interval, int scan_window, Callback cb));
63 void(int scan_mode, int scan_interval, int scan_window,
/system/bt/bta/dm/
Dbta_dm_api.cc565 void BTA_DmSetBleConnScanParams(uint32_t scan_interval, uint32_t scan_window) { in BTA_DmSetBleConnScanParams() argument
567 scan_interval, scan_window)); in BTA_DmSetBleConnScanParams()
Dbta_dm_act.cc4007 void bta_dm_ble_set_conn_scan_params(uint32_t scan_interval, in bta_dm_ble_set_conn_scan_params() argument
4009 BTM_BleSetConnScanParams(scan_interval, scan_window); in bta_dm_ble_set_conn_scan_params()
/system/bt/bta/include/
Dbta_api.h1491 extern void BTA_DmSetBleConnScanParams(uint32_t scan_interval,