Home
last modified time | relevance | path

Searched defs:packet (Results 1 – 25 of 141) sorted by relevance

123456

/system/bt/gd/security/pairing/
Dclassic_pairing_handler.cc134 void ClassicPairingHandler::OnReceive(hci::ChangeConnectionLinkKeyCompleteView packet) { in OnReceive()
139 void ClassicPairingHandler::OnReceive(hci::MasterLinkKeyCompleteView packet) { in OnReceive()
144 void ClassicPairingHandler::OnReceive(hci::PinCodeRequestView packet) { in OnReceive()
150 void ClassicPairingHandler::OnReceive(hci::LinkKeyRequestView packet) { in OnReceive()
156 …auto packet = hci::LinkKeyRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetAddress(), in OnReceive() local
160 …auto packet = hci::LinkKeyRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetA… in OnReceive() local
165 void ClassicPairingHandler::OnReceive(hci::LinkKeyNotificationView packet) { in OnReceive()
173 void ClassicPairingHandler::OnReceive(hci::IoCapabilityRequestView packet) { in OnReceive()
185 void ClassicPairingHandler::OnReceive(hci::IoCapabilityResponseView packet) { in OnReceive()
194 void ClassicPairingHandler::OnReceive(hci::SimplePairingCompleteView packet) { in OnReceive()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc72 auto packet = gd_hci::EventPacketBuilder::Create( in SendCommandCompleteUnknownOpCodeEvent() local
87 Phy::Type phy_type) { in DualModeController()
265 void DualModeController::HandleAcl(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleAcl()
285 void DualModeController::HandleSco(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleSco()
307 void DualModeController::HandleCommand(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleCommand()
391 auto packet = bluetooth::hci::ReadBufferSizeCompleteBuilder::Create( in ReadBufferSize() local
405 auto packet = bluetooth::hci::ReadEncryptionKeySizeCompleteBuilder::Create( in ReadEncryptionKeySize() local
414 auto packet = bluetooth::hci::HostBufferSizeCompleteBuilder::Create( in HostBufferSize() local
433 auto packet = in ReadLocalVersionInformation() local
449 auto packet = in ReadRemoteVersionInformation() local
[all …]
Dlink_layer_controller.cc41 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLeLinkLayerPacket()
50 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLinkLayerPacket()
132 auto packet = bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in SendAclToRemote() local
331 model::packets::LinkLayerPacketView packet) { in IncomingRemoteNameRequest()
341 model::packets::LinkLayerPacketView packet) { in IncomingRemoteNameRequestResponse()
350 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteLmpFeatures()
358 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteLmpFeaturesResponse()
367 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteSupportedFeatures()
375 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteSupportedFeaturesResponse()
392 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteExtendedFeatures()
[all …]
/system/connectivity/wificond/net/
Dmlme_event.cpp35 bool GetCommonFields(const NL80211Packet* packet, in GetCommonFields()
52 const NL80211Packet* packet) { in InitFromPacket()
74 const NL80211Packet* packet) { in InitFromPacket()
96 const NL80211Packet* packet) { in InitFromPacket()
111 const NL80211Packet* packet) { in InitFromPacket()
125 const NL80211Packet* packet) { in InitFromPacket()
Dnetlink_manager.cpp54 unique_ptr<const NL80211Packet> packet) { in AppendPacket()
114 unique_ptr<NL80211Packet> packet( in ReceivePacketAndRunHandler() local
170 void NetlinkManager::OnNewFamily(unique_ptr<const NL80211Packet> packet) { in OnNewFamily()
264 const NL80211Packet& packet, in RegisterHandlerAndSendMessage()
278 const NL80211Packet& packet, in SendMessageAndGetResponses()
327 const NL80211Packet& packet, in SendMessageAndGetSingleResponse()
345 const NL80211Packet& packet, in SendMessageAndGetSingleResponseOrError()
360 bool NetlinkManager::SendMessageAndGetAckOrError(const NL80211Packet& packet, in SendMessageAndGetAckOrError()
376 bool NetlinkManager::SendMessageAndGetAck(const NL80211Packet& packet) { in SendMessageAndGetAck()
389 bool NetlinkManager::SendMessageInternal(const NL80211Packet& packet, int fd) { in SendMessageInternal()
[all …]
/system/bt/packet/tests/base/
Diterator_test.cc51 auto packet = in TEST_F() local
59 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F() local
69 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F() local
79 auto packet = GetTestPacket(); in TEST_P() local
90 auto packet = GetTestPacket(); in TEST_P() local
103 auto packet = GetTestPacket(); in TEST_P() local
116 auto packet = GetTestPacket(); in TEST_P() local
125 auto packet = GetTestPacket(); in TEST_P() local
138 auto packet = GetTestPacket(); in TEST_P() local
148 auto packet = GetTestPacket(); in TEST_P() local
[all …]
Dpacket_test.cc29 auto packet = TestPacket::Make( in TEST() local
44 auto packet = TestPacket::Make(test_avctp_data); in TEST() local
54 auto packet = TestPacket::Make(test_l2cap_data); in TEST() local
68 auto packet = in TEST() local
75 auto packet = TestPacket::Make( in TEST() local
97 auto packet = TestPacket::Make(test_l2cap_data); in TEST() local
112 auto packet = TestPacket::Make(test_l2cap_data); in TEST() local
Dpacket_builder_test.cc30 auto packet = TestPacket::Make(); in TEST() local
46 auto packet = TestPacket::Make(); in TEST() local
57 auto packet = TestPacket::Make(); in TEST() local
/system/memory/lmkd/include/
Dlmkd.h70 static inline void lmkd_pack_get_target(LMKD_CTRL_PACKET packet, int target_idx, in lmkd_pack_get_target()
80 static inline size_t lmkd_pack_set_target(LMKD_CTRL_PACKET packet, struct lmk_target* targets, in lmkd_pack_set_target()
113 static inline void lmkd_pack_get_procprio(LMKD_CTRL_PACKET packet, int field_count, in lmkd_pack_get_procprio()
126 static inline size_t lmkd_pack_set_procprio(LMKD_CTRL_PACKET packet, struct lmk_procprio* params) { in lmkd_pack_set_procprio()
144 static inline void lmkd_pack_get_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_get_procremove()
153 static inline size_t lmkd_pack_set_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_set_procremove()
164 static inline size_t lmkd_pack_set_procpurge(LMKD_CTRL_PACKET packet) { in lmkd_pack_set_procpurge()
179 static inline void lmkd_pack_get_getkillcnt(LMKD_CTRL_PACKET packet, in lmkd_pack_get_getkillcnt()
189 static inline size_t lmkd_pack_set_getkillcnt(LMKD_CTRL_PACKET packet, in lmkd_pack_set_getkillcnt()
201 static inline size_t lmkd_pack_set_getkillcnt_repl(LMKD_CTRL_PACKET packet, int kill_cnt) { in lmkd_pack_set_getkillcnt_repl()
[all …]
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc64 void OnReceive(hci::AddressWithType device, hci::ChangeConnectionLinkKeyCompleteView packet) { in OnReceive()
68 void OnReceive(hci::AddressWithType device, hci::MasterLinkKeyCompleteView packet) { in OnReceive()
72 void OnReceive(hci::AddressWithType device, hci::PinCodeRequestView packet) { in OnReceive()
76 void OnReceive(hci::AddressWithType device, hci::LinkKeyRequestView packet) { in OnReceive()
80 void OnReceive(hci::AddressWithType device, hci::LinkKeyNotificationView packet) { in OnReceive()
84 void OnReceive(hci::AddressWithType device, hci::IoCapabilityRequestView packet) { in OnReceive()
88 void OnReceive(hci::AddressWithType device, hci::IoCapabilityResponseView packet) { in OnReceive()
92 void OnReceive(hci::AddressWithType device, hci::SimplePairingCompleteView packet) { in OnReceive()
96 void OnReceive(hci::AddressWithType device, hci::ReturnLinkKeysView packet) { in OnReceive()
100 void OnReceive(hci::AddressWithType device, hci::EncryptionChangeView packet) { in OnReceive()
[all …]
Dsecurity_manager_channel.cc26 void SecurityManagerChannel::OnCommandComplete(hci::CommandCompleteView packet) { in OnCommandComplete()
37 void SecurityManagerChannel::OnHciEventReceived(hci::EventPacketView packet) { in OnHciEventReceived()
/system/bt/hci/test/
Dhci_layer_test.cc43 void hci_transmit(BT_HDR* packet) { LOG(INFO) << __func__ << " UNIMPLEMENTED"; } in hci_transmit()
46 void hci_log_firmware_debug_packet(int fd, BT_HDR* packet) {} in hci_log_firmware_debug_packet()
79 BT_HDR* packet = in AllocatePacket() local
91 BT_HDR* packet = AllocateHciEventPacket(3); in TEST_F() local
101 BT_HDR* packet = AllocateHciEventPacket(3); in TEST_F() local
112 BT_HDR* packet = AllocateHciEventPacket(6); in TEST_F() local
/system/bt/gd/hci/cert/
Dacl_manager_test.py95 def get_address_from_complete(packet): argument
124 def get_connect_request(packet): argument
145 def get_handle(packet): argument
220 def get_handle(packet): argument
278 def get_address_from_complete(packet): argument
307 def get_connect_request(packet): argument
328 def get_handle(packet): argument
Ddirect_hci_test.py326 def event_handle(packet): argument
339 def payload_handle(packet): argument
480 def get_address_from_complete(packet): argument
516 def get_connect_request(packet): argument
547 def event_handle(packet): argument
551 def payload_handle(packet): argument
602 def get_address_from_complete(packet): argument
636 def get_connect_request(packet): argument
667 def event_handle(packet): argument
671 def payload_handle(packet): argument
/system/bt/gd/neighbor/
Dinquiry.cc105 auto packet = hci::InquiryCancelCompleteView::Create(view); in OnCommandComplete() local
111 auto packet = hci::PeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() local
117 auto packet = hci::ExitPeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() local
123 auto packet = hci::WriteInquiryModeCompleteView::Create(view); in OnCommandComplete() local
129 auto packet = hci::ReadInquiryModeCompleteView::Create(view); in OnCommandComplete() local
136 auto packet = hci::ReadInquiryResponseTransmitPowerLevelCompleteView::Create(view); in OnCommandComplete() local
143 auto packet = hci::WriteInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() local
149 auto packet = hci::ReadInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() local
157 auto packet = hci::WriteInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() local
163 auto packet = hci::ReadInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() local
[all …]
Dpage.cc65 auto packet = hci::WritePageScanActivityCompleteView::Create(view); in OnCommandComplete() local
71 auto packet = hci::ReadPageScanActivityCompleteView::Create(view); in OnCommandComplete() local
79 auto packet = hci::WritePageScanTypeCompleteView::Create(view); in OnCommandComplete() local
85 auto packet = hci::ReadPageScanTypeCompleteView::Create(view); in OnCommandComplete() local
92 auto packet = hci::WritePageTimeoutCompleteView::Create(view); in OnCommandComplete() local
98 auto packet = hci::ReadPageTimeoutCompleteView::Create(view); in OnCommandComplete() local
/system/bt/hci/src/
Dhci_layer_android.cc80 BT_HDR* packet = in WrapPacketAndCopy() local
108 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_EVT, event); in hciEventReceived() local
114 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ACL, data); in aclDataReceived() local
120 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_SCO, data); in scoDataReceived() local
126 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ISO, data); in isoDataReceived() local
181 void hci_transmit(BT_HDR* packet) { in hci_transmit()
231 void hci_log_firmware_debug_packet(int fd, BT_HDR* packet) { in hci_log_firmware_debug_packet()
Dhci_packet_factory.cc49 BT_HDR* packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size() local
73 BT_HDR* packet = in make_read_local_extended_features() local
83 BT_HDR* packet = in make_write_simple_pairing_mode() local
93 BT_HDR* packet = in make_write_secure_connections_host_support() local
103 BT_HDR* packet = make_command(HCI_SET_EVENT_MASK, parameter_size, &stream); in make_set_event_mask() local
113 BT_HDR* packet = in make_ble_write_host_support() local
165 BT_HDR* packet = in make_ble_set_event_mask() local
180 BT_HDR* packet = make_packet(HCI_COMMAND_PREAMBLE_SIZE + parameter_size); in make_command() local
/system/bt/gd/packet/
Draw_builder_unittest.cc38 namespace packet { namespace
60 std::vector<uint8_t> packet; in TEST() local
81 std::vector<uint8_t> packet; in TEST() local
103 std::vector<uint8_t> packet; in TEST() local
/system/bt/stack/test/a2dp/
Da2dp_vendor_ldac_decoder_test.cc31 uint8_t* Data(BT_HDR* packet) { return packet->data + packet->offset; } in Data()
49 auto packet = AllocatePacket(data.size()); in AllocateL2capPacket() local
56 BT_HDR* packet = in AllocatePacket() local
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_socket_device.cc94 RegisterEventChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice()
97 …RegisterAclChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice()
98 …RegisterScoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice()
106 …SocketDevice::SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_t>> pac… in SendHci()
/system/core/adb/
Dtransport_benchmark.cpp67 … server->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Unidirectional()
82 std::unique_ptr<apacket> packet = std::make_unique<apacket>(); in BM_Connection_Unidirectional() local
124 … client->SetReadCallback([&received_bytes](Connection*, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo()
129 static const auto handle_packet = [](Connection* connection, std::unique_ptr<apacket> packet) { in BM_Connection_Echo()
133 server->SetReadCallback([](Connection* connection, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo()
137 std::unique_ptr<apacket> packet(raw_packet); in BM_Connection_Echo() local
156 std::unique_ptr<apacket> packet = std::make_unique<apacket>(); in BM_Connection_Echo() local
/system/bt/profile/sdp/common/test/
Ddata_element_reader_test.cc74 auto packet = ReaderPacket::Make(std::move(payload)); in CreateReader() local
192 auto packet = ReaderPacket::Make(std::get<0>(GetParam())); in TEST_P() local
219 auto packet = ReaderPacket::Make(payload); in TEST() local
250 auto packet = ReaderPacket::Make({}); in TEST() local
258 auto packet = ReaderPacket::Make({0xFF}); in TEST() local
398 auto packet = ReaderPacket::Make(GetParam()); in TEST_P() local
406 auto packet = ReaderPacket::Make({0x00, 0x00, 0x00, 0x00}); in TEST() local
/system/bt/gd/hci/
Dacl_manager_test.cc46 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
177 auto packet = GetPacketView(std::move(event_builder)); in IncomingEvent() local
186 auto packet = GetPacketView(std::move(event_builder)); in IncomingLeMetaEvent() local
203 auto packet = GetPacketView(NextAclPacket(handle)); in IncomingAclData() local
456 auto packet = GetPacketView(std::move(last_command)); in TEST_F() local
514 auto packet = test_hci_layer_->GetCommandPacket(OpCode::LE_CREATE_CONNECTION); in TEST_F() local
541 auto packet = test_hci_layer_->GetCommandPacket(OpCode::LE_CREATE_CONNECTION); in TEST_F() local
562 auto packet = test_hci_layer_->GetCommandPacket(OpCode::LE_CREATE_CONNECTION); in TEST_F() local
773 auto packet = test_hci_layer_->GetCommandPacket(OpCode::SWITCH_ROLE); in TEST_F() local
786 auto packet = test_hci_layer_->GetCommandPacket(OpCode::READ_DEFAULT_LINK_POLICY_SETTINGS); in TEST_F() local
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc55 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in Send()
71 void PhyLayerFactory::Send(model::packets::LinkLayerPacketView packet, in Send()
118 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet) { in Send()
122 void PhyLayerImpl::Send(model::packets::LinkLayerPacketView packet) { in Send()
134 void PhyLayerImpl::Receive(model::packets::LinkLayerPacketView packet) { in Receive()

123456