Home
last modified time | relevance | path

Searched refs:acl_handle (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/test/rfcomm/
Dstack_rfcomm_test.cc149 void ConnectServerL2cap(const RawAddress& peer_addr, uint16_t acl_handle, in ConnectServerL2cap() argument
178 CreateQuickSabmPacket(RFCOMM_MX_DLCI, lcid, acl_handle)); in ConnectServerL2cap()
180 CreateQuickUaPacket(RFCOMM_MX_DLCI, lcid, acl_handle)); in ConnectServerL2cap()
189 uint8_t scn, uint16_t mtu, uint16_t acl_handle, in ConnectServerPort() argument
196 lcid, acl_handle)); in ConnectServerPort()
200 lcid, acl_handle)); in ConnectServerPort()
213 CreateQuickSabmPacket(GetDlci(false, scn), lcid, acl_handle)); in ConnectServerPort()
229 CreateQuickUaPacket(GetDlci(false, scn), lcid, acl_handle)); in ConnectServerPort()
239 CreateQuickMscPacket(true, GetDlci(false, scn), lcid, acl_handle, true, in ConnectServerPort()
242 CreateQuickMscPacket(false, GetDlci(false, scn), lcid, acl_handle, in ConnectServerPort()
[all …]
Dstack_rfcomm_test_utils.cc142 uint16_t acl_handle) { in CreateQuickUaPacket() argument
149 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickUaPacket()
153 uint16_t acl_handle) { in CreateQuickSabmPacket() argument
160 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickSabmPacket()
167 uint16_t acl_handle) { in CreateQuickPnPacket() argument
178 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickPnPacket()
183 uint16_t acl_handle, bool mx_cr, in CreateQuickMscPacket() argument
196 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickMscPacket()
201 uint16_t acl_handle, int credits, in CreateQuickDataPacket() argument
210 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickDataPacket()
[all …]
Dstack_rfcomm_test_utils.h143 uint16_t acl_handle);
154 uint16_t acl_handle);
174 uint16_t acl_handle);
193 uint16_t acl_handle, bool mx_cr,
210 uint16_t acl_handle, int credits,
226 uint16_t acl_handle, int credits,
/packages/modules/Bluetooth/system/stack/btm/
Dble_scanner_hci_interface.cc139 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSyncTransfer() local
141 if (acl_handle == HCI_INVALID_HANDLE) { in PeriodicAdvSyncTransfer()
147 acl_handle, service_data, sync_handle, in PeriodicAdvSyncTransfer()
154 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSetInfoTransfer() local
156 if (acl_handle == HCI_INVALID_HANDLE) { in PeriodicAdvSetInfoTransfer()
162 acl_handle, service_data, adv_handle, in PeriodicAdvSetInfoTransfer()
170 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in SetPeriodicAdvSyncTransferParams() local
172 if (acl_handle == HCI_INVALID_HANDLE) { in SetPeriodicAdvSyncTransferParams()
179 acl_handle, mode, skip, sync_timeout, cte_type, in SetPeriodicAdvSyncTransferParams()
183 acl_handle, mode, skip, sync_timeout, cte_type, in SetPeriodicAdvSyncTransferParams()
[all …]
Dbtm_sco.cc581 static tBTM_STATUS btm_send_connect_request(uint16_t acl_handle, in btm_send_connect_request() argument
585 log::info("sending non-eSCO request for handle={}", unsigned(acl_handle)); in btm_send_connect_request()
586 btsnd_hcic_add_SCO_conn(acl_handle, BTM_ESCO_2_SCO(p_setup->packet_types)); in btm_send_connect_request()
605 const RawAddress bd_addr = acl_address_from_handle(acl_handle); in btm_send_connect_request()
639 acl_handle); in btm_send_connect_request()
645 acl_handle, temp_packet_types); in btm_send_connect_request()
651 acl_handle); in btm_send_connect_request()
656 acl_handle); in btm_send_connect_request()
661 acl_handle); in btm_send_connect_request()
675 acl_handle); in btm_send_connect_request()
[all …]
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_le_audio.py449 acl_handle, packet = unpack_data(packet, 2, False)
450 connection_map[acl_handle].cis_handle = cis_handle
451 cis_acl_map[cis_handle] = acl_handle
454 connection_map[acl_handle].dump()
466 acl_handle = cis_acl_map[iso_handle]
467 dump_cis_audio_data_to_file(acl_handle)
568 def dump_cis_audio_data_to_file(acl_handle): argument
570 connection_map[acl_handle].dump()
581 file_name += context_case.get(connection_map[acl_handle].context, "Unknown")
582 for ase in connection_map[acl_handle].ase.values():
[all …]
/packages/modules/Bluetooth/system/test/headless/
Dinterface.h125 bt_conn_direction_t direction, uint16_t acl_handle) in acl_state_changed_params_t()
133 acl_handle(acl_handle) {} in acl_state_changed_params_t()
144 uint16_t acl_handle; member
155 bt_conn_direction_text(direction), acl_handle); in ToString()
Dheadless.cc177 bt_conn_direction_t direction, uint16_t acl_handle) { in acl_state_changed() argument
187 direction, acl_handle); in acl_state_changed()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler.cc127 uint16_t acl_handle = acl_queue_handler->first; in start_round_robin() local
129 …handler_, common::Bind(&RoundRobinScheduler::buffer_packet, common::Unretained(this), acl_handle)); in start_round_robin()
140 void RoundRobinScheduler::buffer_packet(uint16_t acl_handle) { in buffer_packet() argument
142 auto acl_queue_handler = acl_queue_handlers_.find(acl_handle); in buffer_packet()
144 log::error("Ignore since ACL connection vanished with handle: 0x{:X}", acl_handle); in buffer_packet()
Dround_robin_scheduler.h58 void buffer_packet(uint16_t acl_handle);
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc712 uint16_t acl_handle) { in bta_dm_acl_up() argument
719 bt_transport_text(transport), acl_handle); in bta_dm_acl_up()
740 conn.link_up.acl_handle = acl_handle; in bta_dm_acl_up()
749 uint16_t acl_handle) { in BTA_dm_acl_up() argument
751 FROM_HERE, base::BindOnce(bta_dm_acl_up, bd_addr, transport, acl_handle)); in BTA_dm_acl_up()
1791 uint16_t acl_handle) { in bta_dm_acl_up() argument
1792 ::bta_dm_acl_up(bd_addr, transport, acl_handle); in bta_dm_acl_up()
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dinformational.rs578 let acl_handle = acl.handle; in report_sco_connection_start() localVariable
588 self.sco_handles.insert(handle, acl_handle); in report_sco_connection_start()
594 let acl_handle = self.sco_handles[&handle]; in report_connection_end() localVariable
595 let conn = self.get_or_allocate_connection(&acl_handle); in report_connection_end()
612 self.sco_handles.retain(|_sco_handle, acl_handle| *acl_handle != handle); in report_connection_end()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_l2cap_api.h377 std::function<bool(uint16_t acl_handle)> body{
378 [](uint16_t acl_handle) { return false; }};
379 bool operator()(uint16_t acl_handle) { return body(acl_handle); }; in operator()
Dmock_bta_dm_act.h69 uint16_t acl_handle)>
73 uint16_t acl_handle) { in operator()
74 body(bd_addr, transport, acl_handle); in operator()
Dmock_bta_dm_act.cc93 uint16_t acl_handle) { in BTA_dm_acl_up() argument
95 test::mock::bta_dm_act::BTA_dm_acl_up(bd_addr, transport, acl_handle); in BTA_dm_acl_up()
/packages/modules/Bluetooth/system/bta/include/
Dbta_dm_acl.h27 uint16_t acl_handle);
Dbta_api.h175 uint16_t acl_handle; member
/packages/modules/Bluetooth/system/test/headless/mode/
Dmode.cc135 acl_disconnect_from_handle(acl->acl_handle, HCI_SUCCESS, in do_mode()
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevices.cc1011 uint16_t acl_handle = BTM_GetHCIConnHandle(address_, BT_TRANSPORT_LE); in Dump() local
1019 << ", acl_handle: " << std::to_string(acl_handle) in Dump()
1056 uint16_t acl_handle = in DisconnectAcl() local
1058 if (acl_handle != HCI_INVALID_HANDLE) { in DisconnectAcl()
1059 acl_disconnect_from_handle(acl_handle, HCI_ERR_PEER_USER, in DisconnectAcl()
Dstate_machine.cc1676 uint16_t acl_handle = in CisCreateForDevice() local
1679 .acl_conn_handle = acl_handle}); in CisCreateForDevice()
1681 acl_handle); in CisCreateForDevice()
1683 << " acl_h:" << loghex(acl_handle) << ";;"; in CisCreateForDevice()
1726 uint16_t acl_handle = in CisCreate() local
1729 .acl_conn_handle = acl_handle}); in CisCreate()
1731 acl_handle); in CisCreate()
/packages/modules/Bluetooth/system/test/headless/connect/
Dconnect.cc143 ((acl_state_changed_params_t*)(acl2.get()))->acl_handle, HCI_SUCCESS, in do_connect()
/packages/modules/Bluetooth/system/btif/include/
Dcore_callbacks.h59 uint16_t acl_handle);
Dbtif_common.h167 uint16_t acl_handle);
/packages/modules/Bluetooth/system/main/shim/
Dl2c_api.h458 bool L2CA_IsLeLink(uint16_t acl_handle);
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc1420 uint16_t acl_handle) { in invoke_acl_state_changed_cb() argument
1424 bt_conn_direction_t direction, uint16_t acl_handle) { in invoke_acl_state_changed_cb() argument
1426 transport_link_type, hci_reason, direction, acl_handle); in invoke_acl_state_changed_cb()
1429 acl_handle)); in invoke_acl_state_changed_cb()

12