Home
last modified time | relevance | path

Searched refs:CreatePacket (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/modules/pacing/
Dprioritized_packet_queue_unittest.cc28 std::unique_ptr<RtpPacketToSend> CreatePacket(RtpPacketMediaType type, in CreatePacket() function
46 queue.Push(now, CreatePacket(RtpPacketMediaType::kPadding, /*seq=*/1)); in TEST()
47 queue.Push(now, CreatePacket(RtpPacketMediaType::kVideo, /*seq=*/2)); in TEST()
48 queue.Push(now, CreatePacket(RtpPacketMediaType::kForwardErrorCorrection, in TEST()
50 queue.Push(now, CreatePacket(RtpPacketMediaType::kRetransmission, /*seq=*/4)); in TEST()
51 queue.Push(now, CreatePacket(RtpPacketMediaType::kAudio, /*seq=*/5)); in TEST()
69 CreatePacket(RtpPacketMediaType::kVideo, /*seq=*/1, /*ssrc=*/100)); in TEST()
72 CreatePacket(RtpPacketMediaType::kVideo, /*seq=*/2, /*ssrc=*/101)); in TEST()
74 CreatePacket(RtpPacketMediaType::kVideo, /*seq=*/3, /*ssrc=*/101)); in TEST()
77 CreatePacket(RtpPacketMediaType::kVideo, /*seq=*/4, /*ssrc=*/102)); in TEST()
[all …]
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter_unittest.cc66 PacketResult CreatePacket(int64_t receive_time_ms, in CreatePacket() function
129 packets.push_back(CreatePacket(100, 200, 0, 1500, kPacingInfo0)); in TEST_F()
130 packets.push_back(CreatePacket(110, 210, 1, 1500, kPacingInfo0)); in TEST_F()
131 packets.push_back(CreatePacket(120, 220, 2, 1500, kPacingInfo0)); in TEST_F()
132 packets.push_back(CreatePacket(130, 230, 3, 1500, kPacingInfo1)); in TEST_F()
133 packets.push_back(CreatePacket(140, 240, 4, 1500, kPacingInfo1)); in TEST_F()
156 CreatePacket(100, 220, 0, 1500, kPacingInfo0), in TEST_F()
157 CreatePacket(110, 210, 1, 1500, kPacingInfo0), in TEST_F()
158 CreatePacket(120, 220, 2, 1500, kPacingInfo0), in TEST_F()
159 CreatePacket(130, 230, 3, 1500, kPacingInfo0), in TEST_F()
[all …]
Dtransport_feedback_demuxer_unittest.cc34 RtpPacketSendInfo CreatePacket(uint32_t ssrc, in CreatePacket() function
55 demuxer.AddPacket(CreatePacket(kSsrc, kRtpStartSeq, kTransportStartSeq, in TEST()
57 demuxer.AddPacket(CreatePacket(kSsrc, kRtpStartSeq + 1, in TEST()
60 demuxer.AddPacket(CreatePacket( in TEST()
90 CreatePacket(kSsrc, kRtpStartSeq + 3, kTransportStartSeq + 3, false)); in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Dpacket_sequencer_unittest.cc39 RtpPacketToSend CreatePacket(RtpPacketMediaType type, uint32_t ssrc) { in CreatePacket() function in webrtc::__anon5fd4ddc60111::PacketSequencerTest
58 CreatePacket(RtpPacketMediaType::kRetransmission, kMediaSsrc); in TEST_F()
66 RtpPacketToSend packet = CreatePacket(RtpPacketMediaType::kAudio, kMediaSsrc); in TEST_F()
74 RtpPacketToSend packet = CreatePacket(RtpPacketMediaType::kVideo, kMediaSsrc); in TEST_F()
83 CreatePacket(RtpPacketMediaType::kForwardErrorCorrection, kMediaSsrc); in TEST_F()
92 CreatePacket(RtpPacketMediaType::kRetransmission, kRtxSsrc); in TEST_F()
103 CreatePacket(RtpPacketMediaType::kVideo, kMediaSsrc); in TEST_F()
125 CreatePacket(RtpPacketMediaType::kAudio, kMediaSsrc); in TEST_F()
137 CreatePacket(RtpPacketMediaType::kVideo, kMediaSsrc); in TEST_F()
148 CreatePacket(RtpPacketMediaType::kPadding, kMediaSsrc); in TEST_F()
[all …]
/external/webrtc/modules/video_coding/
Dloss_notification_controller_unittest.cc36 Packet CreatePacket( in CreatePacket() function
65 Packet packet = CreatePacket(true, true, seq_num_++, frame_id_++, in NextPacket()
233 OnReceivedPacket(CreatePacket(true, false, 100, 0, true)); in TEST_P()
234 OnReceivedPacket(CreatePacket(Bool<0>(), Bool<1>(), 103, 1, false, {0})); in TEST_P()
242 OnReceivedPacket(CreatePacket(true, true, 100, 0, true)); in TEST_P()
246 OnReceivedPacket(CreatePacket(first, last, 103, 1, false, {0})); in TEST_P()
255 OnReceivedPacket(CreatePacket(true, true, seq_num, 0, true)); in TEST_P()
259 OnReceivedPacket(CreatePacket(first, last, ++seq_num, 1, false, {0})); in TEST_P()
264 OnReceivedPacket(CreatePacket(true, true, 100, 1, true)); in TEST_F()
266 OnReceivedPacket(CreatePacket(true, true, 108, 8, true)); in TEST_F()
[all …]
Dpacket_buffer_unittest.cc741 std::unique_ptr<PacketBuffer::Packet> CreatePacket() { in CreatePacket() function in webrtc::video_coding::__anon1a981a310111::PacketBufferH264XIsKeyframeTest
760 auto packet = CreatePacket(); in TEST_F()
770 auto packet = CreatePacket(); in TEST_F()
790 auto packet = CreatePacket(); in TEST_F()
801 auto packet = CreatePacket(); in TEST_F()
813 auto packet = CreatePacket(); in TEST_F()
/external/webrtc/modules/audio_coding/neteq/tools/
Dencode_neteq_input.cc27 CreatePacket(); in EncodeNetEqInput()
46 CreatePacket(); in PopPacket()
64 void EncodeNetEqInput::CreatePacket() { in CreatePacket() function in webrtc::test::EncodeNetEqInput
Dencode_neteq_input.h55 void CreatePacket();
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc117 return CreatePacket(); in NextPacket()
141 std::unique_ptr<Packet> AcmSendTestOldApi::CreatePacket() { in CreatePacket() function in webrtc::test::AcmSendTestOldApi
Dacm_send_test.h70 std::unique_ptr<Packet> CreatePacket();
/external/webrtc/modules/audio_coding/neteq/
Dred_payload_splitter_unittest.cc125 Packet CreatePacket(uint8_t payload_type, in CreatePacket() function
293 packet_list.push_back(CreatePacket(i, 10, 0)); in TEST()
328 packet_list.push_back(CreatePacket(kRedPayloadType, 10, 0)); in TEST()
/external/webrtc/call/
Drtp_demuxer_unittest.cc99 std::unique_ptr<RtpPacketReceived> CreatePacket( in CreatePacket() function in webrtc::__anonc89c1f990111::RtpDemuxerTest
109 return CreatePacket(ssrc, nullptr); in CreatePacketWithSsrc()
118 auto packet = CreatePacket(ssrc, &extension_manager); in CreatePacketWithSsrcMid()
129 auto packet = CreatePacket(ssrc, &extension_manager); in CreatePacketWithSsrcRsid()
140 auto packet = CreatePacket(ssrc, &extension_manager); in CreatePacketWithSsrcRrid()
153 auto packet = CreatePacket(ssrc, &extension_manager); in CreatePacketWithSsrcMidRsid()
167 auto packet = CreatePacket(ssrc, &extension_manager); in CreatePacketWithSsrcRsidRrid()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_sent_packet_manager_test.cc70 SerializedPacket packet(CreatePacket(packet_number, false)); in RetransmitCryptoPacket()
85 SerializedPacket packet(CreatePacket(packet_number, true)); in RetransmitDataPacket()
233 SerializedPacket packet(CreatePacket(new_packet_number, true)); in RetransmitAndSendPacket()
239 return CreatePacket(packet_number, true); in CreateDataPacket()
242 SerializedPacket CreatePacket(uint64_t packet_number, bool retransmittable) { in CreatePacket() function in quic::test::__anonb38efb1a0111::QuicSentPacketManagerTest
292 SerializedPacket packet(CreatePacket(packet_number, false)); in SendCryptoPacket()
311 SerializedPacket packet(CreatePacket(packet_number, false)); in SendAckPacket()