Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/system/gd/hci/
Dhci_packets.pdl984 connection_handle : 12,
993 connection_handle : 12,
1078 connection_handle : 12,
1087 connection_handle : 12,
1095 connection_handle : 12,
1104 connection_handle : 12,
1144 connection_handle : 12,
1152 connection_handle : 12,
1161 connection_handle : 12,
1169 connection_handle : 12,
[all …]
Dhci_metrics_logging.cc74 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command() local
107 connection_handle = disconnect_view.GetConnectionHandle(); in log_link_layer_connection_command()
115 connection_handle = setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command()
123 connection_handle = enhanced_setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command()
226 connection_handle, in log_link_layer_connection_command()
243 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command_status() local
275 connection_handle = disconnect_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
283 connection_handle = setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
291 connection_handle = enhanced_setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
406 connection_handle, in log_link_layer_connection_command_status()
[all …]
Dle_periodic_sync_manager.h47 int connection_handle; member
150 … address, uint16_t service_data, uint16_t sync_handle, int pa_source, uint16_t connection_handle) { in TransferSync() argument
157 PeriodicSyncTransferStates request{pa_source, connection_handle, address}; in TransferSync()
160 …hci::LePeriodicAdvertisingSyncTransferBuilder::Create(connection_handle, service_data, sync_handle… in TransferSync()
165 connection_handle)); in TransferSync()
169 …s& address, uint16_t service_data, uint8_t adv_handle, int pa_source, uint16_t connection_handle) { in SyncSetInfo() argument
175 PeriodicSyncTransferStates request{pa_source, connection_handle, address}; in SyncSetInfo()
178 …hci::LePeriodicAdvertisingSetInfoTransferBuilder::Create(connection_handle, service_data, adv_hand… in SyncSetInfo()
183 connection_handle)); in SyncSetInfo()
208 …void HandlePeriodicAdvertisingSyncTransferComplete(uint16_t connection_handle, CommandCompleteView… in HandlePeriodicAdvertisingSyncTransferComplete() argument
[all …]
Dle_periodic_sync_manager_test.cc414 uint16_t connection_handle = 0x12; in TEST_F() local
417 …odic_sync_manager_->TransferSync(address, service_data, sync_handle, pa_source, connection_handle); in TEST_F()
421 ASSERT_EQ(connection_handle, packet_view.GetConnectionHandle()); in TEST_F()
429 …riodicAdvertisingSyncTransferCompleteBuilder::Create(0x00, ErrorCode::SUCCESS, connection_handle)); in TEST_F()
439 uint16_t connection_handle = 0x12; in TEST_F() local
442 …ync_manager_->SyncSetInfo(address, service_data, advertising_handle, pa_source, connection_handle); in TEST_F()
446 ASSERT_EQ(connection_handle, packet_view.GetConnectionHandle()); in TEST_F()
454 …dicAdvertisingSetInfoTransferCompleteBuilder::Create(0x00, ErrorCode::SUCCESS, connection_handle)); in TEST_F()
/packages/modules/Bluetooth/system/gd/btaa/linux_generic/
Dhci_processor.cc24 void DeviceParser::match_handle_with_address(uint16_t connection_handle, hci::Address& address) { in match_handle_with_address() argument
25 if (connection_handle && !address.IsEmpty()) { in match_handle_with_address()
26 connection_lookup_table_[connection_handle] = address; in match_handle_with_address()
27 } else if (connection_handle) { in match_handle_with_address()
28 if (connection_lookup_table_.find(connection_handle) != connection_lookup_table_.end()) { in match_handle_with_address()
29 address = connection_lookup_table_[connection_handle]; in match_handle_with_address()
209 auto connection_handle = acl.begin(); in process_acl() local
211 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_acl()
222 auto connection_handle = sco.begin(); in process_sco() local
224 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_sco()
[all …]
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_le_audio.py245 def parse_codec_information(connection_handle, ase_id, packet): argument
250 ase = connection_map[connection_handle].ase[ase_id]
268 def parse_att_read_by_type_rsp(packet, connection_handle): argument
286 connection_map[connection_handle].ase_handle = value_handle
289 def parse_att_write_cmd(packet, connection_handle, timestamp): argument
293 connection_map[connection_handle].ase_handle = ase_handle
295 if connection_map[connection_handle].ase_handle == attribute_handle:
301 … (connection_map[connection_handle].number_of_ases, packet) = unpack_data(packet, 1, False)
302 for i in range(connection_map[connection_handle].number_of_ases):
306 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/system/test/mock/
Dmock_stack_btm_ble_advertiser_hci_interface.h63 std::function<void(uint8_t status, uint16_t connection_handle)> body{
64 [](uint8_t status, uint16_t connection_handle) {}};
65 void operator()(uint8_t status, uint16_t connection_handle) { in operator()
66 body(status, connection_handle); in operator()
Dmock_stack_metrics_logging.h79 std::function<void(const RawAddress* address, uint32_t connection_handle,
84 body{[](const RawAddress* address, uint32_t connection_handle,
88 void operator()(const RawAddress* address, uint32_t connection_handle, in operator()
93 body(address, connection_handle, direction, link_type, hci_cmd, hci_event, in operator()
Dmock_stack_btm_ble_advertiser_hci_interface.cc69 uint16_t connection_handle) { in btm_ble_advertiser_notify_terminated_legacy() argument
72 btm_ble_advertiser_notify_terminated_legacy(status, connection_handle); in btm_ble_advertiser_notify_terminated_legacy()
Dmock_main_shim_metrics_api.h61 std::function<void(const RawAddress* raw_address, uint32_t connection_handle,
66 body{[](const RawAddress* raw_address, uint32_t connection_handle,
70 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator()
75 body(raw_address, connection_handle, direction, link_type, hci_cmd, in operator()
Dmock_stack_metrics_logging.cc80 const RawAddress* address, uint32_t connection_handle, in log_link_layer_connection_event() argument
86 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc48 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
63 connection_handle, in LogMetricLinkLayerConnectionEvent()
82 connection_handle, in LogMetricLinkLayerConnectionEvent()
467 uint32_t reason, const Address& address, uint32_t connection_handle) { in LogMetricBluetoothDisconnectionReasonReported() argument
472 …t ret = stats_write(BLUETOOTH_DISCONNECTION_REASON_REPORTED, reason, metric_id, connection_handle); in LogMetricBluetoothDisconnectionReasonReported()
479 connection_handle, in LogMetricBluetoothDisconnectionReasonReported()
485 const Address& address, uint32_t page, uint64_t features, uint32_t connection_handle) { in LogMetricBluetoothRemoteSupportedFeatures() argument
490 …_write(BLUETOOTH_REMOTE_SUPPORTED_FEATURES_REPORTED, metric_id, page, features, connection_handle); in LogMetricBluetoothRemoteSupportedFeatures()
498 connection_handle, in LogMetricBluetoothRemoteSupportedFeatures()
/packages/modules/Bluetooth/system/gd/security/channel/
Dsecurity_manager_channel_unittest.cc479 uint16_t connection_handle = 0x0; in TEST_F() local
481 …hci::CentralLinkKeyCompleteBuilder::Create(hci::ErrorCode::SUCCESS, connection_handle, hci::KeyFla… in TEST_F()
487 uint16_t connection_handle = 0x0; in TEST_F() local
489 … hci::ChangeConnectionLinkKeyCompleteBuilder::Create(hci::ErrorCode::SUCCESS, connection_handle)); in TEST_F()
580 uint16_t connection_handle = 0x0; in TEST_F() local
582 …hci::EncryptionChangeBuilder::Create(hci::ErrorCode::SUCCESS, connection_handle, hci::EncryptionEn… in TEST_F()
588 uint16_t connection_handle = 0x0; in TEST_F() local
590 hci::EncryptionKeyRefreshCompleteBuilder::Create(hci::ErrorCode::SUCCESS, connection_handle)); in TEST_F()
597 uint16_t connection_handle = 0x0; in TEST_F() local
598 auto packet = hci::RefreshEncryptionKeyBuilder::Create(connection_handle); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_bqr.cc58 STREAM_TO_UINT16(bqr_link_quality_event_.connection_handle, p_param_buf); in ParseBqrLinkQualityEvt()
113 STREAM_TO_UINT16(bqr_log_dump_event_.connection_handle, p_param_buf); in WriteLmpLlTraceLogFile()
120 << "Handle: " << loghex(bqr_log_dump_event_.connection_handle) in WriteLmpLlTraceLogFile()
135 STREAM_TO_UINT16(bqr_log_dump_event_.connection_handle, p_param_buf); in WriteBtSchedulingTraceLogFile()
142 << "Handle: " << loghex(bqr_log_dump_event_.connection_handle) in WriteBtSchedulingTraceLogFile()
154 << ", Handle: " << loghex(bqr_link_quality_event_.connection_handle) in ToString()
460 p_bqr_event->bqr_link_quality_event_.connection_handle, in AddLinkQualityEventToQueue()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_acl_connection.cc27 …onnectionTracker(LeAclConnectionInterface* le_acl_connection_interface, uint16_t connection_handle) in LeAclConnectionTracker() argument
28 …le_acl_connection_interface_(le_acl_connection_interface), connection_handle_(connection_handle) {} in LeAclConnectionTracker()
91 …onInterface* le_acl_connection_interface, std::shared_ptr<Queue> queue, uint16_t connection_handle) in impl()
92 : queue_(std::move(queue)), tracker(le_acl_connection_interface, connection_handle) {} in impl()
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc72 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
116 uint32_t reason, const Address& address, uint32_t connection_handle) {} in LogMetricBluetoothDisconnectionReasonReported() argument
119 const Address& address, uint32_t page, uint64_t features, uint32_t connection_handle) {} in LogMetricBluetoothRemoteSupportedFeatures() argument
/packages/modules/Bluetooth/system/gd/os/host/
Dmetrics.cc72 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
116 uint32_t reason, const Address& address, uint32_t connection_handle) {} in LogMetricBluetoothDisconnectionReasonReported() argument
119 const Address& address, uint32_t page, uint64_t features, uint32_t connection_handle) {} in LogMetricBluetoothRemoteSupportedFeatures() argument
/packages/modules/Bluetooth/system/gd/os/
Dmetrics.h52 uint32_t connection_handle,
282 uint32_t reason, const hci::Address& address, uint32_t connection_handle);
285 const hci::Address& address, uint32_t page, uint64_t features, uint32_t connection_handle);
/packages/modules/Bluetooth/tools/rootcanal/lmp/test/ENC/
DBV-05-C.in4 connection_handle: context.peer_handle(),
37 connection_handle: context.peer_handle(),
DBV-34-C.in4 connection_handle: context.peer_handle(),
37 connection_handle: context.peer_handle(),
/packages/modules/Bluetooth/tools/rootcanal/lmp/test/SP/
DBV-31-C.in4 connection_handle: context.peer_handle()
39 connection_handle: context.peer_handle(),
DBV-05-C.in4 connection_handle: context.peer_handle()
104 connection_handle: context.peer_handle(),
/packages/modules/Bluetooth/system/stack/metrics/
Dstack_metrics_logging.cc36 const RawAddress* address, uint32_t connection_handle, in log_link_layer_connection_event() argument
41 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/procedure/
Dencryption.rs49 connection_handle: ctx.peer_handle(), in initiate()
92 connection_handle: ctx.peer_handle(), in respond()

123