/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | dual_mode_controller.cc | 72 auto packet = gd_hci::EventPacketBuilder::Create( in SendCommandCompleteUnknownOpCodeEvent() 241 auto command_view = gd_hci::SniffSubratingView::Create( in SniffSubrating() 242 gd_hci::ConnectionManagementCommandView::Create(command)); in SniffSubrating() 245 send_event_(gd_hci::SniffSubratingCompleteBuilder::Create( in SniffSubrating() 267 auto acl_packet = bluetooth::hci::AclPacketView::Create(raw_packet); in HandleAcl() 277 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleAcl() 287 auto sco_packet = bluetooth::hci::ScoPacketView::Create(raw_packet); in HandleSco() 296 send_event_(bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in HandleSco() 309 auto command_packet = bluetooth::hci::CommandPacketView::Create(raw_packet); in HandleCommand() 324 send_event_(bluetooth::hci::LoopbackCommandBuilder::Create( in HandleCommand() [all …]
|
D | link_layer_controller.cc | 66 SendLinkLayerPacket(model::packets::ReadRemoteLmpFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 68 SendLinkLayerPacket(model::packets::RemoteNameRequestBuilder::Create( in SendCommandToRemoteByAddress() 73 model::packets::ReadRemoteSupportedFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 80 model::packets::ReadRemoteExtendedFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 85 model::packets::ReadRemoteVersionInformationBuilder::Create( in SendCommandToRemoteByAddress() 89 SendLinkLayerPacket(model::packets::ReadClockOffsetBuilder::Create( in SendCommandToRemoteByAddress() 132 auto packet = bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in SendAclToRemote() 151 auto acl = model::packets::AclPacketBuilder::Create( in SendAclToRemote() 288 auto acl = model::packets::AclPacketView::Create(incoming); in IncomingAclPacket() 296 auto acl_view = bluetooth::hci::AclPacketView::Create(raw_packet); in IncomingAclPacket() [all …]
|
/system/bt/gd/hci/ |
D | hci_packets_test.cc | 236 …auto view = WriteExtendedInquiryResponseView::Create(CommandPacketView::Create(packet_bytes_view)); in TEST() 250 auto builder = WriteExtendedInquiryResponseBuilder::Create(view.GetFecRequired(), no_padding); in TEST() 272 …LeSetScanParametersView::Create(LeScanningCommandView::Create(CommandPacketView::Create(packet_byt… in TEST() 289 …auto view = LeSetScanEnableView::Create(LeScanningCommandView::Create(CommandPacketView::Create(pa… in TEST() 306 …LeGetVendorCapabilitiesView::Create(VendorCommandView::Create(CommandPacketView::Create(packet_byt… in TEST() 319 auto view = LeGetVendorCapabilitiesCompleteView::Create( in TEST() 320 CommandCompleteView::Create(EventPacketView::Create(packet_bytes_view))); in TEST() 341 auto view = LeSetExtendedScanParametersView::Create( in TEST() 342 LeScanningCommandView::Create(CommandPacketView::Create(packet_bytes_view))); in TEST() 360 auto view = LeSetExtendedScanParametersView::Create( in TEST() [all …]
|
D | hci_layer_test.cc | 112 return CommandPacketView::Create(packetview); in GetSentCommand() 304 auto reset_view = ResetView::Create(CommandPacketView::Create(sent_command)); in SetUp() 313 …hal->callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_co… in SetUp() 350 …LeConnectionCompleteBuilder::Create(status, handle, role, peer_address_type, peer_address, conn_in… in TEST_F() 358 …ASSERT(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventPacketView::Create(event))).I… in TEST_F() 366 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F() 369 upper->SendHciCommandExpectingComplete(ReadLocalVersionInformationBuilder::Create()); in TEST_F() 375 hal->callbacks->hciEventReceived(GetPacketBytes(NoCommandCompleteBuilder::Create(num_packets))); in TEST_F() 394 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F() 401 …SSERT(ReadLocalVersionInformationCompleteView::Create(CommandCompleteView::Create(EventPacketView:… in TEST_F() [all …]
|
D | acl_manager_test.cc | 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() [all …]
|
D | controller_test.cc | 73 CommandPacketView command = CommandPacketView::Create(packet_view); in HandleCommand() 81 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand() 90 …event_builder = ReadLocalVersionInformationCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, in HandleCommand() 102 …ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, supported_comma… in HandleCommand() 107 … ReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, lmp_features); in HandleCommand() 110 ReadLocalExtendedFeaturesView read_command = ReadLocalExtendedFeaturesView::Create(command); in HandleCommand() 115 …event_builder = ReadLocalExtendedFeaturesCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, … in HandleCommand() 119 event_builder = ReadBufferSizeCompleteBuilder::Create( in HandleCommand() 124 … event_builder = ReadBdAddrCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, Address::kAny); in HandleCommand() 130 …event_builder = LeReadBufferSizeCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, le_buffer… in HandleCommand() [all …]
|
D | le_scanning_manager.cc | 66 LeAdvertisingReportView::Create(event)); in handle_scan_results() 70 LeDirectedAdvertisingReportView::Create(event)); in handle_scan_results() 74 LeExtendedAdvertisingReportView::Create(event)); in handle_scan_results() 123 le_scanning_interface_->EnqueueCommand(hci::LeSetExtendedScanParametersBuilder::Create( in configure_scan() 129 …hci::LeExtendedScanParamsBuilder::Create(LeScanType::ACTIVE, interval_ms_, window_ms_, own_address… in configure_scan() 136 …hci::LeSetScanParametersBuilder::Create(LeScanType::ACTIVE, interval_ms_, window_ms_, own_address_… in configure_scan() 148 hci::LeSetExtendedScanEnableBuilder::Create(Enable::ENABLED, in start_scan() 155 … hci::LeSetScanEnableBuilder::Create(Enable::ENABLED, Enable::DISABLED /* filter duplicates */), in start_scan() 169 hci::LeSetExtendedScanEnableBuilder::Create(Enable::DISABLED, in stop_scan() 177 … hci::LeSetScanEnableBuilder::Create(Enable::DISABLED, Enable::DISABLED /* filter duplicates */), in stop_scan() [all …]
|
D | controller.cc | 48 hci_->EnqueueCommand(ReadLocalNameBuilder::Create(), in Start() 52 ReadLocalVersionInformationBuilder::Create(), in Start() 56 ReadLocalSupportedCommandsBuilder::Create(), in Start() 60 ReadLocalSupportedFeaturesBuilder::Create(), in Start() 67 hci_->EnqueueCommand(ReadLocalExtendedFeaturesBuilder::Create(0x00), in Start() 73 hci_->EnqueueCommand(ReadBufferSizeBuilder::Create(), in Start() 77 hci_->EnqueueCommand(LeReadBufferSizeBuilder::Create(), in Start() 82 LeReadLocalSupportedFeaturesBuilder::Create(), in Start() 86 hci_->EnqueueCommand(LeReadSupportedStatesBuilder::Create(), in Start() 91 hci_->EnqueueCommand(LeReadMaximumDataLengthBuilder::Create(), in Start() [all …]
|
D | le_advertising_manager_test.cc | 86 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() 102 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() 109 auto sub_view = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet_view)); in EnqueueCommand() 137 CommandPacketView command_packet_view = CommandPacketView::Create(command_queue_.front()); in GetCommandPacket() 139 …ConnectionManagementCommandView command = ConnectionManagementCommandView::Create(command_packet_v… in GetCommandPacket() 158 EventPacketView event = EventPacketView::Create(packet); in IncomingEvent() 167 EventPacketView event = EventPacketView::Create(packet); in IncomingLeMetaEvent() 168 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent() 177 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() 184 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback() [all …]
|
D | le_advertising_manager.cc | 105 handle_scan_request(LeScanRequestReceivedView::Create(event)); in handle_event() 108 handle_set_terminated(LeAdvertisingSetTerminatedView::Create(event)); in handle_event() 167 hci::LeSetAdvertisingParametersBuilder::Create( in create_advertiser() 171 …le_advertising_interface_->EnqueueCommand(hci::LeSetRandomAddressBuilder::Create(config.random_add… in create_advertiser() 176 hci::LeSetScanResponseDataBuilder::Create(config.scan_response), in create_advertiser() 180 hci::LeSetAdvertisingDataBuilder::Create(config.advertisement), in create_advertiser() 183 hci::LeSetAdvertisingEnableBuilder::Create(Enable::ENABLED), in create_advertiser() 188 … hci::LeMultiAdvtParamBuilder::Create(config.interval_min, config.interval_max, config.event_type, in create_advertiser() 192 …le_advertising_interface_->EnqueueCommand(hci::LeMultiAdvtSetDataBuilder::Create(config.advertisem… in create_advertiser() 197 hci::LeMultiAdvtSetScanRespBuilder::Create(config.scan_response, id), in create_advertiser() [all …]
|
D | le_scanning_manager_test.cc | 112 CommandPacketView command_packet_view = CommandPacketView::Create(packet_view); in GetCommandPacket() 113 …ConnectionManagementCommandView command = ConnectionManagementCommandView::Create(command_packet_v… in GetCommandPacket() 132 EventPacketView event = EventPacketView::Create(packet); in IncomingEvent() 141 EventPacketView event = EventPacketView::Create(packet); in IncomingLeMetaEvent() 142 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent() 151 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback() 158 CommandStatusView status_view = CommandStatusView::Create(event); in CommandStatusCallback() 206 … test_hci_layer_->IncomingEvent(LeSetScanParametersCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in HandleConfiguration() 238 …test_hci_layer_->IncomingEvent(LeExtendedScanParamsCompleteBuilder::Create(1, ErrorCode::SUCCESS)); in HandleConfiguration() 251 …test_hci_layer_->IncomingEvent(LeSetExtendedScanParametersCompleteBuilder::Create(1, ErrorCode::SU… in HandleConfiguration() [all …]
|
/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 130 auto event = EventPacketView::Create(packet); in OnHciEventReceived() 135 OnReceive(hci::AddressWithType(), hci::ChangeConnectionLinkKeyCompleteView::Create(event)); in OnHciEventReceived() 138 OnReceive(hci::AddressWithType(), hci::MasterLinkKeyCompleteView::Create(event)); in OnHciEventReceived() 141 OnReceive(hci::AddressWithType(), hci::PinCodeRequestView::Create(event)); in OnHciEventReceived() 144 OnReceive(hci::AddressWithType(), hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived() 147 OnReceive(hci::AddressWithType(), hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived() 150 OnReceive(hci::AddressWithType(), hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived() 153 OnReceive(hci::AddressWithType(), hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived() 156 OnReceive(hci::AddressWithType(), hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived() 159 OnReceive(hci::AddressWithType(), hci::ReturnLinkKeysView::Create(event)); in OnHciEventReceived() [all …]
|
/system/core/libunwindstack/tests/ |
D | DexFileTest.cpp | 36 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST() 46 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 52 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST() 62 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST() 73 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST() 102 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST() 112 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST() 120 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST() 128 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") != nullptr); in TEST() 139 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") != nullptr); in TEST() [all …]
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 53 auto event = hci::EventPacketView::Create(packet); in OnHciEventReceived() 58 pairing_handler_->OnReceive(hci::PinCodeRequestView::Create(event)); in OnHciEventReceived() 61 pairing_handler_->OnReceive(hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived() 64 pairing_handler_->OnReceive(hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived() 67 pairing_handler_->OnReceive(hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived() 70 pairing_handler_->OnReceive(hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived() 73 pairing_handler_->OnReceive(hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived() 76 pairing_handler_->OnReceive(hci::ReturnLinkKeysView::Create(event)); in OnHciEventReceived() 79 pairing_handler_->OnReceive(hci::RemoteOobDataRequestView::Create(event)); in OnHciEventReceived() 82 pairing_handler_->OnReceive(hci::UserPasskeyNotificationView::Create(event)); in OnHciEventReceived() [all …]
|
/system/bt/gd/neighbor/ |
D | page.cc | 65 auto packet = hci::WritePageScanActivityCompleteView::Create(view); in OnCommandComplete() 71 auto packet = hci::ReadPageScanActivityCompleteView::Create(view); in OnCommandComplete() 79 auto packet = hci::WritePageScanTypeCompleteView::Create(view); in OnCommandComplete() 85 auto packet = hci::ReadPageScanTypeCompleteView::Create(view); in OnCommandComplete() 92 auto packet = hci::WritePageTimeoutCompleteView::Create(view); in OnCommandComplete() 98 auto packet = hci::ReadPageTimeoutCompleteView::Create(view); in OnCommandComplete() 114 hci_layer_->EnqueueCommand(hci::ReadPageScanActivityBuilder::Create(), in Start() 117 hci_layer_->EnqueueCommand(hci::ReadPageScanTypeBuilder::Create(), in Start() 120 hci_layer_->EnqueueCommand(hci::ReadPageTimeoutBuilder::Create(), in Start() 130 …hci_layer_->EnqueueCommand(hci::WritePageScanActivityBuilder::Create(params.interval, params.windo… in SetScanActivity() [all …]
|
D | inquiry_test.cc | 102 …hci::CommandPacketView command = hci::CommandPacketView::Create(GetPacketView(std::move(command_bu… in HandleCommand() 109 … hci::InquiryCancelCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS); in HandleCommand() 114 … auto inquiry = hci::PeriodicInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() 117 …hci::PeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCC… in HandleCommand() 127 …hci::ExitPeriodicInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::… in HandleCommand() 133 …hci::WriteInquiryModeCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode::SUCCESS… in HandleCommand() 135 auto view = hci::WriteInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() 142 event_builder = hci::ReadInquiryModeCompleteBuilder::Create( in HandleCommand() 148 …hci::WriteInquiryScanActivityCompleteBuilder::Create(kNumberPacketsReadyToReceive, hci::ErrorCode:… in HandleCommand() 150 … auto view = hci::WriteInquiryScanActivityView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() [all …]
|
D | inquiry.cc | 105 auto packet = hci::InquiryCancelCompleteView::Create(view); in OnCommandComplete() 111 auto packet = hci::PeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() 117 auto packet = hci::ExitPeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() 123 auto packet = hci::WriteInquiryModeCompleteView::Create(view); in OnCommandComplete() 129 auto packet = hci::ReadInquiryModeCompleteView::Create(view); in OnCommandComplete() 136 auto packet = hci::ReadInquiryResponseTransmitPowerLevelCompleteView::Create(view); in OnCommandComplete() 143 auto packet = hci::WriteInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() 149 auto packet = hci::ReadInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() 157 auto packet = hci::WriteInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() 163 auto packet = hci::ReadInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() [all …]
|
/system/bt/gd/packet/parser/test/ |
D | generated_packet_test.cc | 69 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(too_small); in TEST() 136 …ChildWithSixBytesView invalid = ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(too_s… in TEST() [all …]
|
/system/bt/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller_test.cc | 84 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 …]
|
/system/bt/gd/security/ |
D | pairing_handler_le_unittest.cc | 44 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in BuilderToView() 45 return CommandView::Create(temp_cmd_view); in BuilderToView() 153 CommandView bad_pairing_response = BuilderToView(PairingRandomBuilder::Create({})); in TEST_F() 176 PairingResponseBuilder::Create(IoCapability::KEYBOARD_DISPLAY, OobDataFlag::NOT_PRESENT, in TEST_F() 185 auto ppkv = PairingPublicKeyView::Create(outgoing_l2cap_packet_.value()); in TEST_F() 192 …pairing_handler->OnCommandView(BuilderToView(PairingPublicKeyBuilder::Create(public_key.x, public_… in TEST_F() 205 pairing_handler->OnCommandView(BuilderToView(PairingConfirmBuilder::Create(Cb))); in TEST_F() 210 auto prv = PairingRandomView::Create(outgoing_l2cap_packet_.value()); in TEST_F() 214 pairing_handler->OnCommandView(BuilderToView(PairingRandomBuilder::Create(Nb))); in TEST_F() 227 PairingRequestView preqv = PairingRequestView::Create(pairing_request); in TEST_F() [all …]
|
D | pairing_handler_le.cc | 38 SendL2capPacket(i, PairingFailedBuilder::Create(PairingFailedReason::UNSPECIFIED_REASON)); in PairingMain() 181 …PairingRequestBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_k… in ExchangePairingFeature() 190 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in ExchangePairingFeature() 191 auto pairing_request = PairingRequestView::Create(temp_cmd_view); in ExchangePairingFeature() 212 SendL2capPacket(i, PairingFailedBuilder::Create(PairingFailedReason::UNSPECIFIED_REASON)); in ExchangePairingFeature() 232 SendL2capPacket(i, SecurityRequestBuilder::Create(i.myPairingCapabilities.auth_req)); in ExchangePairingFeature() 238 SendL2capPacket(i, PairingFailedBuilder::Create(PairingFailedReason::UNSPECIFIED_REASON)); in ExchangePairingFeature() 251 …PairingResponseBuilder::Create(x.io_capability, x.oob_data_flag, x.auth_req, x.maximum_encryption_… in ExchangePairingFeature() 260 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in ExchangePairingFeature() 261 auto pairing_response = PairingResponseView::Create(temp_cmd_view); in ExchangePairingFeature() [all …]
|
/system/core/libunwindstack/ |
D | DexFile.cpp | 51 std::unique_ptr<DexFile> DexFile::Create(uint64_t dex_file_offset_in_memory, Memory* memory, in Create() function in unwindstack::DexFile 55 DexFileFromFile::Create(dex_file_offset_in_memory - info->start + info->offset, info->name); in Create() 60 return DexFileFromMemory::Create(dex_file_offset_in_memory, memory, info->name); in Create() 74 std::unique_ptr<DexFileFromFile> DexFileFromFile::Create(uint64_t dex_file_offset_in_file, in Create() function in unwindstack::DexFileFromFile 95 std::unique_ptr<DexFileFromMemory> DexFileFromMemory::Create(uint64_t dex_file_offset_in_memory, in Create() function in unwindstack::DexFileFromMemory
|
/system/bt/gd/l2cap/le/internal/ |
D | signalling_manager.cc | 86 auto builder = ConnectionParameterUpdateResponseBuilder::Create(signal_id.Value(), result); in SendConnectionParameterUpdateResponse() 91 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit() 220 auto builder = LeDisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest() 265 LeControlView control_packet_view = LeControlView::Create(*packet); in on_incoming_packet() 273 LeCommandRejectView command_reject_view = LeCommandRejectView::Create(control_packet_view); in on_incoming_packet() 283 ConnectionParameterUpdateRequestView::Create(control_packet_view); in on_incoming_packet() 294 ConnectionParameterUpdateResponseView::Create(control_packet_view); in on_incoming_packet() 303 LeCreditBasedConnectionRequestView::Create(control_packet_view); in on_incoming_packet() 314 LeCreditBasedConnectionResponseView::Create(control_packet_view); in on_incoming_packet() 324 LeFlowControlCreditView credit_view = LeFlowControlCreditView::Create(control_packet_view); in on_incoming_packet() [all …]
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 319 … ConfigurationResponseBuilder::Create(signal_id.Value(), channel->GetRemoteCid(), is_continuation, in OnConfigurationRequest() 339 …auto response = ConfigurationResponseBuilder::Create(signal_id.Value(), channel->GetRemoteCid(), i… in OnConfigurationRequest() 428 auto builder = DisconnectionResponseBuilder::Create(signal_id.Value(), cid, remote_cid); in OnDisconnectionRequest() 461 auto builder = EchoResponseBuilder::Create(signal_id.Value(), std::move(raw_builder)); in OnEchoRequest() 480 auto response = InformationResponseConnectionlessMtuBuilder::Create( in OnInformationRequest() 487 auto response = InformationResponseExtendedFeaturesBuilder::Create( in OnInformationRequest() 493 auto response = InformationResponseFixedChannelsBuilder::Create( in OnInformationRequest() 513 auto view = InformationResponseConnectionlessMtuView::Create(response); in OnInformationResponse() 522 auto view = InformationResponseExtendedFeaturesView::Create(response); in OnInformationResponse() 533 auto view = InformationResponseFixedChannelsView::Create(response); in OnInformationResponse() [all …]
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 67 …security_manager_channel_->SendCommand(hci::WriteSimplePairingModeBuilder::Create(hci::Enable::ENA… in Init() 68 …security_manager_channel_->SendCommand(hci::WriteSecureConnectionsHostSupportBuilder::Create(hci::… in Init() 170 auto event = hci::EventPacketView::Create(std::move(packet)); in HandleEvent() 190 auto event = hci::EventPacketView::Create(packet); in OnHciEventReceived() 195 HandleEvent<hci::PinCodeRequestView>(hci::PinCodeRequestView::Create(event)); in OnHciEventReceived() 198 HandleEvent(hci::LinkKeyRequestView::Create(event)); in OnHciEventReceived() 201 HandleEvent(hci::LinkKeyNotificationView::Create(event)); in OnHciEventReceived() 204 HandleEvent(hci::IoCapabilityRequestView::Create(event)); in OnHciEventReceived() 207 HandleEvent(hci::IoCapabilityResponseView::Create(event)); in OnHciEventReceived() 210 HandleEvent(hci::SimplePairingCompleteView::Create(event)); in OnHciEventReceived() [all …]
|