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.c544 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in btm_ble_set_batchscan_param() argument
560 UINT32_TO_STREAM (pp_scan, scan_interval); in btm_ble_set_batchscan_param()
614 ble_batchscan_cb.scan_interval, ble_batchscan_cb.scan_window, in btm_ble_enable_disable_batchscan()
725 UINT32 scan_interval, UINT32 scan_window, tBLE_ADDR_TYPE addr_type, in BTM_BleEnableBatchScan() argument
731 scan_mode, scan_interval, scan_window, addr_type, discard_rule, ref_value); in BTM_BleEnableBatchScan()
744 BTM_TRACE_DEBUG("BTM_BleEnableBatchScan: %d, %x, %x, %d, %d", scan_mode, scan_interval, in BTM_BleEnableBatchScan()
749 if ((BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, BTM_BLE_SCAN_INT_MAX) || in BTM_BleEnableBatchScan()
768 ble_batchscan_cb.scan_interval = scan_interval; in BTM_BleEnableBatchScan()
773 status = btm_ble_set_batchscan_param(scan_mode, scan_interval, scan_window, addr_type, in BTM_BleEnableBatchScan()
Dbtm_ble_bgconn.c121 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy() local
131 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in btm_update_scanner_filter_policy()
138 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in btm_update_scanner_filter_policy()
Dbtm_ble_gap.c359 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve() local
363 p_inq->scan_interval, p_inq->scan_window); in BTM_BleObserve()
395 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in BTM_BleObserve()
402 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in BTM_BleObserve()
1144 void BTM_BleSetScanParams(tGATT_IF client_if, UINT32 scan_interval, UINT32 scan_window, in BTM_BleSetScanParams() argument
1169 if (BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, max_scan_interval) && in BTM_BleSetScanParams()
1174 p_cb->scan_interval = scan_interval; in BTM_BleSetScanParams()
1186 scan_interval, scan_window); in BTM_BleSetScanParams()
1995 else if ((p_ble_cb->inq_var.scan_interval != BTM_BLE_LOW_LATENCY_SCAN_INT) || in btm_ble_start_inquiry()
2952 else if((p_ble_cb->inq_var.scan_interval != BTM_BLE_LOW_LATENCY_SCAN_INT) || in btm_ble_stop_inquiry()
Dbtm_ble.c485 void BTM_BleSetConnScanParams (UINT32 scan_interval, UINT32 scan_window) in BTM_BleSetConnScanParams() argument
491 if (BTM_BLE_ISVALID_PARAM(scan_interval, BTM_BLE_SCAN_INT_MIN, BTM_BLE_SCAN_INT_MAX) && in BTM_BleSetConnScanParams()
494 if (p_ble_cb->scan_int != scan_interval) in BTM_BleSetConnScanParams()
496 p_ble_cb->scan_int = scan_interval; in BTM_BleSetConnScanParams()
Dbtm_ble_int.h139 UINT32 scan_interval; member
/system/connectivity/shill/dbus/
Dchromeos_supplicant_interface_proxy.cc58 RegisterProperty(kPropertyScanInterval, &scan_interval); in PropertySet()
411 bool ChromeosSupplicantInterfaceProxy::SetScanInterval(int32_t scan_interval) { in SetScanInterval() argument
413 << scan_interval; in SetScanInterval()
415 if (!properties_->scan_interval.SetAndBlock(scan_interval)) { in SetScanInterval()
416 LOG(ERROR) << __func__ << " failed: " << scan_interval; in SetScanInterval()
Dchromeos_supplicant_interface_proxy.h88 brillo::dbus_utils::Property<int32_t> scan_interval; variable
/system/bt/stack/include/
Dbtm_ble_api.h585 UINT32 scan_interval; member
1009 extern void BTM_BleSetScanParams(tGATT_IF client_if, UINT32 scan_interval,
1065 UINT32 scan_interval, UINT32 scan_window,
1406 extern void BTM_BleSetConnScanParams (UINT32 scan_interval, UINT32 scan_window);
/system/bt/bta/dm/
Dbta_dm_api.c821 void BTA_DmSetBleConnScanParams(UINT32 scan_interval, UINT32 scan_window) in BTA_DmSetBleConnScanParams() argument
828 p_msg->scan_int = scan_interval; in BTA_DmSetBleConnScanParams()
852 void BTA_DmSetBleScanParams(tGATT_IF client_if, UINT32 scan_interval, in BTA_DmSetBleScanParams() argument
861 p_msg->scan_int = scan_interval; in BTA_DmSetBleScanParams()
1020 UINT32 scan_interval, UINT32 scan_window, in BTA_DmBleEnableBatchScan() argument
1030 p_msg->scan_int = scan_interval; in BTA_DmBleEnableBatchScan()
/system/bt/btif/src/
Dbtif_gatt_client.c143 uint32_t scan_interval; member
189 uint32_t scan_interval; member
1562 BTA_DmSetBleScanParams(p_cb->client_if, p_cb->scan_interval, p_cb->scan_window, in btgattc_handle_event()
1580 BTA_DmBleEnableBatchScan(p_scan_track_cb->scan_mode, p_scan_track_cb->scan_interval, in btgattc_handle_event()
1981 static bt_status_t btif_gattc_set_scan_parameters(int client_if, int scan_interval, in btif_gattc_set_scan_parameters() argument
1987 btif_cb.scan_interval = scan_interval; in btif_gattc_set_scan_parameters()
2093 static bt_status_t btif_gattc_enb_batch_scan(int client_if,int scan_mode, int scan_interval, in btif_gattc_enb_batch_scan() argument
2101 bt_scan_cb.scan_interval = scan_interval; in btif_gattc_enb_batch_scan()
/system/bt/bta/include/
Dbta_api.h1828 extern void BTA_DmSetBleConnScanParams(UINT32 scan_interval,
1846 extern void BTA_DmSetBleScanParams(tGATT_IF client_if, UINT32 scan_interval,
2179 UINT32 scan_interval, UINT32 scan_window,
/system/connectivity/shill/wifi/
Dwifi.cc688 int scan_interval = kBackgroundScanIntervalSeconds; in AppendBgscan() local
705 scan_interval = scan_interval_seconds_; in AppendBgscan()
712 scan_interval); in AppendBgscan()
Dwifi_unittest.cc3739 const int scan_interval = 10; in TEST_F() local
3740 SetScanInterval(scan_interval, &e); in TEST_F()
3749 const int scan_interval = 10; in TEST_F() local
3750 SetScanInterval(scan_interval, &e); in TEST_F()
3752 EXPECT_CALL(mock_dispatcher_, PostDelayedTask(_, scan_interval * 1000)); in TEST_F()