Home
last modified time | relevance | path

Searched refs:min_interval (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_ble_conn_params.cc81 p_lcb->min_interval = min_int; in L2CA_UpdateBleConnParams()
223 p_lcb->min_interval > BTM_BLE_CONN_INT_MIN) { in l2cble_start_conn_update()
260 p_lcb->Handle(), p_lcb->min_interval, p_lcb->max_interval, in l2cble_start_conn_update()
265 l2cu_send_peer_ble_par_req(p_lcb, p_lcb->min_interval, in l2cble_start_conn_update()
326 ((p_lcb->min_interval < p_dev_rec->conn_params.min_conn_int && in l2cble_use_preferred_conn_params()
328 (p_lcb->min_interval > p_dev_rec->conn_params.max_conn_int) || in l2cble_use_preferred_conn_params()
339 p_lcb->min_interval = p_dev_rec->conn_params.min_conn_int; in l2cble_use_preferred_conn_params()
Dl2c_ble.cc173 p_lcb->min_interval = p_lcb->max_interval = conn_interval; in l2cble_conn_comp()
239 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local
298 STREAM_TO_UINT16(min_interval, p); /* 0x0006 - 0x0C80 */ in l2cble_process_sig_cmd()
305 &min_interval, &max_interval, in l2cble_process_sig_cmd()
309 if (min_interval < BTM_BLE_CONN_INT_MIN || in l2cble_process_sig_cmd()
310 min_interval > BTM_BLE_CONN_INT_MAX || in l2cble_process_sig_cmd()
318 max_interval < min_interval) { in l2cble_process_sig_cmd()
323 p_lcb->min_interval = min_interval; in l2cble_process_sig_cmd()
1386 void L2CA_AdjustConnectionIntervals(uint16_t* min_interval, in L2CA_AdjustConnectionIntervals() argument
1410 *min_interval < phone_min_interval) { in L2CA_AdjustConnectionIntervals()
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dle_advertising_manager.cc183 parameters.min_interval = periodic_params.min_interval; in SetPeriodicAdvertisingParameters()
336 config.interval_min = params.min_interval; in parse_parameter()
377 config.min_interval = periodic_params.min_interval; in parse_periodic_advertising_parameter()
Dacl.cc714 void HoldMode(uint16_t max_interval, uint16_t min_interval) { in HoldMode() argument
716 connection_->HoldMode(max_interval, min_interval), in HoldMode()
720 void SniffMode(uint16_t max_interval, uint16_t min_interval, uint16_t attempt, in SniffMode() argument
723 connection_->SniffMode(max_interval, min_interval, attempt, timeout), in SniffMode()
1039 uint16_t min_interval) { in HoldMode()
1043 min_interval); in HoldMode()
1052 void SniffMode(HciHandle handle, uint16_t max_interval, uint16_t min_interval, in SniffMode()
1057 max_interval, min_interval, attempt, timeout); in SniffMode()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.h51 virtual bool HoldMode(uint16_t max_interval, uint16_t min_interval);
52 …virtual bool SniffMode(uint16_t max_interval, uint16_t min_interval, uint16_t attempt, uint16_t ti…
Dclassic_acl_connection.cc420 bool ClassicAclConnection::HoldMode(uint16_t max_interval, uint16_t min_interval) { in HoldMode() argument
422 HoldModeBuilder::Create(handle_, max_interval, min_interval), in HoldMode()
427 bool ClassicAclConnection::SniffMode(uint16_t max_interval, uint16_t min_interval, uint16_t attempt… in SniffMode() argument
429 SniffModeBuilder::Create(handle_, max_interval, min_interval, attempt, timeout), in SniffMode()
/packages/modules/Bluetooth/system/include/hardware/
Dble_advertiser.h34 uint32_t min_interval; member
47 uint16_t min_interval; member
Dbt_gatt_client.h298 int min_interval, int max_interval,
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_advertising_manager_facade.cc163 if (config_proto.min_interval() > UINT16_MAX || config_proto.min_interval() < 0) { in PeriodicAdvertisingParametersFromProto()
164 log::warn("Bad interval_min: {}", config_proto.min_interval()); in PeriodicAdvertisingParametersFromProto()
167 config->min_interval = static_cast<uint16_t>(config_proto.min_interval()); in PeriodicAdvertisingParametersFromProto()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_ble.h276 std::function<void(uint16_t* min_interval, uint16_t* max_interval,
280 void operator()(uint16_t* min_interval, uint16_t* max_interval, in operator()
282 body(min_interval, max_interval, floor_interval); in operator()
Dmock_stack_l2cap_ble.cc177 void L2CA_AdjustConnectionIntervals(uint16_t* min_interval, in L2CA_AdjustConnectionIntervals() argument
182 min_interval, max_interval, floor_interval); in L2CA_AdjustConnectionIntervals()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_hal.py288 min_interval=400, argument
302 … primary_advertising_interval_min=min_interval,
322 min_interval=400, argument
331 hci.LeSetAdvertisingParameters(advertising_interval_min=min_interval,
Dpy_hci.py265 min_interval=400, argument
279 … primary_advertising_interval_min=min_interval,
/packages/modules/Bluetooth/system/blueberry/tests/gd/hal/
Dsimple_hal_test.py82 min_interval=512,
126 min_interval=512,
/packages/modules/Bluetooth/flags/
Dl2cap.aconfig21 description: "Do not adjust min_interval in connection update request"
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_client.cc626 RawAddress addr, int min_interval, int max_interval, int latency, in btif_gattc_conn_parameter_update_impl() argument
629 BTA_DmBleUpdateConnectionParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
632 BTA_DmSetBlePrefConnParams(addr, min_interval, max_interval, latency, in btif_gattc_conn_parameter_update_impl()
637 int min_interval, int max_interval, in btif_gattc_conn_parameter_update() argument
644 min_interval, max_interval, latency, timeout, min_ce_len, max_ce_len)); in btif_gattc_conn_parameter_update()
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Ddirect_hci_test.py218 min_interval=512,
244 advertisement = self.cert_hal.create_legacy_advertisement(min_interval=512,
279 advertisement = self.cert_hal.create_legacy_advertisement(min_interval=512,
Dle_advertising_manager_test.py273 min_interval=512,
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc1391 uint16_t min_interval, max_interval, latency, timeout; in read_pref_conn_params_cb() local
1392 STREAM_TO_UINT16(min_interval, pp); in read_pref_conn_params_cb()
1399 L2CA_AdjustConnectionIntervals(&min_interval, &max_interval, in read_pref_conn_params_cb()
1405 if (min_interval < BTM_BLE_CONN_INT_MIN || in read_pref_conn_params_cb()
1406 min_interval > BTM_BLE_CONN_INT_MAX || in read_pref_conn_params_cb()
1411 timeout > BTM_BLE_CONN_SUP_TOUT_MAX || max_interval < min_interval) { in read_pref_conn_params_cb()
1414 min_interval, max_interval, latency, timeout); in read_pref_conn_params_cb()
1425 BTM_BleSetPrefConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, in read_pref_conn_params_cb()
1427 if (!L2CA_UpdateBleConnParams(p_dev_cb->link_spec.addrt.bda, min_interval, in read_pref_conn_params_cb()
/packages/modules/Bluetooth/system/blueberry/facade/hci/
Dle_advertising_manager_facade.proto90 int32 min_interval = 1; field
/packages/modules/Bluetooth/system/gd/hci/
Dle_advertising_manager.h35 uint16_t min_interval; variable
/packages/modules/Bluetooth/floss/pandora/floss/
Dgatt_client.py956 …def update_connection_parameter(self, address, min_interval, max_interval, latency, timeout, min_c… argument
972 …self.proxy().ConnectionParameterUpdate(self.client_id, address, min_interval, max_interval, latenc…
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine.cc352 adv_params.min_interval = 0x00A0; /* 160 * 0,625 = 100ms */ in CreateBroadcastAnnouncement()
363 periodic_params.min_interval = BroadcastStateMachine::kPaIntervalMin; in CreateBroadcastAnnouncement()
/packages/modules/Bluetooth/system/stack/include/
Dl2c_api.h886 void L2CA_AdjustConnectionIntervals(uint16_t* min_interval,
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dgatt_service.rs99 min_interval: 0, in create_advertise_parameters()
114 min_interval: 0, in create_periodic_advertising_parameters()

12