Home
last modified time | relevance | path

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

1234

/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/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/core/lmkd/include/
Dlmkd.h67 static inline void lmkd_pack_get_target(LMKD_CTRL_PACKET packet, int target_idx, in lmkd_pack_get_target()
77 static inline size_t lmkd_pack_set_target(LMKD_CTRL_PACKET packet, struct lmk_target* targets, in lmkd_pack_set_target()
101 static inline void lmkd_pack_get_procprio(LMKD_CTRL_PACKET packet, struct lmk_procprio* params) { in lmkd_pack_get_procprio()
111 static inline size_t lmkd_pack_set_procprio(LMKD_CTRL_PACKET packet, struct lmk_procprio* params) { in lmkd_pack_set_procprio()
128 static inline void lmkd_pack_get_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_get_procremove()
137 static inline size_t lmkd_pack_set_procremove(LMKD_CTRL_PACKET packet, in lmkd_pack_set_procremove()
148 static inline size_t lmkd_pack_set_procpurge(LMKD_CTRL_PACKET packet) { in lmkd_pack_set_procpurge()
163 static inline void lmkd_pack_get_getkillcnt(LMKD_CTRL_PACKET packet, in lmkd_pack_get_getkillcnt()
173 static inline size_t lmkd_pack_set_getkillcnt(LMKD_CTRL_PACKET packet, in lmkd_pack_set_getkillcnt()
185 static inline size_t lmkd_pack_set_getkillcnt_repl(LMKD_CTRL_PACKET packet, int kill_cnt) { in lmkd_pack_set_getkillcnt_repl()
/system/bt/hci/src/
Dhci_layer_android.cc74 BT_HDR* packet = in WrapPacketAndCopy() local
93 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_EVT, event); in hciEventReceived() local
99 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ACL, data); in aclDataReceived() local
105 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_SCO, data); in scoDataReceived() local
145 void hci_transmit(BT_HDR* packet) { in hci_transmit()
188 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 void hci_event_received(const base::Location& from_here, 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()
393 static void enqueue_packet(void* packet) { in enqueue_packet()
404 BT_HDR* packet = (BT_HDR*)pkt; in event_packet_ready() local
409 static void transmit_fragment(BT_HDR* packet, bool send_transmit_finished) { in transmit_fragment()
425 static void fragmenter_transmit_finished(BT_HDR* packet, in fragmenter_transmit_finished()
557 static bool filter_incoming_event(BT_HDR* packet) { in filter_incoming_event()
650 static void dispatch_reassembled(BT_HDR* packet) { in dispatch_reassembled()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_socket_device.cc96 RegisterEventChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice()
100 RegisterAclChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice()
104 RegisterScoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice()
116 …SocketDevice::SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_t>> pac… in SendHci()
Dcar_kit.cc41 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in CarKit()
96 void CarKit::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket()
/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/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/packets/hci/
Dcommand_packet_view.cc26 CommandPacketView::CommandPacketView(std::shared_ptr<std::vector<uint8_t>> packet) : PacketView<tru… in CommandPacketView()
28 CommandPacketView CommandPacketView::Create(std::shared_ptr<std::vector<uint8_t>> packet) { in Create()
Dsco_packet_view.cc26 ScoPacketView::ScoPacketView(std::shared_ptr<std::vector<uint8_t>> packet) : PacketView<true>(packe… in ScoPacketView()
28 ScoPacketView ScoPacketView::Create(std::shared_ptr<std::vector<uint8_t>> packet) { in Create()
Dacl_packet_view.cc28 AclPacketView::AclPacketView(std::shared_ptr<std::vector<uint8_t>> packet) : PacketView<true>(packe… in AclPacketView()
32 AclPacketView AclPacketView::Create(std::shared_ptr<std::vector<uint8_t>> packet) { in Create()
/system/core/liblog/tests/
Dliblog_benchmark.cpp280 struct packet { in BM_pmsg_short_aligned() struct
281 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_aligned()
282 android_log_header_t header; in BM_pmsg_short_aligned()
283 android_log_event_int_t payload; in BM_pmsg_short_aligned()
355 struct packet { in BM_pmsg_short_unaligned1() struct
356 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_unaligned1()
357 android_log_header_t header; in BM_pmsg_short_unaligned1()
358 android_log_event_int_t payload; in BM_pmsg_short_unaligned1()
430 struct packet { in BM_pmsg_long_aligned() struct
431 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/gd/packet/
Draw_builder_unittest.cc38 namespace packet { namespace
60 std::vector<uint8_t> packet; in TEST() local
Dpacket_builder_unittest.cc50 namespace packet { namespace
64 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() local
114 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() local
144 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() local
211 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() local
/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.cpp47 TombstonedCrashPacket packet = {}; in tombstoned_connect() local
86 TombstonedCrashPacket packet = {}; in tombstoned_notify_completion() local
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc51 void PhyLayerFactory::Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet, uint32_t … in Send()
96 void PhyLayerImpl::Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet) { in Send()
100 void PhyLayerImpl::Receive(packets::LinkLayerPacketView packet) { in Receive()
/system/bt/test/rootcanal/
Dbluetooth_hci.cc93 controller_->RegisterEventChannel([cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize()
98 controller_->RegisterAclChannel([cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize()
103 controller_->RegisterScoChannel([cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize()
163 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& packet) { in sendHciCommand()
172 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& packet) { in sendAclData()
181 Return<void> BluetoothHci::sendScoData(const hidl_vec<uint8_t>& packet) { in sendScoData()

1234