/external/webrtc/pc/ |
D | jitter_buffer_delay_unittest.cc | 26 constexpr int kSsrc = 1234; variable 43 delay_->OnStart(&delayable_, kSsrc); in TEST_F() 45 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 3000)) in TEST_F() 57 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 4000)) in TEST_F() 59 delay_->OnStart(&delayable_, kSsrc); in TEST_F() 63 delay_->OnStart(&delayable_, kSsrc); in TEST_F() 67 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 10000)) in TEST_F() 72 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 10000)) in TEST_F() 76 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 0)) in TEST_F() 81 EXPECT_CALL(delayable_, SetBaseMinimumPlayoutDelayMs(kSsrc, 0)) in TEST_F() [all …]
|
D | rtc_stats_collector_unittest.cc | 2424 const uint32_t kSsrc = 4; in TEST_F() local 2430 voice_media_info.senders[0].local_stats[0].ssrc = kSsrc; in TEST_F() 2437 "LocalAudioTrackID", kSsrc, false, in TEST_F() 2456 const uint32_t kSsrc = 4; in TEST_F() local 2465 video_media_info.senders[0].local_stats[0].ssrc = kSsrc; in TEST_F() 2469 video_media_info.aggregated_senders[0].local_stats[0].ssrc = kSsrc; in TEST_F() 2479 cricket::MEDIA_TYPE_VIDEO, video_track, kSsrc, kAttachmentId, {}); in TEST_F() 2538 const uint32_t kSsrc = 4; in TEST_F() local 2544 video_media_info.senders[0].local_stats[0].ssrc = kSsrc; in TEST_F() 2553 cricket::MEDIA_TYPE_VIDEO, video_track, kSsrc, kAttachmentId, {}); in TEST_F() [all …]
|
/external/webrtc/video/ |
D | encoder_rtcp_feedback_unittest.cc | 28 std::vector<uint32_t>(1, VieKeyRequestTest::kSsrc), in VieKeyRequestTest() 32 const uint32_t kSsrc = 1234; member in webrtc::VieKeyRequestTest 41 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 46 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 47 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 49 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 53 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 54 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F() 55 encoder_rtcp_feedback_.OnReceivedIntraFrameRequest(kSsrc); in TEST_F()
|
D | video_receive_stream_unittest.cc | 329 constexpr uint32_t kSsrc = 1111; in TEST_F() local 342 info.set_ssrc(kSsrc); in TEST_F() 385 EXPECT_EQ(it->source_id(), kSsrc); in TEST_F()
|
D | rtp_video_stream_receiver2_unittest.cc | 147 constexpr uint32_t kSsrc = 111; variable 154 packet->SetSsrc(kSsrc); in CreateRtpPacketReceived() 294 packet_to_send.SetSsrc(kSsrc); in TEST_F() 396 rtp_packet.SetSsrc(kSsrc); in TEST_F() 430 rtp_packet.SetSsrc(kSsrc); in TEST_F() 448 rtp_packet.SetSsrc(kSsrc); in TEST_F()
|
D | rtp_video_stream_receiver_unittest.cc | 146 constexpr uint32_t kSsrc = 111; variable 153 packet->SetSsrc(kSsrc); in CreateRtpPacketReceived() 289 packet_to_send.SetSsrc(kSsrc); in TEST_F() 391 rtp_packet.SetSsrc(kSsrc); in TEST_F() 425 rtp_packet.SetSsrc(kSsrc); in TEST_F() 443 rtp_packet.SetSsrc(kSsrc); in TEST_F()
|
D | video_receive_stream2_unittest.cc | 333 constexpr uint32_t kSsrc = 1111; in TEST_F() local 346 info.set_ssrc(kSsrc); in TEST_F() 389 EXPECT_EQ(it->source_id(), kSsrc); in TEST_F()
|
/external/webrtc/modules/congestion_controller/rtp/ |
D | transport_feedback_demuxer_unittest.cc | 20 static constexpr uint32_t kSsrc = 8492; variable 43 demuxer.RegisterStreamFeedbackObserver({kSsrc}, &mock); in TEST() 45 demuxer.AddPacket(CreatePacket(kSsrc, 55, 1)); in TEST() 46 demuxer.AddPacket(CreatePacket(kSsrc, 56, 2)); in TEST() 47 demuxer.AddPacket(CreatePacket(kSsrc, 57, 3)); in TEST() 60 demuxer.AddPacket(CreatePacket(kSsrc, 58, 4)); in TEST()
|
D | transport_feedback_adapter_unittest.cc | 111 packet_info.ssrc = kSsrc; in OnSentPacket() 125 static constexpr uint32_t kSsrc = 8492; member in webrtc::webrtc_cc::test::TransportFeedbackAdapterTest 396 packet_info.ssrc = kSsrc; in TEST_F()
|
/external/webrtc/modules/audio_coding/neteq/tools/ |
D | packet_unittest.cc | 49 const uint32_t kSsrc = 0x12345678; in TEST() local 50 MakeRtpHeader(kPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST() 59 EXPECT_EQ(kSsrc, packet.header().ssrc); in TEST() 77 const uint32_t kSsrc = 0x12345678; in TEST() local 78 MakeRtpHeader(kPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST() 88 EXPECT_EQ(kSsrc, packet.header().ssrc); in TEST() 140 const uint32_t kSsrc = 0x12345678; in TEST() local 141 MakeRtpHeader(kRedPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST() 165 EXPECT_EQ(kSsrc, packet.header().ssrc); in TEST() 191 EXPECT_EQ(kSsrc, red_block->ssrc); in TEST()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | source_tracker_unittest.cc | 243 constexpr uint32_t kSsrc = 10; in TEST() local 257 {RtpPacketInfo(kSsrc, {kCsrcs0, kCsrcs1}, kRtpTimestamp, kAudioLevel, in TEST() 265 ElementsAre(RtpSource(timestamp_ms, kSsrc, RtpSourceType::SSRC, in TEST() 274 constexpr uint32_t kSsrc = 10; in TEST() local 293 {RtpPacketInfo(kSsrc, {kCsrcs0, kCsrcs1}, kRtpTimestamp0, kAudioLevel0, in TEST() 301 {RtpPacketInfo(kSsrc, {kCsrcs0, kCsrcs2}, kRtpTimestamp1, kAudioLevel1, in TEST() 313 ElementsAre(RtpSource(timestamp_ms_1, kSsrc, RtpSourceType::SSRC, in TEST() 324 constexpr uint32_t kSsrc = 10; in TEST() local 343 {RtpPacketInfo(kSsrc, {kCsrcs0, kCsrcs1}, kRtpTimestamp0, kAudioLevel0, in TEST() 349 {RtpPacketInfo(kSsrc, {kCsrcs0, kCsrcs2}, kRtpTimestamp1, kAudioLevel1, in TEST() [all …]
|
D | rtp_packet_unittest.cc | 28 constexpr uint32_t kSsrc = 0x12345678; variable 210 packet.SetSsrc(kSsrc); in TEST() 221 packet.SetSsrc(kSsrc); in TEST() 234 packet.SetSsrc(kSsrc); in TEST() 250 packet.SetSsrc(kSsrc); in TEST() 270 packet.SetSsrc(kSsrc); in TEST() 289 packet.SetSsrc(kSsrc); in TEST() 378 packet.SetSsrc(kSsrc); in TEST() 392 packet.SetSsrc(kSsrc); in TEST() 442 EXPECT_EQ(kSsrc, packet.Ssrc()); in TEST() [all …]
|
D | rtp_sender_unittest.cc | 67 const uint32_t kSsrc = 725242; variable 324 kSsrc, in RtpSenderTest() 361 config.local_media_ssrc = kSsrc; in SetUpRtpSender() 561 config.local_media_ssrc = kSsrc; in TEST_P() 610 config.local_media_ssrc = kSsrc; in TEST_P() 646 config.local_media_ssrc = kSsrc; in TEST_P() 686 config.local_media_ssrc = kSsrc; in TEST_P() 742 config.local_media_ssrc = kSsrc; in TEST_P() 765 SendSideDelayUpdated(10, 10, 10, kSsrc)) in TEST_P() 778 SendSideDelayUpdated(15, 20, 30, kSsrc)) in TEST_P() [all …]
|
D | rtp_utility_unittest.cc | 25 const uint32_t kSsrc = 0x12345678; variable 46 EXPECT_EQ(kSsrc, header.ssrc); in TEST() 70 EXPECT_EQ(kSsrc, header.ssrc); in TEST() 275 EXPECT_EQ(kSsrc, header.ssrc); in TEST()
|
D | absolute_capture_time_sender_unittest.cc | 20 constexpr uint32_t kSsrc = 12; in TEST() local 22 EXPECT_EQ(AbsoluteCaptureTimeSender::GetSource(kSsrc, nullptr), kSsrc); in TEST() 26 constexpr uint32_t kSsrc = 12; in TEST() local 29 EXPECT_EQ(AbsoluteCaptureTimeSender::GetSource(kSsrc, kCsrcs), kCsrcs[0]); in TEST()
|
D | absolute_capture_time_receiver_unittest.cc | 20 constexpr uint32_t kSsrc = 12; in TEST() local 22 EXPECT_EQ(AbsoluteCaptureTimeReceiver::GetSource(kSsrc, nullptr), kSsrc); in TEST() 26 constexpr uint32_t kSsrc = 12; in TEST() local 29 EXPECT_EQ(AbsoluteCaptureTimeReceiver::GetSource(kSsrc, kCsrcs), kCsrcs[0]); in TEST()
|
D | rtp_sender_audio_unittest.cc | 35 const uint32_t kSsrc = 725242; variable 76 config.local_media_ssrc = kSsrc; in RtpSenderAudioTest()
|
D | rtp_packet_history_unittest.cc | 139 const uint32_t kSsrc = 92384762; in TEST_P() local 144 packet->SetSsrc(kSsrc); in TEST_P() 156 EXPECT_EQ(state->ssrc, kSsrc); in TEST_P() 591 const uint32_t kSsrc = 92384762; in TEST_P() local 600 packet->SetSsrc(kSsrc); in TEST_P() 614 EXPECT_EQ(retransmit_packet->Ssrc(), kSsrc + 1); in TEST_P()
|
D | rtp_sender_video_unittest.cc | 76 constexpr uint32_t kSsrc = 725242; variable 175 config.local_media_ssrc = kSsrc; in RtpSenderVideoTest() 913 config.local_media_ssrc = kSsrc; in RtpSenderVideoWithFrameTransformerTest() 951 RegisterTransformedFrameSinkCallback(_, kSsrc)); in TEST_F() 963 UnregisterTransformedFrameSinkCallback(kSsrc)); in TEST_F()
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | dlrr_unittest.cc | 21 const uint32_t kSsrc = 0x12345678; variable 37 dlrr.AddDlrrItem(ReceiveTimeInfo(kSsrc, kLastRR, kDelay)); in TEST() 53 EXPECT_EQ(kSsrc, block.ssrc); in TEST() 80 dlrr.AddDlrrItem(ReceiveTimeInfo(kSsrc + i, kLastRR + i, kDelay + i)); in TEST()
|
D | target_bitrate_unittest.cc | 25 constexpr uint32_t kSsrc = 0x12345678; variable 69 EXPECT_EQ(kSsrc, xr.sender_ssrc()); in TEST()
|
/external/openscreen/cast/streaming/ |
D | rtcp_common_unittest.cc | 119 constexpr Ssrc kSsrc{0x04050607}; in TEST() local 122 original.ssrc = kSsrc; in TEST() 136 EXPECT_FALSE(RtcpReportBlock::ParseOne(buffer, 0, kSsrc).has_value()); in TEST() 140 const auto parsed = RtcpReportBlock::ParseOne(buffer, 1, kSsrc); in TEST() 156 constexpr Ssrc kSsrc{0x04050607}; in TEST() local 160 expected.ssrc = kSsrc; in TEST() 188 const auto parsed = RtcpReportBlock::ParseOne(buffer, kNumBlocks, kSsrc); in TEST()
|
/external/webrtc/modules/pacing/ |
D | pacing_controller_unittest.cc | 295 const uint32_t kSsrc = 54321; in ConsumeInitialBudget() local 308 SendAndExpectPacket(RtpPacketMediaType::kVideo, kSsrc, sequence_number++, in ConsumeInitialBudget() 492 const uint32_t kSsrc = 12345; in TEST_P() local 501 SendAndExpectPacket(RtpPacketMediaType::kVideo, kSsrc, sequence_number++, in TEST_P() 567 const uint32_t kSsrc = 12345; in TEST_P() local 578 SendAndExpectPacket(RtpPacketMediaType::kVideo, kSsrc, sequence_number++, in TEST_P() 585 Send(RtpPacketMediaType::kVideo, kSsrc, sequence_number, in TEST_P() 597 EXPECT_CALL(callback_, SendPacket(kSsrc, sequence_number, in TEST_P() 1854 const uint32_t kSsrc = 12345; in TEST_P() local 1869 SendAndExpectPacket(RtpPacketMediaType::kAudio, kSsrc, sequence_number++, in TEST_P() [all …]
|
/external/webrtc/media/engine/ |
D | webrtc_video_engine_unittest.cc | 87 static const uint32_t kSsrc = 1234u; variable 378 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F() 392 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F() 422 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F() 428 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F() 439 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F() 445 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &video_source)); in TEST_F() 509 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F() 515 EXPECT_TRUE(channel->SetVideoSend(kSsrc, nullptr, &frame_forwarder)); in TEST_F() 533 EXPECT_TRUE(channel->RemoveSendStream(kSsrc)); in TEST_F() [all …]
|
/external/webrtc/audio/ |
D | audio_send_stream_unittest.cc | 55 const uint32_t kSsrc = 1234; variable 178 stream_config_.rtp.ssrc = kSsrc; in ConfigHelper() 222 EXPECT_CALL(rtp_rtcp_, SSRC).WillRepeatedly(Return(kSsrc)); in SetupDefaultChannelSend() 291 block.source_SSRC = kSsrc; in SetupMockForGetStats() 365 config.rtp.ssrc = kSsrc; in TEST() 441 EXPECT_EQ(kSsrc, stats.local_ssrc); in TEST()
|