Home
last modified time | relevance | path

Searched refs:packet2 (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h148 auto packet2 = TestPacketType<PacketType>::Make(); in MatchAndExplain() local
149 pkt_to_compare_to_->Serialize(packet2); in MatchAndExplain()
151 if (packet1->GetData() != packet2->GetData()) { in MatchAndExplain()
153 *listener << packet2->ToString(); in MatchAndExplain()
158 return packet1->GetData() == packet2->GetData(); in MatchAndExplain()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/wear/
DStreamingPacketFileTest.java108 final byte[] packet2 = new byte[12]; in enqueueOutboundPacket()
110 packet2[0] = (byte) 2; in enqueueOutboundPacket()
122 final int totalLen = packet1.length + packet2.length + 4; in enqueueOutboundPacket()
130 assertTrue(file.enqueueOutboundPacket(packet2, 0, packet2.length)); in enqueueOutboundPacket()
140 assertEquals(packet2.length, in enqueueOutboundPacket()
143 assertEquals(packet2[0], capturedData[packet1.length + 4]); in enqueueOutboundPacket()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler_test.cc193 std::vector<uint8_t> packet2 = {0x04, 0x05, 0x06}; in TEST_F() local
195 EnqueueAclUpEnd(queue_up_end, packet2); in TEST_F()
199 VerifyPacket(handle, packet2); in TEST_F()
297 std::vector<uint8_t> packet2 = {0x02, 0x02, 0x03, i}; in TEST_F() local
301 EnqueueAclUpEnd(queue_up_end2, packet2); in TEST_F()
311 std::vector<uint8_t> packet2 = {0x02, 0x02, 0x03, i}; in TEST_F() local
315 VerifyPacket(handle2, packet2); in TEST_F()
/packages/modules/Connectivity/tests/common/java/android/net/
DNattKeepalivePacketDataTest.kt130 val packet2 = nattKeepalivePacket(srcAddress = TEST_ADDRV6, dstAddress = TEST_ADDRV6) in testConstructor_afterR() constant
131 assertEquals(TEST_ADDRV6, packet2.srcAddress) in testConstructor_afterR()
132 assertEquals(TEST_ADDRV6, packet2.dstAddress) in testConstructor_afterR()
/packages/modules/Bluetooth/system/gd/l2cap/internal/
Dscheduler_fifo_test.cc131 auto packet2 = std::move(enqueue_.enqueued.front()); in TEST_F() local
132 packet_view = GetPacketView(std::move(packet2)); in TEST_F()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzerTest.cpp401 RtpPacket* packet2 = new RtpPacket(); in TEST_F() local
402 packet2->seqNum = kNumLostPacket + 1; in TEST_F()
403 mAnalyzer->SendEvent(kCollectPacketInfo, kStreamRtpRx, reinterpret_cast<uint64_t>(packet2)); in TEST_F()
556 RtpPacket* packet2 = new RtpPacket(); in TEST_F() local
557 packet2->seqNum = i; in TEST_F()
558 mAnalyzer->SendEvent(kCollectPacketInfo, kStreamRtpRx, reinterpret_cast<uint64_t>(packet2)); in TEST_F()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc2221 uint8_t* packet2 = in bta_av_data_path() local
2223 memcpy(packet2, data_begin, fragment_len); in bta_av_data_path()