Home
last modified time | relevance | path

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

1234567

/system/bt/gd/security/pairing/
Dclassic_pairing_handler.cc98 void ClassicPairingHandler::OnReceive(hci::ChangeConnectionLinkKeyCompleteView packet) { in OnReceive()
103 void ClassicPairingHandler::OnReceive(hci::MasterLinkKeyCompleteView packet) { in OnReceive()
108 void ClassicPairingHandler::OnReceive(hci::PinCodeRequestView packet) { in OnReceive()
114 void ClassicPairingHandler::OnReceive(hci::LinkKeyRequestView packet) { in OnReceive()
122 …auto packet = hci::LinkKeyRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetAddress(), in OnReceive() local
129 …auto packet = hci::LinkKeyRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress().GetA… in OnReceive() local
135 void ClassicPairingHandler::OnReceive(hci::LinkKeyNotificationView packet) { in OnReceive()
143 void ClassicPairingHandler::OnReceive(hci::IoCapabilityRequestView packet) { in OnReceive()
155 void ClassicPairingHandler::OnReceive(hci::IoCapabilityResponseView packet) { in OnReceive()
195 void ClassicPairingHandler::OnReceive(hci::SimplePairingCompleteView packet) { in OnReceive()
[all …]
/system/bt/gd/cert/
Dmatchers.py104 def _is_matching_inquiry_result(packet, address): argument
119 def _is_matching_inquiry_result_with_rssi(packet, address): argument
134 def _is_matching_extended_inquiry_result(packet, address): argument
290 def _basic_frame(packet): argument
296 def _basic_frame_with_fcs(packet): argument
302 def _basic_frame_for(packet, scid): argument
309 def _basic_frame_with_fcs_for(packet, scid): argument
319 def _information_frame(packet): argument
326 def _information_frame_with_fcs(packet): argument
335 def _information_start_frame(packet): argument
[all …]
Dcaptures.py106 def _extract_connection_request(packet): argument
115 def _extract_connection_response(packet): argument
124 def _extract_configuration_request(packet): argument
134 def _extract_credit_based_connection_request(packet): argument
144 def _extract_credit_based_connection_response(packet): argument
/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/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc75 auto packet = gd_hci::EventPacketBuilder::Create( in SendCommandCompleteUnknownOpCodeEvent() local
90 Phy::Type phy_type) { in DualModeController()
278 void DualModeController::HandleAcl(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleAcl()
298 void DualModeController::HandleSco(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleSco()
320 void DualModeController::HandleCommand(std::shared_ptr<std::vector<uint8_t>> packet) { in HandleCommand()
404 auto packet = bluetooth::hci::ReadBufferSizeCompleteBuilder::Create( in ReadBufferSize() local
418 auto packet = bluetooth::hci::ReadEncryptionKeySizeCompleteBuilder::Create( in ReadEncryptionKeySize() local
427 auto packet = bluetooth::hci::HostBufferSizeCompleteBuilder::Create( in HostBufferSize() local
446 auto packet = in ReadLocalVersionInformation() local
462 auto packet = in ReadRemoteVersionInformation() local
[all …]
Dlink_layer_controller.cc45 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLeLinkLayerPacket()
54 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLinkLayerPacket()
132 auto packet = bluetooth::hci::NumberOfCompletedPacketsBuilder::Create( in SendAclToRemote() local
357 model::packets::LinkLayerPacketView packet) { in IncomingRemoteNameRequest()
367 model::packets::LinkLayerPacketView packet) { in IncomingRemoteNameRequestResponse()
376 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteLmpFeatures()
384 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteLmpFeaturesResponse()
393 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteSupportedFeatures()
401 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteSupportedFeaturesResponse()
418 model::packets::LinkLayerPacketView packet) { in IncomingReadRemoteExtendedFeatures()
[all …]
/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.cc84 void OnReceive(hci::AddressWithType device, hci::ChangeConnectionLinkKeyCompleteView packet) { in OnReceive()
88 void OnReceive(hci::AddressWithType device, hci::MasterLinkKeyCompleteView packet) { in OnReceive()
92 void OnReceive(hci::AddressWithType device, hci::PinCodeRequestView packet) { in OnReceive()
96 void OnReceive(hci::AddressWithType device, hci::LinkKeyRequestView packet) { in OnReceive()
100 void OnReceive(hci::AddressWithType device, hci::LinkKeyNotificationView packet) { in OnReceive()
104 void OnReceive(hci::AddressWithType device, hci::IoCapabilityRequestView packet) { in OnReceive()
108 void OnReceive(hci::AddressWithType device, hci::IoCapabilityResponseView packet) { in OnReceive()
112 void OnReceive(hci::AddressWithType device, hci::SimplePairingCompleteView packet) { in OnReceive()
116 void OnReceive(hci::AddressWithType device, hci::ReturnLinkKeysView packet) { in OnReceive()
120 void OnReceive(hci::AddressWithType device, hci::EncryptionChangeView packet) { in OnReceive()
[all …]
/system/bt/gd/neighbor/
Dinquiry.cc109 auto packet = hci::InquiryCancelCompleteView::Create(view); in OnCommandComplete() local
115 auto packet = hci::PeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() local
121 auto packet = hci::ExitPeriodicInquiryModeCompleteView::Create(view); in OnCommandComplete() local
127 auto packet = hci::WriteInquiryModeCompleteView::Create(view); in OnCommandComplete() local
133 auto packet = hci::ReadInquiryModeCompleteView::Create(view); in OnCommandComplete() local
140 auto packet = hci::ReadInquiryResponseTransmitPowerLevelCompleteView::Create(view); in OnCommandComplete() local
147 auto packet = hci::WriteInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() local
153 auto packet = hci::ReadInquiryScanActivityCompleteView::Create(view); in OnCommandComplete() local
161 auto packet = hci::WriteInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() local
167 auto packet = hci::ReadInquiryScanTypeCompleteView::Create(view); in OnCommandComplete() local
[all …]
Dpage.cc66 auto packet = hci::WritePageScanActivityCompleteView::Create(view); in OnCommandComplete() local
72 auto packet = hci::ReadPageScanActivityCompleteView::Create(view); in OnCommandComplete() local
80 auto packet = hci::WritePageScanTypeCompleteView::Create(view); in OnCommandComplete() local
86 auto packet = hci::ReadPageScanTypeCompleteView::Create(view); in OnCommandComplete() local
93 auto packet = hci::WritePageTimeoutCompleteView::Create(view); in OnCommandComplete() local
99 auto packet = hci::ReadPageTimeoutCompleteView::Create(view); in OnCommandComplete() local
Dscan.cc66 auto packet = hci::ReadScanEnableCompleteView::Create(view); in OnCommandComplete() local
73 auto packet = hci::WriteScanEnableCompleteView::Create(view); in OnCommandComplete() local
98 …std::unique_ptr<hci::WriteScanEnableBuilder> packet = hci::WriteScanEnableBuilder::Create(scan_ena… in WriteScanEnable() local
103 std::unique_ptr<hci::ReadScanEnableBuilder> packet = hci::ReadScanEnableBuilder::Create(); in WriteScanEnable() local
154 std::unique_ptr<hci::ReadScanEnableBuilder> packet = hci::ReadScanEnableBuilder::Create(); in Start() local
/system/bt/hci/src/
Dhci_layer_android.cc80 BT_HDR* packet = in WrapPacketAndCopy() local
107 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_EVT, event); in hciEventReceived() local
113 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ACL, data); in aclDataReceived() local
119 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_SCO, data); in scoDataReceived() local
125 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ISO, data); in isoDataReceived() local
182 void hci_transmit(BT_HDR* packet) { in hci_transmit()
232 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.cc95 RegisterEventChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice()
98 …RegisterAclChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice()
99 …RegisterScoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice()
107 …SocketDevice::SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_t>> pac… in SendHci()
/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/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/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc60 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in Send()
76 void PhyLayerFactory::Send(model::packets::LinkLayerPacketView packet, in Send()
123 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet) { in Send()
127 void PhyLayerImpl::Send(model::packets::LinkLayerPacketView packet) { in Send()
139 void PhyLayerImpl::Receive(model::packets::LinkLayerPacketView packet) { in Receive()
/system/bt/gd/hci/
Dacl_manager_test.cc47 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
209 auto packet = GetPacketView(std::move(event_builder)); in IncomingEvent() local
218 auto packet = GetPacketView(std::move(event_builder)); in IncomingLeMetaEvent() local
235 auto packet = GetPacketView(NextAclPacket(handle)); in IncomingAclData() local
583 auto packet = test_hci_layer_->GetCommandPacket(OpCode::LE_CREATE_CONNECTION); in SetUp() local
655 auto packet = test_hci_layer_->GetLastCommandPacket(OpCode::LE_CREATE_CONNECTION); in TEST_F() local
689 auto packet = test_hci_layer_->GetLastCommandPacket(OpCode::LE_CREATE_CONNECTION_CANCEL); in TEST_F() local
829 auto packet = test_hci_layer_->GetCommandPacket(OpCode::DISCONNECT); in TEST_F() local
858 auto packet = test_hci_layer_->GetCommandPacket(OpCode::SWITCH_ROLE); in TEST_F() local
872 auto packet = test_hci_layer_->GetCommandPacket(OpCode::WRITE_DEFAULT_LINK_POLICY_SETTINGS); in TEST_F() local
[all …]
/system/memory/lmkd/
Dliblmkd_utils.cpp35 LMKD_CTRL_PACKET packet; in lmkd_register_proc() local
46 LMKD_CTRL_PACKET packet; in lmkd_unregister_proc() local
57 LMKD_CTRL_PACKET packet; in lmkd_update_props() local

1234567