Home
last modified time | relevance | path

Searched refs:Create (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc75 auto packet = gd_hci::EventBuilder::Create( in SendCommandCompleteUnknownOpCodeEvent()
300 auto command_view = gd_hci::SniffSubratingView::Create( in SniffSubrating()
301 gd_hci::ConnectionManagementCommandView::Create( in SniffSubrating()
302 gd_hci::AclCommandView::Create(command))); in SniffSubrating()
305 send_event_(gd_hci::SniffSubratingCompleteBuilder::Create( in SniffSubrating()
327 auto acl_packet = bluetooth::hci::AclView::Create(raw_packet); in HandleAcl()
337 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleAcl()
347 auto sco_packet = bluetooth::hci::ScoView::Create(raw_packet); in HandleSco()
350 auto sco_builder = bluetooth::hci::ScoBuilder::Create( in HandleSco()
358 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleSco()
[all …]
Dlink_layer_controller.cc71 model::packets::LeReadRemoteFeaturesBuilder::Create(local, remote)); in SendLeCommandToRemoteByAddress()
90 SendLinkLayerPacket(model::packets::ReadRemoteLmpFeaturesBuilder::Create( in SendCommandToRemoteByAddress()
92 SendLinkLayerPacket(model::packets::RemoteNameRequestBuilder::Create( in SendCommandToRemoteByAddress()
97 model::packets::ReadRemoteSupportedFeaturesBuilder::Create( in SendCommandToRemoteByAddress()
104 model::packets::ReadRemoteExtendedFeaturesBuilder::Create( in SendCommandToRemoteByAddress()
109 model::packets::ReadRemoteVersionInformationBuilder::Create( in SendCommandToRemoteByAddress()
113 SendLinkLayerPacket(model::packets::ReadClockOffsetBuilder::Create( in SendCommandToRemoteByAddress()
159 auto packet = bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in SendAclToRemote()
178 auto acl = model::packets::AclBuilder::Create(my_address.GetAddress(), in SendAclToRemote()
372 auto acl = model::packets::AclView::Create(incoming); in IncomingAclPacket()
[all …]
/system/bt/gd/hci/
Dhci_packets_test.cc73 auto view = WriteExtendedInquiryResponseView::Create(CommandView::Create(packet_bytes_view)); in TEST()
87 auto builder = WriteExtendedInquiryResponseBuilder::Create(view.GetFecRequired(), no_padding); in TEST()
108 …auto view = LeSetScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(pack… in TEST()
123 …auto view = LeSetScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST()
137 …auto view = LeGetVendorCapabilitiesView::Create(VendorCommandView::Create(CommandView::Create(pack… in TEST()
149 …LeGetVendorCapabilitiesCompleteView::Create(CommandCompleteView::Create(EventView::Create(packet_b… in TEST()
169 …LeSetExtendedScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST()
188 …LeSetExtendedScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(packet_b… in TEST()
206 …LeSetExtendedScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes… in TEST()
223 …LeSetExtendedScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes… in TEST()
[all …]
Dhci_metrics_logging.cc40 CommandStatusView response_view = CommandStatusView::Create(event_view); in log_hci_event()
47 LeMetaEventView le_meta_event_view = LeMetaEventView::Create(event_view); in log_hci_event()
73 ConnectionManagementCommandView::Create(AclCommandView::Create(*command_view)); in log_link_layer_connection_command_status()
77 …auto create_connection_view = CreateConnectionView::Create(std::move(connection_management_command… in log_link_layer_connection_command_status()
86 CreateConnectionCancelView::Create(std::move(connection_management_command_view)); in log_link_layer_connection_command_status()
94 auto disconnect_view = DisconnectView::Create(std::move(connection_management_command_view)); in log_link_layer_connection_command_status()
101 auto setup_synchronous_connection_view = SetupSynchronousConnectionView::Create( in log_link_layer_connection_command_status()
102 ScoConnectionCommandView::Create(std::move(connection_management_command_view))); in log_link_layer_connection_command_status()
109 … auto enhanced_setup_synchronous_connection_view = EnhancedSetupSynchronousConnectionView::Create( in log_link_layer_connection_command_status()
110 ScoConnectionCommandView::Create(std::move(connection_management_command_view))); in log_link_layer_connection_command_status()
[all …]
Dacl_manager_test.cc74 return AclBuilder::Create(handle, packet_boundary_flag, broadcast_flag, NextPayload(handle)); in NextAclPacket()
153 … return CommandView::Create(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in GetLastCommand()
157 return CommandView::Create(GetPacketView(std::move(last))); in GetLastCommand()
166 return ConnectionManagementCommandView::Create(AclCommandView::Create( in GetCommand()
167 … CommandView::Create(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())))); in GetCommand()
171 ConnectionManagementCommandView::Create(AclCommandView::Create(command_packet_view)); in GetCommand()
187 return ConnectionManagementCommandView::Create(AclCommandView::Create( in GetLastCommand()
188 … CommandView::Create(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())))); in GetLastCommand()
192 ConnectionManagementCommandView::Create(AclCommandView::Create(command_packet_view)); in GetLastCommand()
218 EventView event = EventView::Create(packet); in IncomingEvent()
[all …]
Dhci_layer_test.cc134 return CommandView::Create(packetview); in GetSentCommand()
396 auto reset_view = ResetView::Create(CommandView::Create(sent_command)); in SetUp()
405 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp()
441 hal->callbacks->hciEventReceived(GetPacketBytes(LeConnectionCompleteBuilder::Create( in TEST_F()
457 …ASSERT_TRUE(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventView::Create(event))).Is… in TEST_F()
463 upper->SendHciCommandExpectingComplete(ResetBuilder::Create()); in TEST_F()
485 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
488 upper->SendHciCommandExpectingComplete(ReadLocalVersionInformationBuilder::Create()); in TEST_F()
494 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F()
513 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
[all …]
Dcontroller_test.cc77 CommandView command = CommandView::Create(packet_view); in HandleCommand()
85 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand()
94 …event_builder = ReadLocalVersionInformationCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, in HandleCommand()
106 …ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, supported_comma… in HandleCommand()
109 ReadLocalExtendedFeaturesView read_command = ReadLocalExtendedFeaturesView::Create(command); in HandleCommand()
114 …event_builder = ReadLocalExtendedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, … in HandleCommand()
118 event_builder = ReadBufferSizeCompleteBuilder::Create( in HandleCommand()
123 … event_builder = ReadBdAddrCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, Address::kAny); in HandleCommand()
129 …event_builder = LeReadBufferSizeV1CompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, le_buff… in HandleCommand()
133 …LeReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, 0x001f1234567… in HandleCommand()
[all …]
Dle_address_manager_test.cc66 … return CommandView::Create(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in GetLastCommand()
70 return CommandView::Create(GetPacketView(std::move(last))); in GetLastCommand()
95 EventView event = EventView::Create(packet); in IncomingEvent()
101 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
226 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in TEST_F()
248 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in TEST_F()
309 …test_hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)… in SetUp()
336 …LeAddDeviceToConnectListView::Create(LeConnectionManagementCommandView::Create(AclCommandView::Cre… in TEST_F()
341 …test_hci_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SU… in TEST_F()
351 …test_hci_layer_->IncomingEvent(LeAddDeviceToConnectListCompleteBuilder::Create(0x01, ErrorCode::SU… in TEST_F()
[all …]
Dcontroller.cc50 WriteSecureConnectionsHostSupportBuilder::Create(Enable::ENABLED), in Start()
53 hci_->EnqueueCommand(ReadLocalNameBuilder::Create(), in Start()
55 hci_->EnqueueCommand(ReadLocalVersionInformationBuilder::Create(), in Start()
57 hci_->EnqueueCommand(ReadLocalSupportedCommandsBuilder::Create(), in Start()
63 hci_->EnqueueCommand(ReadLocalExtendedFeaturesBuilder::Create(0x00), in Start()
68 hci_->EnqueueCommand(ReadBufferSizeBuilder::Create(), in Start()
73 LeReadBufferSizeV2Builder::Create(), in Start()
77 LeReadBufferSizeV1Builder::Create(), in Start()
81 hci_->EnqueueCommand(LeReadLocalSupportedFeaturesBuilder::Create(), in Start()
84 hci_->EnqueueCommand(LeReadSupportedStatesBuilder::Create(), in Start()
[all …]
Dle_advertising_manager_test.cc85 auto packet_view = CommandView::Create(GetPacketView(std::move(command))); in EnqueueCommand()
103 auto packet_view = CommandView::Create(GetPacketView(std::move(command))); in EnqueueCommand()
111 auto sub_view = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet_view)); in EnqueueCommand()
158 CommandView command_packet_view = CommandView::Create(command_queue_.front()); in GetCommand()
160 …auto command = ConnectionManagementCommandView::Create(AclCommandView::Create(command_packet_view)… in GetCommand()
178 EventView event = EventView::Create(packet); in IncomingEvent()
187 EventView event = EventView::Create(packet); in IncomingLeMetaEvent()
188 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent()
197 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
204 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback()
[all …]
Dle_scanning_manager_test.cc101 return CommandView::Create(GetPacketView(nullptr)); in GetLastCommand()
105 return CommandView::Create(GetPacketView(std::move(last))); in GetLastCommand()
111 …auto command = ConnectionManagementCommandView::Create(AclCommandView::Create(command_packet_view)… in GetCommand()
136 EventView event = EventView::Create(packet); in IncomingEvent()
145 EventView event = EventView::Create(packet); in IncomingLeMetaEvent()
146 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent()
155 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
163 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback()
263 test_hci_layer_->IncomingEvent(LeSetScanEnableCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in SetUp()
277 … test_hci_layer_->IncomingEvent(LeSetScanParametersCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in HandleConfiguration()
[all …]
Dle_scanning_manager.cc265 handle_advertising_report(LeAdvertisingReportView::Create(event)); in handle_scan_results()
268 handle_directed_advertising_report(LeDirectedAdvertisingReportView::Create(event)); in handle_scan_results()
271 handle_extended_advertising_report(LeExtendedAdvertisingReportView::Create(event)); in handle_scan_results()
489 le_scanning_interface_->EnqueueCommand(hci::LeSetExtendedScanParametersBuilder::Create( in configure_scan()
495 …hci::LeExtendedScanParamsBuilder::Create(LeScanType::ACTIVE, interval_ms_, window_ms_, own_address… in configure_scan()
502 …hci::LeSetScanParametersBuilder::Create(LeScanType::ACTIVE, interval_ms_, window_ms_, own_address_… in configure_scan()
574 hci::LeSetExtendedScanEnableBuilder::Create( in start_scan()
581 … hci::LeSetScanEnableBuilder::Create(Enable::ENABLED, Enable::DISABLED /* filter duplicates */), in start_scan()
593 hci::LeSetExtendedScanEnableBuilder::Create( in stop_scan()
600 … hci::LeSetScanEnableBuilder::Create(Enable::DISABLED, Enable::DISABLED /* filter duplicates */), in stop_scan()
[all …]
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc154 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 …]
/system/bt/gd/hci/acl_manager/
Dclassic_acl_connection.cc162 auto complete_view = RoleDiscoveryCompleteView::Create(view); in on_role_discovery_complete()
176 auto complete_view = ReadLinkPolicySettingsCompleteView::Create(view); in on_read_link_policy_settings_complete()
190 auto complete_view = ReadAutomaticFlushTimeoutCompleteView::Create(view); in on_read_automatic_flush_timeout_complete()
204 auto complete_view = ReadTransmitPowerLevelCompleteView::Create(view); in on_read_transmit_power_level_complete()
218 auto complete_view = ReadLinkSupervisionTimeoutCompleteView::Create(view); in on_read_link_supervision_timeout_complete()
232 auto complete_view = ReadFailedContactCounterCompleteView::Create(view); in on_read_failed_contact_counter_complete()
246 auto complete_view = ReadLinkQualityCompleteView::Create(view); in on_read_link_quality_complete()
260 auto complete_view = ReadAfhChannelMapCompleteView::Create(view); in on_read_afh_channel_map_complete()
274 auto complete_view = ReadRssiCompleteView::Create(view); in on_read_rssi_complete()
300 auto complete_view = ReadClockCompleteView::Create(view); in on_read_clock_complete()
[all …]
/system/bt/gd/l2cap/
Dl2cap_packet_test.cc81 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()
/system/bt/gd/neighbor/
Dpage.cc66 auto packet = hci::WritePageScanActivityCompleteView::Create(view); in OnCommandComplete()
72 auto packet = hci::ReadPageScanActivityCompleteView::Create(view); in OnCommandComplete()
80 auto packet = hci::WritePageScanTypeCompleteView::Create(view); in OnCommandComplete()
86 auto packet = hci::ReadPageScanTypeCompleteView::Create(view); in OnCommandComplete()
93 auto packet = hci::WritePageTimeoutCompleteView::Create(view); in OnCommandComplete()
99 auto packet = hci::ReadPageTimeoutCompleteView::Create(view); in OnCommandComplete()
116 … hci::ReadPageScanActivityBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
119 hci::ReadPageScanTypeBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
122 hci::ReadPageTimeoutBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
132 hci::WritePageScanActivityBuilder::Create(params.interval, params.window), in SetScanActivity()
[all …]
Dinquiry_test.cc104 hci::CommandView command = hci::CommandView::Create(GetPacketView(std::move(command_builder))); in HandleCommand()
111 … hci::InquiryCancelCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand()
116 … auto inquiry = hci::PeriodicInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand()
119 …hci::PeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCC… in HandleCommand()
129 …hci::ExitPeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::… in HandleCommand()
135 …hci::WriteInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS… in HandleCommand()
137 auto view = hci::WriteInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand()
144 event_builder = hci::ReadInquiryModeCompleteBuilder::Create( in HandleCommand()
150 …hci::WriteInquiryScanActivityCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode:… in HandleCommand()
152 … auto view = hci::WriteInquiryScanActivityView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand()
[all …]
Dinquiry.cc109 auto packet = hci::InquiryCancelCompleteView::Create(view); in OnCommandComplete()
115 auto packet = hci::PeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete()
121 auto packet = hci::ExitPeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete()
127 auto packet = hci::WriteInquiryModeCompleteView::Create(view); in OnCommandComplete()
133 auto packet = hci::ReadInquiryModeCompleteView::Create(view); in OnCommandComplete()
140 auto packet = hci::ReadInquiryResponseTransmitPowerLevelCompleteView::Create(view); in OnCommandComplete()
147 auto packet = hci::WriteInquiryScanActivityCompleteView::Create(view); in OnCommandComplete()
153 auto packet = hci::ReadInquiryScanActivityCompleteView::Create(view); in OnCommandComplete()
161 auto packet = hci::WriteInquiryScanTypeCompleteView::Create(view); in OnCommandComplete()
167 auto packet = hci::ReadInquiryScanTypeCompleteView::Create(view); in OnCommandComplete()
[all …]
/system/bt/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc90 auto event = hci::EventView::Create(packet); in OnHciEventReceived()
95 pairing_handler_->OnReceive(hci::PinCodeRequestView::Create(event)); in OnHciEventReceived()
98 pairing_handler_->OnReceive(hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived()
101 pairing_handler_->OnReceive(hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived()
104 pairing_handler_->OnReceive(hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived()
107 pairing_handler_->OnReceive(hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived()
110 pairing_handler_->OnReceive(hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived()
113 pairing_handler_->OnReceive(hci::ReturnLinkKeysView::Create(event)); in OnHciEventReceived()
116 pairing_handler_->OnReceive(hci::RemoteOobDataRequestView::Create(event)); in OnHciEventReceived()
119 pairing_handler_->OnReceive(hci::UserPasskeyNotificationView::Create(event)); in OnHciEventReceived()
[all …]
Dclassic_pairing_handler.cc85 … hci::UserConfirmationRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnConfirmYesNo()
88 …hci::UserConfirmationRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddre… in OnConfirmYesNo()
93 …GetChannel()->SendCommand(hci::UserPasskeyRequestReplyBuilder::Create(address.GetAddress(), passke… in OnPasskeyEntry()
102 …GetChannel()->SendCommand(hci::PinCodeRequestReplyBuilder::Create(address.GetAddress(), pin.size()… in OnPinEntry()
195 this->GetChannel()->SendCommand(hci::LinkKeyRequestReplyBuilder::Create( in OnReceive()
202 … hci::LinkKeyRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive()
228 auto reply_packet = hci::IoCapabilityRequestReplyBuilder::Create( in OnReceive()
339 …hci::RemoteOobDataRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress(… in OnReceive()
346 GetChannel()->SendCommand(hci::RemoteOobExtendedDataRequestReplyBuilder::Create( in OnReceive()
353 GetChannel()->SendCommand(hci::RemoteOobDataRequestReplyBuilder::Create( in OnReceive()
[all …]
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc69 auto packet = ChildTwoTwoThreeBuilder::Create(); in TEST()
83 ParentView wrong_view = ParentView::Create(packet_bytes_view); in TEST()
86 ParentTwoView parent_view = ParentTwoView::Create(packet_bytes_view); in TEST()
90 ChildTwoTwoView child_view = ChildTwoTwoView::Create(parent_view); in TEST()
94 ChildTwoTwoThreeView grandchild_view = ChildTwoTwoThreeView::Create(child_view); in TEST()
101 auto packet = ChildBuilder::Create(field_name, footer); in TEST()
115 ParentView parent_view = ParentView::Create(packet_bytes_view); in TEST()
124 ChildView child_view = ChildView::Create(parent_view); in TEST()
134 …ParentWithSixBytesView invalid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(t… in TEST()
137 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST()
[all …]
/system/unwinding/libunwindstack/tests/
DDexFileTest.cpp64 EXPECT_TRUE(DexFile::Create(0, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
77 EXPECT_TRUE(DexFile::Create(0x1000, sizeof(kDexData), &memory, nullptr) != nullptr); in TEST()
92 EXPECT_TRUE(DexFile::Create(0x500, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
105 EXPECT_TRUE(DexFile::Create(0x600, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
118 EXPECT_TRUE(DexFile::Create(0x400, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
125 EXPECT_TRUE(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
132 EXPECT_TRUE(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
145 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
150 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
158 EXPECT_TRUE(DexFile::Create(0x4000, size, &memory, nullptr) == nullptr); in TEST()
[all …]
/system/bt/gd/hci/facade/
Dacl_manager_facade.cc120 …ConnectionManagementCommandView::Create(AclCommandView::Create(CommandView::Create(PacketView<kLit… in ConnectionCommand()
127 GET_CONNECTION(AuthenticationRequestedView::Create(command_view)); in ConnectionCommand()
132 auto view = DisconnectView::Create(command_view); in ConnectionCommand()
138 auto view = ChangeConnectionPacketTypeView::Create(command_view); in ConnectionCommand()
144 auto view = SetConnectionEncryptionView::Create(command_view); in ConnectionCommand()
150 GET_CONNECTION(ChangeConnectionLinkKeyView::Create(command_view)); in ConnectionCommand()
155 GET_CONNECTION(ReadClockOffsetView::Create(command_view)); in ConnectionCommand()
160 auto view = HoldModeView::Create(command_view); in ConnectionCommand()
166 auto view = SniffModeView::Create(command_view); in ConnectionCommand()
173 GET_CONNECTION(ExitSniffModeView::Create(command_view)); in ConnectionCommand()
[all …]
/system/bt/gd/l2cap/le/internal/
Dsignalling_manager.cc103 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), result); in SendConnectionParameterUpdateResponse()
108 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit()
145 auto builder = LeCommandRejectNotUnderstoodBuilder::Create(signal_id.Value()); in OnConnectionParameterUpdateRequest()
152 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), in OnConnectionParameterUpdateRequest()
315 auto builder = LeDisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest()
360 LeControlView control_packet_view = LeControlView::Create(*packet); in on_incoming_packet()
368 LeCommandRejectView command_reject_view = LeCommandRejectView::Create(control_packet_view); in on_incoming_packet()
378 ConnectionParameterUpdateRequestView::Create(control_packet_view); in on_incoming_packet()
392 ConnectionParameterUpdateResponseView::Create(control_packet_view); in on_incoming_packet()
402 LeCreditBasedConnectionRequestView::Create(control_packet_view); in on_incoming_packet()
[all …]
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller_test.cc84 auto pdu_view = BasicFrameView::Create(view); in TEST_F()
86 auto standard_view = StandardFrameView::Create(pdu_view); in TEST_F()
88 auto i_frame_view = EnhancedInformationFrameView::Create(standard_view); in TEST_F()
103 auto builder = EnhancedInformationFrameBuilder::Create(1, 0, Final::NOT_SET, 0, in TEST_F()
122 …auto builder1 = EnhancedInformationStartFrameBuilder::Create(1, 0, Final::NOT_SET, 0, 6, std::move… in TEST_F()
125 auto builder2 = EnhancedInformationFrameBuilder::Create(1, 1, Final::NOT_SET, 0, in TEST_F()
129 …auto builder3 = EnhancedInformationFrameBuilder::Create(1, 2, Final::NOT_SET, 0, SegmentationAndRe… in TEST_F()
148 …auto builder1 = EnhancedInformationStartFrameBuilder::Create(1, 0, Final::NOT_SET, 0, 10, std::mov… in TEST_F()
151 auto builder2 = EnhancedInformationFrameBuilder::Create(1, 1, Final::NOT_SET, 0, in TEST_F()
155 …auto builder3 = EnhancedInformationFrameBuilder::Create(1, 2, Final::NOT_SET, 0, SegmentationAndRe… in TEST_F()
[all …]

12345678910>>...15