Lines Matching refs:Create
67 …return AclPacketBuilder::Create(handle, packet_boundary_flag, broadcast_flag, NextPayload(handle)); in NextAclPacket()
150 CommandPacketView command_packet_view = CommandPacketView::Create(packet_view); in GetCommandPacket()
151 …ConnectionManagementCommandView command = ConnectionManagementCommandView::Create(command_packet_v… in GetCommandPacket()
178 EventPacketView event = EventPacketView::Create(packet); in IncomingEvent()
187 EventPacketView event = EventPacketView::Create(packet); in IncomingLeMetaEvent()
188 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent()
204 AclPacketView acl2 = AclPacketView::Create(packet); in IncomingAclData()
220 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
227 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback()
398 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp()
451 ConnectionRequestBuilder::Create(remote, class_of_device, ConnectionRequestLinkType::ACL)); in TEST_F()
457 CommandPacketView command = CommandPacketView::Create(packet); in TEST_F()
478 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
501 …ConnectionCompleteBuilder::Create(ErrorCode::PAGE_TIMEOUT, handle, remote, LinkType::ACL, Enable::… in TEST_F()
515 auto le_connection_management_command_view = LeConnectionManagementCommandView::Create(packet); in TEST_F()
516 auto command_view = LeCreateConnectionView::Create(le_connection_management_command_view); in TEST_F()
521 test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in TEST_F()
526 …LeConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, 0x123, Role::SLAVE, AddressType::PUBLIC_DE… in TEST_F()
542 auto le_connection_management_command_view = LeConnectionManagementCommandView::Create(packet); in TEST_F()
543 auto command_view = LeCreateConnectionView::Create(le_connection_management_command_view); in TEST_F()
548 test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in TEST_F()
552 test_hci_layer_->IncomingLeMetaEvent(LeConnectionCompleteBuilder::Create( in TEST_F()
563 auto le_connection_management_command_view = LeConnectionManagementCommandView::Create(packet); in TEST_F()
564 auto command_view = LeCreateConnectionView::Create(le_connection_management_command_view); in TEST_F()
569 test_hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in TEST_F()
574 …LeConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, 0x123, Role::SLAVE, AddressType::PUBLIC_DE… in TEST_F()
591 LeConnectionUpdateCompleteBuilder::Create(ErrorCode::SUCCESS, 0x123, 0x0006, 0x0000, 0x000A)); in TEST_F()
611 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
627 …DisconnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, ErrorCode::REMOTE_USER_TERMINATED… in TEST_F()
651 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
666 test_hci_layer_->IncomingEvent(DisconnectionCompleteBuilder::Create( in TEST_F()
690 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
738 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F()
774 auto command_view = SwitchRoleView::Create(packet); in TEST_F()
780 …test_hci_layer_->IncomingEvent(RoleChangeBuilder::Create(ErrorCode::SUCCESS, connection_->GetAddre… in TEST_F()
787 auto command_view = ReadDefaultLinkPolicySettingsView::Create(packet); in TEST_F()
794 ReadDefaultLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x07)); in TEST_F()
801 auto command_view = WriteDefaultLinkPolicySettingsView::Create(packet); in TEST_F()
807 WriteDefaultLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS)); in TEST_F()
814 auto command_view = ChangeConnectionPacketTypeView::Create(packet); in TEST_F()
819 …test_hci_layer_->IncomingEvent(ConnectionPacketTypeChangedBuilder::Create(ErrorCode::SUCCESS, hand… in TEST_F()
826 auto command_view = AuthenticationRequestedView::Create(packet); in TEST_F()
830 …test_hci_layer_->IncomingEvent(AuthenticationCompleteBuilder::Create(ErrorCode::SUCCESS, handle_)); in TEST_F()
837 auto command_view = ReadClockOffsetView::Create(packet); in TEST_F()
841 …test_hci_layer_->IncomingEvent(ReadClockOffsetCompleteBuilder::Create(ErrorCode::SUCCESS, handle_,… in TEST_F()
848 auto command_view = HoldModeView::Create(packet); in TEST_F()
854 …test_hci_layer_->IncomingEvent(ModeChangeBuilder::Create(ErrorCode::SUCCESS, handle_, Mode::HOLD, … in TEST_F()
861 auto command_view = SniffModeView::Create(packet); in TEST_F()
869 …test_hci_layer_->IncomingEvent(ModeChangeBuilder::Create(ErrorCode::SUCCESS, handle_, Mode::SNIFF,… in TEST_F()
876 auto command_view = ExitSniffModeView::Create(packet); in TEST_F()
880 …test_hci_layer_->IncomingEvent(ModeChangeBuilder::Create(ErrorCode::SUCCESS, handle_, Mode::ACTIVE… in TEST_F()
887 auto command_view = QosSetupView::Create(packet); in TEST_F()
897 …test_hci_layer_->IncomingEvent(QosSetupCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, Servic… in TEST_F()
906 auto command_view = FlowSpecificationView::Create(packet); in TEST_F()
919 …FlowSpecificationCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, FlowDirection::OUTGOING_FLOW, in TEST_F()
927 auto command_view = FlushView::Create(packet); in TEST_F()
931 test_hci_layer_->IncomingEvent(FlushOccurredBuilder::Create(handle_)); in TEST_F()
938 auto command_view = RoleDiscoveryView::Create(packet); in TEST_F()
944 RoleDiscoveryCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, Role::MASTER)); in TEST_F()
951 auto command_view = ReadLinkPolicySettingsView::Create(packet); in TEST_F()
957 … ReadLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x07)); in TEST_F()
964 auto command_view = WriteLinkPolicySettingsView::Create(packet); in TEST_F()
970 WriteLinkPolicySettingsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_)); in TEST_F()
977 auto command_view = SniffSubratingView::Create(packet); in TEST_F()
984 …test_hci_layer_->IncomingEvent(SniffSubratingCompleteBuilder::Create(num_packets, ErrorCode::SUCCE… in TEST_F()
991 auto command_view = ReadAutomaticFlushTimeoutView::Create(packet); in TEST_F()
997 …ReadAutomaticFlushTimeoutCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x07ff)… in TEST_F()
1004 auto command_view = WriteAutomaticFlushTimeoutView::Create(packet); in TEST_F()
1010 WriteAutomaticFlushTimeoutCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_)); in TEST_F()
1017 auto command_view = ReadTransmitPowerLevelView::Create(packet); in TEST_F()
1024 … ReadTransmitPowerLevelCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x07)); in TEST_F()
1031 auto command_view = ReadLinkSupervisionTimeoutView::Create(packet); in TEST_F()
1037 …ReadLinkSupervisionTimeoutCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x5677… in TEST_F()
1044 auto command_view = WriteLinkSupervisionTimeoutView::Create(packet); in TEST_F()
1050 WriteLinkSupervisionTimeoutCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_)); in TEST_F()
1057 auto command_view = ReadFailedContactCounterView::Create(packet); in TEST_F()
1063 … ReadFailedContactCounterCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x00)); in TEST_F()
1070 auto command_view = ResetFailedContactCounterView::Create(packet); in TEST_F()
1075 ResetFailedContactCounterCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_)); in TEST_F()
1082 auto command_view = ReadLinkQualityView::Create(packet); in TEST_F()
1088 ReadLinkQualityCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0xa9)); in TEST_F()
1095 auto command_view = ReadAfhChannelMapView::Create(packet); in TEST_F()
1102 …test_hci_layer_->IncomingEvent(ReadAfhChannelMapCompleteBuilder::Create(num_packets, ErrorCode::SU… in TEST_F()
1110 auto command_view = ReadRssiView::Create(packet); in TEST_F()
1115 …test_hci_layer_->IncomingEvent(ReadRssiCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, ha… in TEST_F()
1122 auto command_view = ReadClockView::Create(packet); in TEST_F()
1129 … ReadClockCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, handle_, 0x00002e6a, 0x0000)); in TEST_F()