/external/webrtc/modules/pacing/ |
D | prioritized_packet_queue_unittest.cc | 28 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/ |
D | transport_feedback_adapter_unittest.cc | 66 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 …]
|
D | transport_feedback_demuxer_unittest.cc | 34 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/ |
D | packet_sequencer_unittest.cc | 39 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/ |
D | loss_notification_controller_unittest.cc | 36 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 …]
|
D | packet_buffer_unittest.cc | 741 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/ |
D | encode_neteq_input.cc | 27 CreatePacket(); in EncodeNetEqInput() 46 CreatePacket(); in PopPacket() 64 void EncodeNetEqInput::CreatePacket() { in CreatePacket() function in webrtc::test::EncodeNetEqInput
|
D | encode_neteq_input.h | 55 void CreatePacket();
|
/external/webrtc/modules/audio_coding/acm2/ |
D | acm_send_test.cc | 117 return CreatePacket(); in NextPacket() 141 std::unique_ptr<Packet> AcmSendTestOldApi::CreatePacket() { in CreatePacket() function in webrtc::test::AcmSendTestOldApi
|
D | acm_send_test.h | 70 std::unique_ptr<Packet> CreatePacket();
|
/external/webrtc/modules/audio_coding/neteq/ |
D | red_payload_splitter_unittest.cc | 125 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/ |
D | rtp_demuxer_unittest.cc | 99 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/ |
D | quic_sent_packet_manager_test.cc | 70 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()
|