/packages/modules/Bluetooth/system/gd/hci/ |
D | controller.cc | 181 auto complete_view = NumberOfCompletedPacketsView::Create(event); in NumberOfCompletedPackets() local 182 ASSERT(complete_view.IsValid()); in NumberOfCompletedPackets() 183 for (auto completed_packets : complete_view.GetCompletedPackets()) { in NumberOfCompletedPackets() 224 auto complete_view = WriteSecureConnectionsHostSupportCompleteView::Create(view); in write_secure_connections_host_support_complete_handler() local 225 ASSERT(complete_view.IsValid()); in write_secure_connections_host_support_complete_handler() 226 ErrorCode status = complete_view.GetStatus(); in write_secure_connections_host_support_complete_handler() 231 auto complete_view = ReadLocalNameCompleteView::Create(view); in read_local_name_complete_handler() local 232 ASSERT(complete_view.IsValid()); in read_local_name_complete_handler() 233 ErrorCode status = complete_view.GetStatus(); in read_local_name_complete_handler() 235 std::array<uint8_t, 248> local_name_array = complete_view.GetLocalName(); in read_local_name_complete_handler() [all …]
|
D | le_scanning_manager.cc | 1353 auto complete_view = LeAdvFilterEnableCompleteView::Create(status_view); in on_advertising_filter_complete() local 1354 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete() 1355 …scanning_callbacks_->OnFilterEnable(complete_view.GetApcfEnable(), (uint8_t)complete_view.GetStatu… in on_advertising_filter_complete() 1358 auto complete_view = LeAdvFilterSetFilteringParametersCompleteView::Create(status_view); in on_advertising_filter_complete() local 1359 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete() 1361 …complete_view.GetApcfAvailableSpaces(), complete_view.GetApcfAction(), (uint8_t)complete_view.GetS… in on_advertising_filter_complete() 1364 auto complete_view = LeAdvFilterBroadcasterAddressCompleteView::Create(status_view); in on_advertising_filter_complete() local 1365 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete() 1368 complete_view.GetApcfAvailableSpaces(), in on_advertising_filter_complete() 1369 complete_view.GetApcfAction(), in on_advertising_filter_complete() [all …]
|
D | le_advertising_manager.cc | 1214 auto complete_view = LeReadAdvertisingPhysicalChannelTxPowerCompleteView::Create(view); in on_read_advertising_physical_channel_tx_power() local 1215 if (!complete_view.IsValid()) { in on_read_advertising_physical_channel_tx_power() 1222 ASSERT(complete_view.IsValid()); in on_read_advertising_physical_channel_tx_power() 1223 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_advertising_physical_channel_tx_power() 1224 …LOG_INFO("Got a command complete with status %s", ErrorCodeText(complete_view.GetStatus()).c_str()… in on_read_advertising_physical_channel_tx_power() 1227 le_physical_channel_tx_power_ = complete_view.GetTransmitPowerLevel(); in on_read_advertising_physical_channel_tx_power() 1237 auto complete_view = View::Create(view); in on_set_advertising_enable_complete() local 1238 ASSERT(complete_view.IsValid()); in on_set_advertising_enable_complete() 1240 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_set_advertising_enable_complete() 1241 …LOG_INFO("Got a command complete with status %s", ErrorCodeText(complete_view.GetStatus()).c_str()… in on_set_advertising_enable_complete() [all …]
|
D | le_address_manager.cc | 556 auto complete_view = View::Create(view); in on_command_complete() local 557 if (!complete_view.IsValid()) { in on_command_complete() 561 auto status = complete_view.GetStatus(); in on_command_complete() 566 ErrorCodeText(complete_view.GetStatus()).c_str()); in on_command_complete() 586 auto complete_view = LeSetRandomAddressCompleteView::Create(view); in OnCommandComplete() local 587 if (!complete_view.IsValid()) { in OnCommandComplete() 590 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in OnCommandComplete() 593 ErrorCodeText(complete_view.GetStatus()).c_str()); in OnCommandComplete()
|
D | hci_layer_fake.cc | 151 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local 152 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 153 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
|
D | le_periodic_sync_manager_test.cc | 103 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local 104 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 106 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
|
D | le_address_manager_test.cc | 109 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local 110 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 111 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
|
D | acl_manager_unittest.cc | 279 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local 280 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 281 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
|
D | hci_metrics_logging.cc | 34 CommandCompleteView complete_view = CommandCompleteView::Create(event_view); in log_hci_event() local 35 ASSERT(complete_view.IsValid()); in log_hci_event() 36 if (complete_view.GetCommandOpCode() == OpCode::NONE) { in log_hci_event()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_acl_connection.cc | 162 auto complete_view = RoleDiscoveryCompleteView::Create(view); in on_role_discovery_complete() local 163 if (!complete_view.IsValid()) { in on_role_discovery_complete() 166 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_role_discovery_complete() 167 auto status = complete_view.GetStatus(); in on_role_discovery_complete() 172 OnRoleDiscoveryComplete(complete_view.GetCurrentRole()); in on_role_discovery_complete() 176 auto complete_view = ReadLinkPolicySettingsCompleteView::Create(view); in on_read_link_policy_settings_complete() local 177 if (!complete_view.IsValid()) { in on_read_link_policy_settings_complete() 180 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_link_policy_settings_complete() 181 auto status = complete_view.GetStatus(); in on_read_link_policy_settings_complete() 186 OnReadLinkPolicySettingsComplete(complete_view.GetLinkPolicySettings()); in on_read_link_policy_settings_complete() [all …]
|
D | classic_impl.h | 458 CentralLinkKeyCompleteView complete_view = CentralLinkKeyCompleteView::Create(packet); in on_central_link_key_complete() local 459 if (!complete_view.IsValid()) { in on_central_link_key_complete() 462 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_central_link_key_complete() 463 auto status = complete_view.GetStatus(); in on_central_link_key_complete() 468 uint16_t handle = complete_view.GetConnectionHandle(); in on_central_link_key_complete() 470 KeyFlag key_flag = complete_view.GetKeyFlag(); in on_central_link_key_complete() 488 …ChangeConnectionLinkKeyCompleteView complete_view = ChangeConnectionLinkKeyCompleteView::Create(pa… in on_change_connection_link_key_complete() local 489 if (!complete_view.IsValid()) { in on_change_connection_link_key_complete() 492 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_change_connection_link_key_complete() 493 auto status = complete_view.GetStatus(); in on_change_connection_link_key_complete() [all …]
|
D | le_impl.h | 553 auto complete_view = LeConnectionUpdateCompleteView::Create(view); in on_le_connection_update_complete() local 554 if (!complete_view.IsValid()) { in on_le_connection_update_complete() 558 auto handle = complete_view.GetConnectionHandle(); in on_le_connection_update_complete() 561 complete_view.GetStatus(), in on_le_connection_update_complete() 562 complete_view.GetConnInterval(), in on_le_connection_update_complete() 563 complete_view.GetConnLatency(), in on_le_connection_update_complete() 564 complete_view.GetSupervisionTimeout()); in on_le_connection_update_complete() 569 auto complete_view = LePhyUpdateCompleteView::Create(view); in on_le_phy_update_complete() local 570 if (!complete_view.IsValid()) { in on_le_phy_update_complete() 574 auto handle = complete_view.GetConnectionHandle(); in on_le_phy_update_complete() [all …]
|
D | le_impl_test.cc | 340 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local 341 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 343 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
|