Home
last modified time | relevance | path

Searched refs:complete_view (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.cc167 auto complete_view = RoleDiscoveryCompleteView::Create(view); in on_role_discovery_complete() local
168 if (!complete_view.IsValid()) { in on_role_discovery_complete()
171 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_role_discovery_complete()
172 auto status = complete_view.GetStatus(); in on_role_discovery_complete()
177 OnRoleDiscoveryComplete(complete_view.GetCurrentRole()); in on_role_discovery_complete()
181 auto complete_view = ReadLinkPolicySettingsCompleteView::Create(view); in on_read_link_policy_settings_complete() local
182 if (!complete_view.IsValid()) { in on_read_link_policy_settings_complete()
185 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_link_policy_settings_complete()
186 auto status = complete_view.GetStatus(); in on_read_link_policy_settings_complete()
191 OnReadLinkPolicySettingsComplete(complete_view.GetLinkPolicySettings()); in on_read_link_policy_settings_complete()
[all …]
Dclassic_impl.h464 CentralLinkKeyCompleteView complete_view = CentralLinkKeyCompleteView::Create(packet); in on_central_link_key_complete() local
465 if (!complete_view.IsValid()) { in on_central_link_key_complete()
468 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_central_link_key_complete()
469 auto status = complete_view.GetStatus(); in on_central_link_key_complete()
474 uint16_t handle = complete_view.GetConnectionHandle(); in on_central_link_key_complete()
476 KeyFlag key_flag = complete_view.GetKeyFlag(); in on_central_link_key_complete()
494 …ChangeConnectionLinkKeyCompleteView complete_view = ChangeConnectionLinkKeyCompleteView::Create(pa… in on_change_connection_link_key_complete() local
495 if (!complete_view.IsValid()) { in on_change_connection_link_key_complete()
498 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_change_connection_link_key_complete()
499 auto status = complete_view.GetStatus(); in on_change_connection_link_key_complete()
[all …]
Dle_impl.h559 auto complete_view = LeConnectionUpdateCompleteView::Create(view); in on_le_connection_update_complete() local
560 if (!complete_view.IsValid()) { in on_le_connection_update_complete()
564 auto handle = complete_view.GetConnectionHandle(); in on_le_connection_update_complete()
567 complete_view.GetStatus(), in on_le_connection_update_complete()
568 complete_view.GetConnInterval(), in on_le_connection_update_complete()
569 complete_view.GetConnLatency(), in on_le_connection_update_complete()
570 complete_view.GetSupervisionTimeout()); in on_le_connection_update_complete()
575 auto complete_view = LePhyUpdateCompleteView::Create(view); in on_le_phy_update_complete() local
576 if (!complete_view.IsValid()) { in on_le_phy_update_complete()
580 auto handle = complete_view.GetConnectionHandle(); in on_le_phy_update_complete()
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dcontroller.cc253 auto complete_view = NumberOfCompletedPacketsView::Create(event); in NumberOfCompletedPackets() local
254 ASSERT(complete_view.IsValid()); in NumberOfCompletedPackets()
255 for (auto completed_packets : complete_view.GetCompletedPackets()) { in NumberOfCompletedPackets()
296 auto complete_view = WriteSecureConnectionsHostSupportCompleteView::Create(view); in write_secure_connections_host_support_complete_handler() local
297 ASSERT(complete_view.IsValid()); in write_secure_connections_host_support_complete_handler()
298 ErrorCode status = complete_view.GetStatus(); in write_secure_connections_host_support_complete_handler()
303 auto complete_view = ReadLocalNameCompleteView::Create(view); in read_local_name_complete_handler() local
304 ASSERT(complete_view.IsValid()); in read_local_name_complete_handler()
305 ErrorCode status = complete_view.GetStatus(); in read_local_name_complete_handler()
307 std::array<uint8_t, 248> local_name_array = complete_view.GetLocalName(); in read_local_name_complete_handler()
[all …]
Dle_scanning_manager.cc1449 auto complete_view = LeAdvFilterEnableCompleteView::Create(status_view); in on_advertising_filter_complete() local
1450 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete()
1451 …scanning_callbacks_->OnFilterEnable(complete_view.GetApcfEnable(), (uint8_t)complete_view.GetStatu… in on_advertising_filter_complete()
1454 auto complete_view = LeAdvFilterSetFilteringParametersCompleteView::Create(status_view); in on_advertising_filter_complete() local
1455 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete()
1457complete_view.GetApcfAvailableSpaces(), complete_view.GetApcfAction(), (uint8_t)complete_view.GetS… in on_advertising_filter_complete()
1460 auto complete_view = LeAdvFilterBroadcasterAddressCompleteView::Create(status_view); in on_advertising_filter_complete() local
1461 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete()
1464 complete_view.GetApcfAvailableSpaces(), in on_advertising_filter_complete()
1465 complete_view.GetApcfAction(), in on_advertising_filter_complete()
[all …]
Dle_advertising_manager.cc1593 auto complete_view = LeReadAdvertisingPhysicalChannelTxPowerCompleteView::Create(view); in on_read_advertising_physical_channel_tx_power() local
1594 if (!complete_view.IsValid()) { in on_read_advertising_physical_channel_tx_power()
1601 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_read_advertising_physical_channel_tx_power()
1602 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_advertising_physical_channel_tx_power()
1603 log::info("Got a command complete with status {}", ErrorCodeText(complete_view.GetStatus())); in on_read_advertising_physical_channel_tx_power()
1606 le_physical_channel_tx_power_ = complete_view.GetTransmitPowerLevel(); in on_read_advertising_physical_channel_tx_power()
1616 auto complete_view = View::Create(view); in on_set_advertising_enable_complete() local
1617 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_set_advertising_enable_complete()
1619 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_set_advertising_enable_complete()
1620 log::info("Got a command complete with status {}", ErrorCodeText(complete_view.GetStatus())); in on_set_advertising_enable_complete()
[all …]
Ddistance_measurement_manager.cc574 auto complete_view = LeCsReadLocalSupportedCapabilitiesCompleteView::Create(view); in on_cs_read_local_supported_capabilities() local
575 if (!complete_view.IsValid()) { in on_cs_read_local_supported_capabilities()
578 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_cs_read_local_supported_capabilities()
579 std::string error_code = ErrorCodeText(complete_view.GetStatus()); in on_cs_read_local_supported_capabilities()
584 cs_subfeature_supported_ = complete_view.GetOptionalSubfeaturesSupported(); in on_cs_read_local_supported_capabilities()
624 auto complete_view = LeCsSetDefaultSettingsCompleteView::Create(view); in on_cs_set_default_settings_complete() local
625 if (!complete_view.IsValid()) { in on_cs_set_default_settings_complete()
628 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_cs_set_default_settings_complete()
629 std::string error_code = ErrorCodeText(complete_view.GetStatus()); in on_cs_set_default_settings_complete()
689 auto complete_view = LeCsSetProcedureParametersCompleteView::Create(view); in on_cs_set_procedure_parameters() local
[all …]
Dle_address_manager.cc639 auto complete_view = View::Create(view); in on_command_complete() local
640 if (!complete_view.IsValid()) { in on_command_complete()
644 auto status = complete_view.GetStatus(); in on_command_complete()
649 ErrorCodeText(complete_view.GetStatus())); in on_command_complete()
671 auto complete_view = LeSetRandomAddressCompleteView::Create(view); in OnCommandComplete() local
672 if (!complete_view.IsValid()) { in OnCommandComplete()
675 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in OnCommandComplete()
678 ErrorCodeText(complete_view.GetStatus())); in OnCommandComplete()
Dhci_layer_fake.cc176 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
177 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
178 std::move(command_complete_callbacks.front())(complete_view); in CommandCompleteCallback()
Dle_periodic_sync_manager_test.cc113 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
114 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
116 std::move(command_complete_callbacks.front())(complete_view); in CommandCompleteCallback()
Dhci_metrics_logging.cc35 CommandCompleteView complete_view = CommandCompleteView::Create(event_view); in log_hci_event() local
36 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in log_hci_event()
37 if (complete_view.GetCommandOpCode() == OpCode::NONE) { in log_hci_event()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc592 [](bluetooth::hci::CommandCompleteView complete_view) { in BTM_CancelInquiry() argument
594 bluetooth::hci::InquiryCancelCompleteView>(complete_view); in BTM_CancelInquiry()