/packages/modules/Bluetooth/system/gd/hci/ |
D | le_periodic_sync_manager_test.cc | 82 … return CommandView::Create(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in GetLastCommand() 86 return CommandView::Create(GetPacketView(std::move(last))); in GetLastCommand() 112 auto event = EventView::Create(GetPacketView(std::move(event_builder))); in CommandCompleteCallback() 113 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() 121 auto event = EventView::Create(GetPacketView(std::move(event_builder))); in CommandStatusCallback() 122 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback() 242 …auto packet_view = LePeriodicAdvertisingCreateSyncView::Create(LeScanningCommandView::Create(packe… in TEST_F() 271 …auto temp_view = LePeriodicAdvertisingCreateSyncView::Create(LeScanningCommandView::Create(packet)… in TEST_F() 276 LePeriodicAdvertisingCreateSyncStatusBuilder::Create(ErrorCode::SUCCESS, 0x00)); in TEST_F() 281 auto builder = LePeriodicAdvertisingSyncEstablishedBuilder::Create( in TEST_F() [all …]
|
D | hci_packets_test.cc | 72 auto view = WriteExtendedInquiryResponseView::Create(CommandView::Create(packet_bytes_view)); in TEST() 86 auto builder = WriteExtendedInquiryResponseBuilder::Create(view.GetFecRequired(), no_padding); in TEST() 107 …auto view = LeSetScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(pack… in TEST() 122 …auto view = LeSetScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST() 136 …auto view = LeGetVendorCapabilitiesView::Create(VendorCommandView::Create(CommandView::Create(pack… in TEST() 148 …LeGetVendorCapabilitiesCompleteView::Create(CommandCompleteView::Create(EventView::Create(packet_b… in TEST() 168 …LeSetExtendedScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST() 187 …LeSetExtendedScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST() 205 …LeSetExtendedScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes… in TEST() 222 …LeSetExtendedScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes… in TEST() [all …]
|
D | hci_metrics_logging.cc | 35 CommandCompleteView complete_view = CommandCompleteView::Create(event_view); in log_hci_event() 46 CommandStatusView response_view = CommandStatusView::Create(event_view); in log_hci_event() 57 LeMetaEventView le_meta_event_view = LeMetaEventView::Create(event_view); in log_hci_event() 85 ConnectionManagementCommandView::Create(AclCommandView::Create(*command_view)); in log_link_layer_connection_command() 91 …auto create_connection_view = CreateConnectionView::Create(std::move(connection_management_command… in log_link_layer_connection_command() 101 CreateConnectionCancelView::Create(std::move(connection_management_command_view)); in log_link_layer_connection_command() 111 auto disconnect_view = DisconnectView::Create(std::move(connection_management_command_view)); in log_link_layer_connection_command() 118 auto setup_synchronous_connection_view = SetupSynchronousConnectionView::Create( in log_link_layer_connection_command() 119 ScoConnectionCommandView::Create(std::move(connection_management_command_view))); in log_link_layer_connection_command() 128 … auto enhanced_setup_synchronous_connection_view = EnhancedSetupSynchronousConnectionView::Create( in log_link_layer_connection_command() [all …]
|
D | hci_layer_test.cc | 116 auto event = EventView::Create(incoming_events_.take()); in GetReceivedEvent() 126 auto acl = AclView::Create(incoming_acl_.take()); in GetReceivedAcl() 136 auto iso = IsoView::Create(incoming_iso_.take()); in GetReceivedIso() 232 auto reset_view = ResetView::Create(CommandView::Create(*sent_command)); in SetUp() 238 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp() 272 hal->callbacks->hciEventReceived(GetPacketBytes(LeConnectionCompleteBuilder::Create( in TEST_F() 286 ASSERT_TRUE(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventView::Create(*event))) in TEST_F() 294 upper->SendHciCommandExpectingStatus(CreateConnectionBuilder::Create( in TEST_F() 305 auto command = CreateConnectionView::Create( in TEST_F() 306 ConnectionManagementCommandView::Create(AclCommandView::Create(*sent_command))); in TEST_F() [all …]
|
D | remote_name_request_test.cc | 131 RemoteNameRequestBuilder::Create( in TEST_F() 139 auto discovery_command = DiscoveryCommandView::Create(command); in TEST_F() 141 auto rnr_command = RemoteNameRequestView::Create(DiscoveryCommandView::Create(discovery_command)); in TEST_F() 156 RemoteNameRequestBuilder::Create( in TEST_F() 164 RemoteNameRequestStatusBuilder::Create(ErrorCode::STATUS_UNKNOWN, 1)); in TEST_F() 177 RemoteNameRequestBuilder::Create( in TEST_F() 184 test_hci_layer_->IncomingEvent(RemoteNameRequestStatusBuilder::Create(ErrorCode::SUCCESS, 1)); in TEST_F() 197 RemoteNameRequestBuilder::Create( in TEST_F() 205 test_hci_layer_->IncomingEvent(RemoteNameRequestStatusBuilder::Create(ErrorCode::SUCCESS, 1)); in TEST_F() 212 auto discovery_command = DiscoveryCommandView::Create(command); in TEST_F() [all …]
|
D | le_address_manager_test.cc | 149 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F() 171 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F() 233 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in SetUp() 259 auto packet_view = LeAddDeviceToFilterAcceptListView::Create( in TEST_F() 260 LeConnectionManagementCommandView::Create(AclCommandView::Create(packet))); in TEST_F() 266 LeAddDeviceToFilterAcceptListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F() 276 LeAddDeviceToFilterAcceptListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F() 280 auto packet_view = LeRemoveDeviceFromFilterAcceptListView::Create( in TEST_F() 281 LeConnectionManagementCommandView::Create(AclCommandView::Create(packet))); in TEST_F() 286 LeRemoveDeviceFromFilterAcceptListCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F() [all …]
|
D | hci_layer_unittest.cc | 109 auto reset_view = ResetView::Create(CommandView::Create(*sent_command)); in fail_if_reset_not_sent() 141 auto debug_info_view = ControllerDebugInfoView::Create(VendorCommandView::Create(*sent_command)); in TEST_F() 151 auto debug_info_view = ControllerDebugInfoView::Create(VendorCommandView::Create(*sent_command)); in TEST_F() 169 auto debug_info_view = ControllerDebugInfoView::Create(VendorCommandView::Create(*sent_command)); in TEST_F() 173 hal_->InjectEvent(ResetCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in TEST_F() 190 hal_->InjectEvent(BqrRootInflammationEventBuilder::Create( in TEST_F() 204 hal_->InjectEvent(HardwareErrorBuilder::Create(0xbb)); in TEST_F() 212 hal_->InjectEvent(ResetCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in TEST_F() 220 hal_->InjectEvent(ResetCompleteBuilder::Create(1, ErrorCode::HARDWARE_FAILURE)); in TEST_F() 232 hal_->InjectEvent(ResetCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in TEST_F() [all …]
|
D | acl_manager_test.cc | 142 LeSetRandomAddressView::Create(LeAdvertisingCommandView::Create( in SetUp() 147 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in SetUp() 223 ConnectionManagementCommandView::Create(AclCommandView::Create(base_command)); in GetConnectionManagementCommand() 265 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp() 305 test_hci_layer_->IncomingEvent(ConnectionCompleteBuilder::Create( in TEST_F() 345 test_hci_layer_->IncomingEvent(ConnectionCompleteBuilder::Create( in TEST_F() 364 …test_hci_layer_->IncomingEvent(LeAddDeviceToFilterAcceptListCompleteBuilder::Create(0x01, ErrorCod… in SetUp() 367 LeConnectionManagementCommandView::Create(AclCommandView::Create(packet)); in SetUp() 368 auto command_view = LeCreateConnectionView::Create(le_connection_management_command_view); in SetUp() 378 … test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in SetUp() [all …]
|
D | le_scanning_manager_test.cc | 348 LeAdvFilterReadExtendedFeaturesCompleteBuilder::Create(1, ErrorCode::SUCCESS, 0x01, 0x01)); in SetUp() 376 LeSetScanParametersCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() 379 LeSetScanEnableCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() 384 test_hci_layer_->IncomingLeMetaEvent(LeAdvertisingReportBuilder::Create({report})); in TEST_F() 393 LeSetScanParametersCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() 396 LeSetScanEnableCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() 402 test_hci_layer_->IncomingLeMetaEvent(LeAdvertisingReportBuilder::Create({report})); in TEST_F() 414 test_hci_layer_->IncomingLeMetaEvent(LeAdvertisingReportBuilder::Create({scan_response})); in TEST_F() 423 LeSetScanParametersCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() 426 LeSetScanEnableCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS)); in TEST_F() [all …]
|
D | controller_test.cc | 89 CommandView command = CommandView::Create(packet_view); in HandleCommand() 97 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand() 106 event_builder = ReadLocalVersionInformationCompleteBuilder::Create( in HandleCommand() 118 …ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, supported_comma… in HandleCommand() 123 event_builder = ReadLocalSupportedCodecsV1CompleteBuilder::Create( in HandleCommand() 127 ReadLocalExtendedFeaturesView read_command = ReadLocalExtendedFeaturesView::Create(command); in HandleCommand() 132 event_builder = ReadLocalExtendedFeaturesCompleteBuilder::Create( in HandleCommand() 136 event_builder = ReadBufferSizeCompleteBuilder::Create( in HandleCommand() 145 … event_builder = ReadBdAddrCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, Address::kAny); in HandleCommand() 151 …event_builder = LeReadBufferSizeV1CompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, le_buff… in HandleCommand() [all …]
|
D | le_advertising_manager_test.cc | 303 …LeReadAdvertisingPhysicalChannelTxPowerCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, 0x0… in SetUp() 306 …CommandCompleteBuilder::Create(uint8_t{1}, adv_opcodes[i], std::make_unique<RawBuilder>(success_ve… in SetUp() 369 auto sub_packet = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet)); in SetUp() 372 …test_hci_layer_->IncomingEvent(LeMultiAdvtCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, … in SetUp() 427 auto sub_packet = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet)); in SetUp() 430 …test_hci_layer_->IncomingEvent(LeMultiAdvtCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, … in SetUp() 496 test_hci_layer_->IncomingEvent(LeSetExtendedAdvertisingParametersCompleteBuilder::Create( in SetUp() 500 …CommandCompleteBuilder::Create(uint8_t{1}, adv_opcodes[i], std::make_unique<RawBuilder>(success_ve… in SetUp() 561 …LeReadAdvertisingPhysicalChannelTxPowerCompleteBuilder::Create(uint8_t{1}, ErrorCode::SUCCESS, 0x0… in TEST_F() 564 …CommandCompleteBuilder::Create(uint8_t{1}, adv_opcodes[i], std::make_unique<RawBuilder>(success_ve… in TEST_F() [all …]
|
D | controller.cc | 62 hci_->EnqueueCommand(ReadLocalNameBuilder::Create(), in Start() 64 hci_->EnqueueCommand(ReadLocalVersionInformationBuilder::Create(), in Start() 66 hci_->EnqueueCommand(ReadLocalSupportedCommandsBuilder::Create(), in Start() 70 LeReadLocalSupportedFeaturesBuilder::Create(), in Start() 74 LeReadSupportedStatesBuilder::Create(), in Start() 81 hci_->EnqueueCommand(ReadLocalExtendedFeaturesBuilder::Create(0x00), in Start() 95 hci_->EnqueueCommand(ReadBufferSizeBuilder::Create(), in Start() 100 SetMinEncryptionKeySizeBuilder::Create(kMinEncryptionKeySize), in Start() 106 LeReadBufferSizeV2Builder::Create(), in Start() 110 LeReadBufferSizeV1Builder::Create(), in Start() [all …]
|
D | msft.cc | 70 MsftReadSupportedFeaturesBuilder::Create(static_cast<OpCode>(msft_.opcode.value())), in start() 108 auto msft_view = MsftEventPayloadView::Create( in handle_msft_events() 115 handle_rssi_event(MsftRssiEventPayloadView::Create(msft_view)); in handle_msft_events() 118 handle_le_monitor_device_event(MsftLeMonitorDeviceEventPayloadView::Create(msft_view)); in handle_msft_events() 155 MsftLeMonitorAdvConditionAddressBuilder::Create( in msft_adv_monitor_add() 187 MsftLeMonitorAdvConditionPatternsBuilder::Create( in msft_adv_monitor_add() 205 MsftLeCancelMonitorAdvBuilder::Create( in msft_adv_monitor_remove() 218 MsftLeSetAdvFilterEnableBuilder::Create(static_cast<OpCode>(msft_.opcode.value()), enable), in msft_adv_monitor_enable() 232 …tus_view = MsftReadSupportedFeaturesCommandCompleteView::Create(MsftCommandCompleteView::Create(vi… in on_msft_read_supported_features_complete() 271 MsftLeMonitorAdvCommandCompleteView::Create(MsftCommandCompleteView::Create(view)); in on_msft_adv_monitor_add_complete() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | dual_mode_controller.cc | 88 send_event_(bluetooth::hci::CommandCompleteBuilder::Create( in SendCommandCompleteUnknownOpCodeEvent() 125 auto acl_packet = bluetooth::hci::AclView::Create(pdl::packet::slice(packet)); in HandleAcl() 132 send_acl_(bluetooth::hci::AclBuilder::Create( in HandleAcl() 141 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleAcl() 151 auto sco_packet = bluetooth::hci::ScoView::Create(pdl::packet::slice(packet)); in HandleSco() 157 send_sco_(bluetooth::hci::ScoBuilder::Create( in HandleSco() 166 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleSco() 177 auto iso = bluetooth::hci::IsoView::Create(pdl::packet::slice(packet)); in HandleIso() 185 bluetooth::hci::CommandView::Create(pdl::packet::slice(packet)); in HandleCommand() 217 send_event_(bluetooth::hci::LoopbackCommandBuilder::Create( in HandleCommand() [all …]
|
/packages/modules/Bluetooth/system/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 154 auto event = EventView::Create(packet); in OnHciEventReceived() 159 OnReceive(hci::AddressWithType(), hci::ChangeConnectionLinkKeyCompleteView::Create(event)); in OnHciEventReceived() 162 OnReceive(hci::AddressWithType(), hci::CentralLinkKeyCompleteView::Create(event)); in OnHciEventReceived() 165 OnReceive(hci::AddressWithType(), hci::PinCodeRequestView::Create(event)); in OnHciEventReceived() 168 OnReceive(hci::AddressWithType(), hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived() 171 OnReceive(hci::AddressWithType(), hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived() 174 OnReceive(hci::AddressWithType(), hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived() 177 OnReceive(hci::AddressWithType(), hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived() 180 OnReceive(hci::AddressWithType(), hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived() 183 OnReceive(hci::AddressWithType(), hci::ReturnLinkKeysView::Create(event)); in OnHciEventReceived() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/ |
D | pcap_filter.cc | 72 auto command = CommandView::Create(create_packet_view(packet)); in FilterHciCommand() 97 auto event = EventView::Create(create_packet_view(packet)); in FilterHciEvent() 101 auto le_meta_event = LeMetaEventView::Create(event); in FilterHciEvent() 114 auto command_complete = CommandCompleteView::Create(event); in FilterHciEvent() 137 auto acl = AclView::Create(create_packet_view(packet)); in FilterHciAcl() 141 return AclBuilder::Create(acl.GetHandle(), acl.GetPacketBoundaryFlag(), in FilterHciAcl() 147 auto sco = ScoView::Create(create_packet_view(packet)); in FilterHciSco() 151 return ScoBuilder::Create(sco.GetHandle(), sco.GetPacketStatusFlag(), data) in FilterHciSco() 156 auto iso = IsoView::Create(create_packet_view(packet)); in FilterHciIso() 160 return IsoBuilder::Create(iso.GetConnectionHandle(), iso.GetPbFlag(), in FilterHciIso() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_acl_connection.cc | 167 auto complete_view = RoleDiscoveryCompleteView::Create(view); in on_role_discovery_complete() 181 auto complete_view = ReadLinkPolicySettingsCompleteView::Create(view); in on_read_link_policy_settings_complete() 195 auto complete_view = ReadAutomaticFlushTimeoutCompleteView::Create(view); in on_read_automatic_flush_timeout_complete() 210 auto complete_view = ReadTransmitPowerLevelCompleteView::Create(view); in on_read_transmit_power_level_complete() 224 auto complete_view = ReadLinkSupervisionTimeoutCompleteView::Create(view); in on_read_link_supervision_timeout_complete() 239 auto complete_view = ReadFailedContactCounterCompleteView::Create(view); in on_read_failed_contact_counter_complete() 253 auto complete_view = ReadLinkQualityCompleteView::Create(view); in on_read_link_quality_complete() 267 auto complete_view = ReadAfhChannelMapCompleteView::Create(view); in on_read_afh_channel_map_complete() 281 auto complete_view = ReadRssiCompleteView::Create(view); in on_read_rssi_complete() 307 auto complete_view = ReadClockCompleteView::Create(view); in on_read_clock_complete() [all …]
|
D | classic_impl_test.cc | 72 return T::Create(hci::CommandView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateCommandView() 77 return T::Create(CreateCommandView<hci::AclCommandView>(bytes)); in CreateAclCommandView() 82 return T::Create(CreateAclCommandView<hci::ConnectionManagementCommandView>(bytes)); in CreateConnectionManagementCommandView() 87 return T::Create(CreateCommandView<hci::SecurityCommandView>(bytes)); in CreateSecurityCommandView() 92 return T::Create(hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateEventView() 98 auto builder = hci::CommandCompleteBuilder::Create( in ReturnCommandComplete() 101 return hci::CommandCompleteView::Create( in ReturnCommandComplete() 102 hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in ReturnCommandComplete() 108 auto builder = hci::CommandStatusBuilder::Create( in ReturnCommandStatus() 111 return hci::CommandStatusView::Create( in ReturnCommandStatus() [all …]
|
/packages/modules/Bluetooth/system/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 91 auto event = hci::EventView::Create(packet); in OnHciEventReceived() 96 pairing_handler_->OnReceive(hci::PinCodeRequestView::Create(event)); in OnHciEventReceived() 99 pairing_handler_->OnReceive(hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived() 102 pairing_handler_->OnReceive(hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived() 105 pairing_handler_->OnReceive(hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived() 108 pairing_handler_->OnReceive(hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived() 111 pairing_handler_->OnReceive(hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived() 114 pairing_handler_->OnReceive(hci::ReturnLinkKeysView::Create(event)); in OnHciEventReceived() 117 pairing_handler_->OnReceive(hci::RemoteOobDataRequestView::Create(event)); in OnHciEventReceived() 120 pairing_handler_->OnReceive(hci::UserPasskeyNotificationView::Create(event)); in OnHciEventReceived() [all …]
|
D | classic_pairing_handler.cc | 94 … hci::UserConfirmationRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnConfirmYesNo() 97 …hci::UserConfirmationRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddre… in OnConfirmYesNo() 102 …GetChannel()->SendCommand(hci::UserPasskeyRequestReplyBuilder::Create(address.GetAddress(), passke… in OnPasskeyEntry() 111 …GetChannel()->SendCommand(hci::PinCodeRequestReplyBuilder::Create(address.GetAddress(), pin.size()… in OnPinEntry() 213 this->GetChannel()->SendCommand(hci::LinkKeyRequestReplyBuilder::Create( in OnReceive() 220 … hci::LinkKeyRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive() 248 auto reply_packet = hci::IoCapabilityRequestReplyBuilder::Create( in OnReceive() 362 …hci::RemoteOobDataRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress(… in OnReceive() 369 GetChannel()->SendCommand(hci::RemoteOobExtendedDataRequestReplyBuilder::Create( in OnReceive() 376 GetChannel()->SendCommand(hci::RemoteOobDataRequestReplyBuilder::Create( in OnReceive() [all …]
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | bt_property.h | 137 static std::shared_ptr<BdName> Create(const BD_NAME bd_name); 144 static std::shared_ptr<BdAddr> Create(const RawAddress& bd_addr); 152 static std::shared_ptr<Uuids> Create(const std::vector<bluetooth::Uuid>& uuids); 159 static std::shared_ptr<ClassOfDevice> Create(const uint32_t& bd_addr); 166 static std::shared_ptr<TypeOfDevice> Create(const bt_device_type_t& device_type); 173 static std::shared_ptr<ServiceRecord> Create(const bt_service_record_t& record); 180 static std::shared_ptr<AdapterScanMode> Create(const bt_scan_mode_t& mode); 188 static std::shared_ptr<AdapterBondedDevices> Create(const RawAddress* bd_addr, size_t len); 196 static std::shared_ptr<AdapterDiscoverableTimeout> Create(const uint32_t& timeout); 205 static std::shared_ptr<RemoteFriendlyName> Create(const uint8_t bd_name[], size_t len); [all …]
|
D | bt_property.cc | 298 std::shared_ptr<BdName> BdName::Create(const BD_NAME bd_name) { in Create() function in bluetooth::property::BdName 301 std::shared_ptr<BdAddr> BdAddr::Create(const RawAddress& bd_addr) { in Create() function in bluetooth::property::BdAddr 304 std::shared_ptr<Uuids> Uuids::Create(const std::vector<bluetooth::Uuid>& uuids) { in Create() function in bluetooth::property::Uuids 307 std::shared_ptr<ClassOfDevice> ClassOfDevice::Create(const uint32_t& cod) { in Create() function in bluetooth::property::ClassOfDevice 310 std::shared_ptr<TypeOfDevice> TypeOfDevice::Create(const bt_device_type_t& type) { in Create() function in bluetooth::property::TypeOfDevice 313 std::shared_ptr<ServiceRecord> ServiceRecord::Create(const bt_service_record_t& record) { in Create() function in bluetooth::property::ServiceRecord 316 std::shared_ptr<AdapterScanMode> AdapterScanMode::Create(const bt_scan_mode_t& mode) { in Create() function in bluetooth::property::AdapterScanMode 319 std::shared_ptr<AdapterBondedDevices> AdapterBondedDevices::Create( in Create() function in bluetooth::property::AdapterBondedDevices 324 std::shared_ptr<AdapterDiscoverableTimeout> AdapterDiscoverableTimeout::Create( in Create() function in bluetooth::property::AdapterDiscoverableTimeout 328 std::shared_ptr<RemoteFriendlyName> RemoteFriendlyName::Create( in Create() function in bluetooth::property::RemoteFriendlyName [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/ |
D | l2cap_packet_test.cc | 81 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST() 91 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST() 101 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST() 111 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST() 121 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST() 160 auto bfwf = BasicFrameWithFcsView::Create(packet_bytes_view); in TEST() 162 auto sfwf = StandardFrameWithFcsView::Create(bfwf); in TEST() 164 auto sif = StandardInformationFrameWithFcsView::Create(sfwf); in TEST()
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | generated_packet_test.cc | 68 auto packet = ChildTwoTwoThreeBuilder::Create(); in TEST() 82 ParentView wrong_view = ParentView::Create(packet_bytes_view); in TEST() 85 ParentTwoView parent_view = ParentTwoView::Create(packet_bytes_view); in TEST() 89 ChildTwoTwoView child_view = ChildTwoTwoView::Create(parent_view); in TEST() 93 ChildTwoTwoThreeView grandchild_view = ChildTwoTwoThreeView::Create(child_view); in TEST() 100 auto packet = ChildBuilder::Create(field_name, footer); in TEST() 114 ParentView parent_view = ParentView::Create(packet_bytes_view); in TEST() 123 ChildView child_view = ChildView::Create(parent_view); in TEST() 133 …ParentWithSixBytesView invalid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(t… in TEST() 136 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | acl_manager_facade.cc | 134 …ConnectionManagementCommandView::Create(AclCommandView::Create(CommandView::Create(PacketView<kLit… in ConnectionCommand() 142 GET_CONNECTION(AuthenticationRequestedView::Create(command_view)); in ConnectionCommand() 147 auto view = DisconnectView::Create(command_view); in ConnectionCommand() 153 auto view = ChangeConnectionPacketTypeView::Create(command_view); in ConnectionCommand() 159 auto view = SetConnectionEncryptionView::Create(command_view); in ConnectionCommand() 165 GET_CONNECTION(ChangeConnectionLinkKeyView::Create(command_view)); in ConnectionCommand() 170 GET_CONNECTION(ReadClockOffsetView::Create(command_view)); in ConnectionCommand() 175 auto view = HoldModeView::Create(command_view); in ConnectionCommand() 181 auto view = SniffModeView::Create(command_view); in ConnectionCommand() 188 GET_CONNECTION(ExitSniffModeView::Create(command_view)); in ConnectionCommand() [all …]
|