Home
last modified time | relevance | path

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

12

/system/connectivity/wificond/net/
Dmlme_event.cpp34 bool GetCommonFields(const NL80211Packet* packet, in GetCommonFields()
51 const NL80211Packet* packet) { in InitFromPacket()
73 const NL80211Packet* packet) { in InitFromPacket()
95 const NL80211Packet* packet) { in InitFromPacket()
110 const NL80211Packet* packet) { in InitFromPacket()
124 const NL80211Packet* packet) { in InitFromPacket()
Dnetlink_manager.cpp53 unique_ptr<const NL80211Packet> packet) { in AppendPacket()
113 unique_ptr<NL80211Packet> packet( in ReceivePacketAndRunHandler() local
169 void NetlinkManager::OnNewFamily(unique_ptr<const NL80211Packet> packet) { in OnNewFamily()
263 const NL80211Packet& packet, in RegisterHandlerAndSendMessage()
277 const NL80211Packet& packet, in SendMessageAndGetResponses()
326 const NL80211Packet& packet, in SendMessageAndGetSingleResponse()
344 const NL80211Packet& packet, in SendMessageAndGetSingleResponseOrError()
359 bool NetlinkManager::SendMessageAndGetAckOrError(const NL80211Packet& packet, in SendMessageAndGetAckOrError()
375 bool NetlinkManager::SendMessageAndGetAck(const NL80211Packet& packet) { in SendMessageAndGetAck()
388 bool NetlinkManager::SendMessageInternal(const NL80211Packet& packet, int fd) { in SendMessageInternal()
[all …]
Dnetlink_utils.cpp117 for (auto& packet : response) { in GetWiphyIndex() local
162 for (auto& packet : response) { in GetInterfaces() local
290 for (auto& packet : response) { in GetWiphyInfo() local
295 for (const auto& packet : packet_per_wiphy) { in GetWiphyInfo() local
314 const NL80211Packet& packet, in ParseWiphyInfoFromPacket()
344 const NL80211Packet* const packet, in ParseScanCapabilities()
388 bool NetlinkUtils::ParseBandInfo(const NL80211Packet* const packet, in ParseBandInfo()
534 for (const auto& packet : split_dump_info) { in MergePacketsForSplitWiphyDump() local
/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 = GetTestPacket(); in TEST_P() local
80 auto packet = GetTestPacket(); in TEST_P() local
93 auto packet = GetTestPacket(); in TEST_P() local
102 auto packet = GetTestPacket(); in TEST_P() local
115 auto packet = GetTestPacket(); in TEST_P() local
125 auto packet = GetTestPacket(); in TEST_P() local
135 auto packet = GetTestPacket(); in TEST_P() local
146 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/hci/src/
Dhci_layer_android.cc65 BT_HDR* packet = in WrapPacketAndCopy() local
84 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_EVT, event); in hciEventReceived() local
90 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ACL, data); in aclDataReceived() local
96 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_SCO, data); in scoDataReceived() local
125 void hci_transmit(BT_HDR* packet) { in hci_transmit()
168 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
Dhci_layer.cc145 BT_HDR* packet) { in hci_event_received()
153 void acl_event_received(BT_HDR* packet) { in acl_event_received()
158 void sco_data_received(BT_HDR* packet) { in sco_data_received()
421 static void enqueue_packet(void* packet) { in enqueue_packet()
434 BT_HDR* packet = (BT_HDR*)pkt; in event_packet_ready() local
439 static void transmit_fragment(BT_HDR* packet, bool send_transmit_finished) { in transmit_fragment()
455 static void fragmenter_transmit_finished(BT_HDR* packet, in fragmenter_transmit_finished()
574 static bool filter_incoming_event(BT_HDR* packet) { in filter_incoming_event()
667 static void dispatch_reassembled(BT_HDR* packet) { in dispatch_reassembled()
Dbtsnoop_mem.cc27 void btsnoop_mem_capture(const BT_HDR* packet, uint64_t timestamp_us) { in btsnoop_mem_capture()
Dpacket_fragmenter.cc60 static void fragment_and_dispatch(BT_HDR* packet) { in fragment_and_dispatch()
122 static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR* packet) { in reassemble_and_dispatch()
/system/core/lmkd/include/
Dlmkd.h65 inline void lmkd_pack_get_target(LMKD_CTRL_PACKET packet, in lmkd_pack_get_target()
75 inline size_t lmkd_pack_set_target(LMKD_CTRL_PACKET packet, in lmkd_pack_set_target()
100 inline void lmkd_pack_get_procprio(LMKD_CTRL_PACKET packet, in lmkd_pack_get_procprio()
111 inline size_t lmkd_pack_set_procprio(LMKD_CTRL_PACKET packet, in lmkd_pack_set_procprio()
129 inline void lmkd_pack_get_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_get_procremove()
138 inline size_t lmkd_pack_set_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_set_procremove()
/system/core/liblog/tests/
Dliblog_benchmark.cpp279 struct packet { in BM_pmsg_short_aligned() struct
280 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_aligned()
281 android_log_header_t header; in BM_pmsg_short_aligned()
282 android_log_event_int_t payload; in BM_pmsg_short_aligned()
354 struct packet { in BM_pmsg_short_unaligned1() struct
355 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_unaligned1()
356 android_log_header_t header; in BM_pmsg_short_unaligned1()
357 android_log_event_int_t payload; in BM_pmsg_short_unaligned1()
429 struct packet { in BM_pmsg_long_aligned() struct
430 android_pmsg_log_header_t pmsg_header; in BM_pmsg_long_aligned()
[all …]
/system/bt/tools/hci/
Dmain.c80 uint8_t packet[] = {0x1A, 0x0C, 0x01, 0x00}; in set_discoverable() local
98 uint8_t packet[251] = {0x13, 0x0C, 248}; in set_name() local
125 uint8_t packet[] = {0x24, 0xFC, 0x01, 0x00}; in set_pcm_loopback() local
150 uint8_t packet[] = {0x1C, 0xFC, 0x05, 0x00, 0x02, 0x00, 0x00, 0x00}; in set_sco_route() local
176 static bool write_hci_command(hci_packet_t type, const void* packet, in write_hci_command()
/system/bt/hci/test/
Dpacket_fragmenter_test.cc70 BT_HDR* packet = (BT_HDR*)osi_malloc(size + sizeof(BT_HDR)); in manufacture_packet_for_fragmentation() local
87 BT_HDR* packet, const char* expected_data, in expect_packet_fragmented()
146 BT_HDR* packet = (BT_HDR*)osi_malloc(length_to_send + 4 + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble() local
168 BT_HDR* packet = (BT_HDR*)osi_malloc(data_length + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble() local
179 static void expect_packet_reassembled(uint16_t event, BT_HDR* packet, in expect_packet_reassembled()
/system/core/debuggerd/tombstoned/
Dtombstoned_client.cpp45 TombstonedCrashPacket packet = {}; in tombstoned_connect() local
84 TombstonedCrashPacket packet = {}; in tombstoned_notify_completion() local
/system/bt/test/rootcanal/
Dbluetooth_hci.cc100 controller_.RegisterAclChannel([cb](std::unique_ptr<AclPacket> packet) { in initialize()
107 controller_.RegisterScoChannel([cb](std::unique_ptr<ScoPacket> packet) { in initialize()
151 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& packet) { in sendHciCommand()
164 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& packet) { in sendAclData()
182 Return<void> BluetoothHci::sendScoData(const hidl_vec<uint8_t>& packet) { in sendScoData()
/system/bt/stack/test/common/
Dstack_test_packet_utils.cc60 auto packet = reinterpret_cast<BT_HDR*>(osi_malloc(packet_size)); in AllocateWrappedIncomingL2capAclPacket() local
81 auto packet = reinterpret_cast<BT_HDR*>(osi_malloc(packet_size)); in AllocateWrappedOutgoingL2capAclPacket() local
/system/bt/stack/l2cap/
Dl2cap_client.cc175 bool l2cap_client_write(l2cap_client_t* client, buffer_t* packet) { in l2cap_client_write()
362 static void read_ready_cb(uint16_t local_channel_id, BT_HDR* packet) { in read_ready_cb()
388 static void fragment_packet(l2cap_client_t* client, buffer_t* packet) { in fragment_packet()
428 BT_HDR* packet = (BT_HDR*)list_front(client->outbound_fragments); in dispatch_fragments() local
/system/bt/vendor_libs/test_vendor_lib/src/
Dl2cap_sdu.cc65 L2capSdu packet(std::move(create_from)); in L2capSduConstructor() local
72 L2capSdu packet(std::move(create_from)); in L2capSduBuilder() local
/system/core/adb/
Dtransport_usb.cpp150 bool UsbConnection::Read(apacket* packet) { in Read()
155 bool UsbConnection::Write(apacket* packet) { in Write()
/system/bt/packet/tests/
Dpacket_test_helper.h38 std::shared_ptr<Packet> packet) { in Make()
/system/core/lmkd/
Dliblmkd_utils.c35 LMKD_CTRL_PACKET packet; in lmkd_register_proc() local
/system/core/libappfuse/tests/
DFuseBufferTest.cc45 FuseRequest* const packet = reinterpret_cast<FuseRequest*>(buffer); in TestReadInvalidLength() local
58 FuseRequest* const packet = reinterpret_cast<FuseRequest*>(buffer); in TestWriteInvalidLength() local
/system/bt/vendor_libs/linux/interface/
Dbluetooth_hci.cc285 [cb](const hidl_vec<uint8_t>& packet) { cb->hciEventReceived(packet); }, in initialize()
286 [cb](const hidl_vec<uint8_t>& packet) { cb->aclDataReceived(packet); }, in initialize()
287 [cb](const hidl_vec<uint8_t>& packet) { cb->scoDataReceived(packet); }); in initialize()

12