Home
last modified time | relevance | path

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

/system/bt/gd/hci/acl_manager/
Dclassic_acl_connection.cc162 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 …]
Dclassic_impl.h329 CentralLinkKeyCompleteView complete_view = CentralLinkKeyCompleteView::Create(packet); in on_central_link_key_complete() local
330 if (!complete_view.IsValid()) { in on_central_link_key_complete()
333 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_central_link_key_complete()
334 auto status = complete_view.GetStatus(); in on_central_link_key_complete()
339 uint16_t handle = complete_view.GetConnectionHandle(); in on_central_link_key_complete()
346 KeyFlag key_flag = complete_view.GetKeyFlag(); in on_central_link_key_complete()
403 …ChangeConnectionLinkKeyCompleteView complete_view = ChangeConnectionLinkKeyCompleteView::Create(pa… in on_change_connection_link_key_complete() local
404 if (!complete_view.IsValid()) { in on_change_connection_link_key_complete()
407 } else if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_change_connection_link_key_complete()
408 auto status = complete_view.GetStatus(); in on_change_connection_link_key_complete()
[all …]
Dle_impl.h267 auto complete_view = LeConnectionUpdateCompleteView::Create(view); in on_le_connection_update_complete() local
268 if (!complete_view.IsValid()) { in on_le_connection_update_complete()
272 auto handle = complete_view.GetConnectionHandle(); in on_le_connection_update_complete()
280 complete_view.GetStatus(), in on_le_connection_update_complete()
281 complete_view.GetConnInterval(), in on_le_connection_update_complete()
282 complete_view.GetConnLatency(), in on_le_connection_update_complete()
283 complete_view.GetSupervisionTimeout()); in on_le_connection_update_complete()
287 auto complete_view = LePhyUpdateCompleteView::Create(view); in on_le_phy_update_complete() local
288 if (!complete_view.IsValid()) { in on_le_phy_update_complete()
292 auto handle = complete_view.GetConnectionHandle(); in on_le_phy_update_complete()
[all …]
/system/bt/gd/hci/
Dcontroller.cc153 auto complete_view = NumberOfCompletedPacketsView::Create(event); in NumberOfCompletedPackets() local
154 ASSERT(complete_view.IsValid()); in NumberOfCompletedPackets()
155 for (auto completed_packets : complete_view.GetCompletedPackets()) { in NumberOfCompletedPackets()
196 auto complete_view = WriteSecureConnectionsHostSupportCompleteView::Create(view); in write_secure_connections_host_support_complete_handler() local
197 ASSERT(complete_view.IsValid()); in write_secure_connections_host_support_complete_handler()
198 ErrorCode status = complete_view.GetStatus(); in write_secure_connections_host_support_complete_handler()
203 auto complete_view = ReadLocalNameCompleteView::Create(view); in read_local_name_complete_handler() local
204 ASSERT(complete_view.IsValid()); in read_local_name_complete_handler()
205 ErrorCode status = complete_view.GetStatus(); in read_local_name_complete_handler()
207 std::array<uint8_t, 248> local_name_array = complete_view.GetLocalName(); in read_local_name_complete_handler()
[all …]
Dle_scanning_manager.cc1022 auto complete_view = LeAdvFilterEnableCompleteView::Create(status_view); in on_advertising_filter_complete() local
1023 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete()
1024 …scanning_callbacks_->OnFilterEnable(complete_view.GetApcfEnable(), (uint8_t)complete_view.GetStatu… in on_advertising_filter_complete()
1027 auto complete_view = LeAdvFilterSetFilteringParametersCompleteView::Create(status_view); in on_advertising_filter_complete() local
1028 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete()
1030complete_view.GetApcfAvailableSpaces(), complete_view.GetApcfAction(), (uint8_t)complete_view.GetS… in on_advertising_filter_complete()
1033 auto complete_view = LeAdvFilterBroadcasterAddressCompleteView::Create(status_view); in on_advertising_filter_complete() local
1034 ASSERT(complete_view.IsValid()); in on_advertising_filter_complete()
1037 complete_view.GetApcfAvailableSpaces(), in on_advertising_filter_complete()
1038 complete_view.GetApcfAction(), in on_advertising_filter_complete()
[all …]
Dle_advertising_manager.cc928 auto complete_view = LeReadAdvertisingPhysicalChannelTxPowerCompleteView::Create(view); in on_read_advertising_physical_channel_tx_power() local
929 ASSERT(complete_view.IsValid()); in on_read_advertising_physical_channel_tx_power()
930 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_read_advertising_physical_channel_tx_power()
931 …LOG_INFO("Got a command complete with status %s", ErrorCodeText(complete_view.GetStatus()).c_str()… in on_read_advertising_physical_channel_tx_power()
934 le_physical_channel_tx_power_ = complete_view.GetTransmitPowerLevel(); in on_read_advertising_physical_channel_tx_power()
940 auto complete_view = View::Create(view); in on_set_advertising_enable_complete() local
941 ASSERT(complete_view.IsValid()); in on_set_advertising_enable_complete()
943 if (complete_view.GetStatus() != ErrorCode::SUCCESS) { in on_set_advertising_enable_complete()
944 …LOG_INFO("Got a command complete with status %s", ErrorCodeText(complete_view.GetStatus()).c_str()… in on_set_advertising_enable_complete()
971 auto complete_view = LeSetExtendedAdvertisingEnableCompleteView::Create(view); in on_set_extended_advertising_enable_complete() local
[all …]
Dle_address_manager.cc430 auto complete_view = LeSetRandomAddressCompleteView::Create(view); in OnCommandComplete() local
431 if (!complete_view.IsValid()) { in OnCommandComplete()
433 } else if (complete_view.IsValid() && complete_view.GetStatus() != ErrorCode::SUCCESS) { in OnCommandComplete()
435 …"Received LE_SET_RANDOM_ADDRESS complete with status %s", ErrorCodeText(complete_view.GetStatus())… in OnCommandComplete()
Dle_address_manager_test.cc101 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
102 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
103 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
Dle_scanning_manager_test.cc155 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
156 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
158 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
Dle_advertising_manager_test.cc197 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
198 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
199 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()
Dacl_manager_test.cc260 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() local
261 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback()
262 std::move(command_complete_callbacks.front()).Invoke(complete_view); in CommandCompleteCallback()