Home
last modified time | relevance | path

Searched refs:connection_handle (Results 1 – 25 of 113) sorted by relevance

12345

/packages/modules/Bluetooth/system/gd/hci/
Ddistance_measurement_manager.cc139 uint16_t connection_handle, in OnOpened()
143 connection_handle, in OnOpened()
145 if (cs_trackers_.find(connection_handle) == cs_trackers_.end()) { in OnOpened()
146 log::error("Can't find CS tracker for connection_handle {}", connection_handle); in OnOpened()
148 cs_trackers_[connection_handle].address, REASON_INTERNAL_ERROR, METHOD_CS); in OnOpened()
152 auto& tracker = cs_trackers_[connection_handle]; in OnOpened()
160 start_distance_measurement_with_cs(tracker.address, connection_handle, tracker.interval_ms); in OnOpened()
163 void OnOpenFailed(uint16_t connection_handle) { in OnOpenFailed()
164 log::info("connection_handle:0x{:04x}", connection_handle); in OnOpenFailed()
166 cs_trackers_[connection_handle].address, REASON_INTERNAL_ERROR, METHOD_CS); in OnOpenFailed()
[all …]
Dhci_metrics_logging.cc75 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command() local
113 connection_handle = disconnect_view.GetConnectionHandle(); in log_link_layer_connection_command()
123 connection_handle = setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command()
133 connection_handle = enhanced_setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command()
258 connection_handle, in log_link_layer_connection_command()
275 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command_status() local
312 connection_handle = disconnect_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
322 connection_handle = setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
332 connection_handle = enhanced_setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
469 connection_handle, in log_link_layer_connection_command_status()
[all …]
Dle_periodic_sync_manager.h52 int connection_handle; member
158 … address, uint16_t service_data, uint16_t sync_handle, int pa_source, uint16_t connection_handle) { in TransferSync() argument
165 PeriodicSyncTransferStates request{pa_source, connection_handle, address}; in TransferSync()
168 …hci::LePeriodicAdvertisingSyncTransferBuilder::Create(connection_handle, service_data, sync_handle… in TransferSync()
173 connection_handle)); in TransferSync()
177 …s& address, uint16_t service_data, uint8_t adv_handle, int pa_source, uint16_t connection_handle) { in SyncSetInfo() argument
183 PeriodicSyncTransferStates request{pa_source, connection_handle, address}; in SyncSetInfo()
186 …hci::LePeriodicAdvertisingSetInfoTransferBuilder::Create(connection_handle, service_data, adv_hand… in SyncSetInfo()
191 connection_handle)); in SyncSetInfo()
269 …void HandlePeriodicAdvertisingSyncTransferComplete(uint16_t connection_handle, CommandCompleteView… in HandlePeriodicAdvertisingSyncTransferComplete() argument
[all …]
/packages/modules/Bluetooth/system/gd/hal/
Dranging_hal_android.cc49 uint16_t connection_handle, in BluetoothChannelSoundingSessionTracker() argument
52 : connection_handle_(connection_handle), in BluetoothChannelSoundingSessionTracker()
140 uint16_t connection_handle, in OpenSession() argument
145 connection_handle, in OpenSession()
148 session_trackers_[connection_handle] = in OpenSession()
150 connection_handle, ranging_hal_callback_, false); in OpenSession()
152 parameters.aclHandle = connection_handle; in OpenSession()
157 auto& tracker = session_trackers_[connection_handle]; in OpenSession()
173 ranging_hal_callback_->OnOpened(connection_handle, vendor_specific_reply); in OpenSession()
178 uint16_t connection_handle, in HandleVendorSpecificReply() argument
[all …]
Dranging_hal.h48 uint16_t connection_handle,
50 virtual void OnOpenFailed(uint16_t connection_handle) = 0;
51 virtual void OnHandleVendorSpecificReplyComplete(uint16_t connection_handle, bool success) = 0;
52 virtual void OnResult(uint16_t connection_handle, const RangingResult& ranging_result) = 0;
64 uint16_t connection_handle,
68 uint16_t connection_handle,
70 virtual void WriteRawData(uint16_t connection_handle, const ChannelSoundingRawData& raw_data) = 0;
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/ADV/
DBV_09_C.py83 connection_handle=0xefe)
96 connection_handle=0xeff)
120 connection_handle=0x000)
133 connection_handle=0x001)
155 connection_handle=0x002)
167 connection_handle=0x003)
212 connection_handle=0x004)
215 …steps_4_14(self, peer_address: Address, peer_address_type: ll.AddressType, connection_handle: int):
308 connection_handle=connection_handle,
327 connection_handle=connection_handle,
[all …]
DBV_06_C.py40 connection_handle = 0xefe
94 connection_handle=connection_handle,
106 hci.Disconnect(connection_handle=connection_handle,
120 connection_handle=connection_handle,
DBV_19_C.py36 connection_handle = 0xefe
111 connection_handle=connection_handle,
129 connection_handle=connection_handle,
DBV_11_C.py37 connection_handle = 0xefe
133 connection_handle=connection_handle,
152 connection_handle=connection_handle,
/packages/modules/Bluetooth/system/pdl/hci/
Dhci_packets.pdl1142 connection_handle : 12,
1151 connection_handle : 12,
1236 connection_handle : 12,
1245 connection_handle : 12,
1253 connection_handle : 12,
1262 connection_handle : 12,
1302 connection_handle : 12,
1310 connection_handle : 12,
1319 connection_handle : 12,
1327 connection_handle : 12,
[all …]
/packages/modules/Bluetooth/tools/rootcanal/rust/src/llcp/
Diso.rs427 connection_handle: vec![], in hci_le_set_cig_parameters()
598 connection_handle: cis_connection_handles, in hci_le_set_cig_parameters()
616 connection_handle: vec![], in hci_le_set_cig_parameters_test()
763 connection_handle: cis_connection_handles, in hci_le_set_cig_parameters_test()
909 let connection_handle: u16 = packet.get_connection_handle(); in hci_le_accept_cis_request() localVariable
918 if !self.cis_connections.contains_key(&connection_handle) { in hci_le_accept_cis_request()
921 connection_handle in hci_le_accept_cis_request()
926 let cis = self.cis_connections.get_mut(&connection_handle).unwrap(); in hci_le_accept_cis_request()
933 connection_handle in hci_le_accept_cis_request()
945 connection_handle in hci_le_accept_cis_request()
[all …]
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dgatt.py82 connection_handle = int.from_bytes(request.connection.cookie.value, 'big')
85 connection = self.device.lookup_connection(connection_handle)
96 connection_handle = int.from_bytes(request.connection.cookie.value, 'big')
99 connection = self.device.lookup_connection(connection_handle)
114 connection_handle = int.from_bytes(request.connection.cookie.value, 'big')
117 connection = self.device.lookup_connection(connection_handle)
156 connection_handle = int.from_bytes(request.connection.cookie.value, 'big')
159 connection = self.device.lookup_connection(connection_handle)
204 connection_handle = int.from_bytes(request.connection.cookie.value, 'big')
207 connection = self.device.lookup_connection(connection_handle)
[all …]
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dhci_packets.pdl1004 connection_handle : 12,
1013 connection_handle : 12,
1098 connection_handle : 12,
1107 connection_handle : 12,
1115 connection_handle : 12,
1124 connection_handle : 12,
1164 connection_handle : 12,
1172 connection_handle : 12,
1181 connection_handle : 12,
1189 connection_handle : 12,
[all …]
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_le_audio.py261 def parse_codec_information(connection_handle, ase_id, packet): argument
266 ase = connection_map[connection_handle].ase[ase_id]
284 def parse_att_read_by_type_rsp(packet, connection_handle): argument
302 connection_map[connection_handle].ase_handle = value_handle
305 def parse_att_write_cmd(packet, connection_handle, timestamp): argument
309 connection_map[connection_handle].ase_handle = ase_handle
311 if connection_map[connection_handle].ase_handle == attribute_handle:
317 … (connection_map[connection_handle].number_of_ases, packet) = unpack_data(packet, 1, False)
318 for i in range(connection_map[connection_handle].number_of_ases):
322 packet = parse_codec_information(connection_handle, ase_id, packet)
[all …]
Ddump_hearingaid_audio.py223 connection_handle, data = unpack_data(data, 2)
224 connection_handle = connection_handle & 0x0FFF
232 if connection_handle <= 0x0EFF:
234 result[CONNECTION_HANDLE] = connection_handle
237 result[CONNECTION_HANDLE] = connection_handle
285 connection_handle, data = unpack_data(data, 2)
286 connection_handle = connection_handle & 0x0FFF
292 and status == 0x00 and connection_handle <= 0x0EFF:
293 result[CONNECTION_HANDLE] = connection_handle
463 def get_audio_control_attr_handle(connection_handle): argument
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CIS/CEN/
DBV_26_C.py85 connection_handle=[cis_connection_handle]))
150 connection_handle=cis_connection_handle,
170 connection_handle=cis_connection_handle,
181 connection_handle=cis_connection_handle))
188 connection_handle=cis_connection_handle,
206 …hci.Disconnect(connection_handle=cis_connection_handle, reason=ErrorCode.REMOTE_USER_TERMINATED_CO…
223 connection_handle=cis_connection_handle,
261 connection_handle=[cis_connection_handle]))
322 connection_handle=cis_connection_handle,
342 connection_handle=cis_connection_handle,
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/CEN/
DBV_41_C.py90 connection_handle=acl_connection_handle,
100 hci.LeChannelSelectionAlgorithm(connection_handle=acl_connection_handle,
145 …async def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to…
160 hci.LeSetPhy(connection_handle=connection_handle,
227 hci.LePhyUpdateComplete(connection_handle=connection_handle,
DBV_43_C.py87 connection_handle=acl_connection_handle,
97 hci.LeChannelSelectionAlgorithm(connection_handle=acl_connection_handle,
109 hci.LeSetPhy(connection_handle=acl_connection_handle,
131 connection_handle=acl_connection_handle,
197 …async def steps_3_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to…
246 hci.LePhyUpdateComplete(connection_handle=connection_handle,
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/PER/
DBV_40_C.py76 connection_handle=acl_connection_handle,
166 …async def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to…
182 hci.LeSetPhy(connection_handle=connection_handle,
242 hci.LePhyUpdateComplete(connection_handle=connection_handle,
DBV_42_C.py76 connection_handle=acl_connection_handle,
89 hci.LeSetPhy(connection_handle=acl_connection_handle,
109 connection_handle=acl_connection_handle,
175 …async def steps_4_11(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_t…
250 hci.LePhyUpdateComplete(connection_handle=connection_handle,
/packages/modules/Bluetooth/android/pandora/test/
Dsdp_test.py88 connection_handle = int.from_bytes(ref_dut.cookie.value, 'big')
89 connection = self.ref.device.lookup_connection(connection_handle) # type: ignore
117 connection_handle = int.from_bytes(ref_dut.cookie.value, 'big')
118 connection = self.ref.device.lookup_connection(connection_handle) # type: ignore
161 connection_handle = int.from_bytes(ref_dut.cookie.value, 'big')
162 connection = self.ref.device.lookup_connection(connection_handle) # type: ignore
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CIS/PER/
DBV_01_C.py111 controller.send_cmd(hci.LeAcceptCisRequest(connection_handle=cis_connection_handle))
142 connection_handle=cis_connection_handle,
162 connection_handle=cis_connection_handle,
173 connection_handle=cis_connection_handle))
187 connection_handle=cis_connection_handle,
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc66 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
81 connection_handle, in LogMetricLinkLayerConnectionEvent()
100 connection_handle, in LogMetricLinkLayerConnectionEvent()
512 uint32_t reason, const Address& address, uint32_t connection_handle) { in LogMetricBluetoothDisconnectionReasonReported() argument
517 …t ret = stats_write(BLUETOOTH_DISCONNECTION_REASON_REPORTED, reason, metric_id, connection_handle); in LogMetricBluetoothDisconnectionReasonReported()
524 connection_handle, in LogMetricBluetoothDisconnectionReasonReported()
530 const Address& address, uint32_t page, uint64_t features, uint32_t connection_handle) { in LogMetricBluetoothRemoteSupportedFeatures() argument
540 connection_handle); in LogMetricBluetoothRemoteSupportedFeatures()
548 connection_handle, in LogMetricBluetoothRemoteSupportedFeatures()
/packages/modules/Bluetooth/tools/rootcanal/test/LL/SEC/ADV/
DBV_11_C.py149 connection_handle=self.Any,
163 hci.Disconnect(connection_handle=connection_complete_evt.connection_handle,
175 connection_handle=connection_complete_evt.connection_handle,
/packages/modules/Bluetooth/tools/rootcanal/test/LMP/LIH/
DBV_142_C.py49 connection_handle=acl_connection_handle,
54 controller.send_cmd(hci.WriteLinkPolicySettings(connection_handle=acl_connection_handle,
60 connection_handle=acl_connection_handle))

12345