Home
last modified time | relevance | path

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

12

/system/bt/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_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_stack_metrics_logging.h78 std::function<void(const RawAddress* address, uint32_t connection_handle,
83 body{[](const RawAddress* address, uint32_t connection_handle,
87 void operator()(const RawAddress* address, uint32_t connection_handle, in operator()
92 body(address, connection_handle, direction, link_type, hci_cmd, hci_event, in operator()
Dmock_stack_metrics_logging.cc79 const RawAddress* address, uint32_t connection_handle, in log_link_layer_connection_event() argument
85 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
Dmock_main_shim_metrics_api.h59 std::function<void(const RawAddress* raw_address, uint32_t connection_handle,
64 body{[](const RawAddress* raw_address, uint32_t connection_handle,
68 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator()
73 body(raw_address, connection_handle, direction, link_type, hci_cmd, in operator()
Dmock_main_shim_metrics_api.cc78 const RawAddress* raw_address, uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
84 raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, in LogMetricLinkLayerConnectionEvent()
/system/bt/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 …]
/system/bt/gd/hci/
Dhci_packets.pdl961 connection_handle : 12,
1045 connection_handle : 12,
1054 connection_handle : 12,
1062 connection_handle : 12,
1071 connection_handle : 12,
1111 connection_handle : 12,
1119 connection_handle : 12,
1128 connection_handle : 12,
1136 connection_handle : 12,
1144 connection_handle : 12,
[all …]
Dhci_metrics_logging.cc64 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command_status() local
96 connection_handle = disconnect_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
104 connection_handle = setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
112 connection_handle = enhanced_setup_synchronous_connection_view.GetConnectionHandle(); in log_link_layer_connection_command_status()
227 connection_handle, in log_link_layer_connection_command_status()
244 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_command_complete() local
308 connection_handle, in log_link_layer_connection_command_complete()
321 uint32_t connection_handle = bluetooth::os::kUnknownConnectionHandle; in log_link_layer_connection_other_hci_event() local
332 connection_handle = connection_complete_view.GetConnectionHandle(); in log_link_layer_connection_other_hci_event()
337 log_remote_device_information(address, connection_handle, status, storage_module); in log_link_layer_connection_other_hci_event()
[all …]
Dhci_metrics_logging.h36 …const Address& address, uint32_t connection_handle, ErrorCode status, storage::StorageModule* stor…
/system/bt/tools/scripts/
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 …]
/system/bt/stack/metrics/
Dstack_metrics_logging.cc42 const RawAddress* address, uint32_t connection_handle, in log_link_layer_connection_event() argument
48 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
52 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
/system/bt/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()
86 …onInterface* le_acl_connection_interface, std::shared_ptr<Queue> queue, uint16_t connection_handle) in impl()
87 : queue_(std::move(queue)), tracker(le_acl_connection_interface, connection_handle) {} in impl()
/system/bt/btif/src/
Dbtif_bqr.cc55 STREAM_TO_UINT16(bqr_link_quality_event_.connection_handle, p_param_buf); in ParseBqrLinkQualityEvt()
86 STREAM_TO_UINT16(bqr_log_dump_event_.connection_handle, p_param_buf); in WriteLmpLlTraceLogFile()
93 << "Handle: " << loghex(bqr_log_dump_event_.connection_handle) in WriteLmpLlTraceLogFile()
108 STREAM_TO_UINT16(bqr_log_dump_event_.connection_handle, p_param_buf); in WriteBtSchedulingTraceLogFile()
115 << "Handle: " << loghex(bqr_log_dump_event_.connection_handle) in WriteBtSchedulingTraceLogFile()
127 << ", Handle: " << loghex(bqr_link_quality_event_.connection_handle) in ToString()
405 p_bqr_event->bqr_link_quality_event_.connection_handle, in AddLinkQualityEventToQueue()
/system/bt/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 …]
/system/bt/stack/include/
Dstack_metrics_logging.h30 const RawAddress* address, uint32_t connection_handle,
/system/bt/btif/include/
Dbtif_bqr.h201 uint16_t connection_handle; member
254 uint16_t connection_handle; member
/system/bt/main/shim/
Dmetrics_api.cc28 const RawAddress* raw_address, uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
37 raw_address == nullptr ? nullptr : &address, connection_handle, direction, in LogMetricLinkLayerConnectionEvent()
Dmetrics_api.h44 const RawAddress* address, uint32_t connection_handle,
/system/bt/gd/os/android/
Dmetrics.cc42 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument
57 connection_handle, in LogMetricLinkLayerConnectionEvent()
76 connection_handle, in LogMetricLinkLayerConnectionEvent()
/system/bt/gd/rust/link/src/acl/
Dcore.rs150 match connections.get(&entry.connection_handle) { in provide_acl_dispatch()
160 … None => info!("dropping credits for unknown connection {}", entry.connection_handle), in provide_acl_dispatch()
/system/bt/gd/btaa/
Dhci_processor.h39 void match_handle_with_address(uint16_t connection_handle, hci::Address& address);
/system/bt/gd/security/
Dinitial_informations.h97 uint16_t connection_handle; member
Dpairing_handler_le.cc130 SendHciLeStartEncryption(i, i.connection_handle, {0}, {0}, ltk); in PairingMain()
133 SendHciLeLongTermKeyReply(i, i.connection_handle, ltk); in PairingMain()
159 SendHciLeStartEncryption(i, i.connection_handle, {0}, {0}, stk); in PairingMain()
162 SendHciLeLongTermKeyReply(i, i.connection_handle, stk); in PairingMain()
/system/bt/gd/os/linux/
Dmetrics.cc72 uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument

12