/external/webrtc/talk/session/media/ |
D | currentspeakermonitor_unittest.cc | 35 static const uint32_t kSsrc1 = 1001; variable 97 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 106 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 119 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 126 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 133 info.active_streams.push_back(std::make_pair(kSsrc1, 9)); in TEST_F() 146 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 153 info.active_streams.push_back(std::make_pair(kSsrc1, 3)); in TEST_F() 163 info.active_streams.push_back(std::make_pair(kSsrc1, 9)); in TEST_F() 167 EXPECT_EQ(current_speaker_, kSsrc1); in TEST_F() [all …]
|
D | channel_unittest.cc | 71 static const uint32_t kSsrc1 = 0x1111; variable 192 AddLegacyStreamInContent(kSsrc1, flags1, &local_media_content1_); in CreateChannels() 197 AddLegacyStreamInContent(kSsrc1, flags1, &remote_media_content1_); in CreateChannels() 615 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInLocalContent() 682 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInRemoteContent() 749 stream1.ssrcs.push_back(kSsrc1); in TestChangeStreamParamsInContent() 780 EXPECT_TRUE(SendCustomRtp1(kSsrc1, 0)); in TestChangeStreamParamsInContent() 781 EXPECT_TRUE(CheckCustomRtp2(kSsrc1, 0)); in TestChangeStreamParamsInContent() 1317 EXPECT_TRUE(SendCustomRtcp1(kSsrc1)); in SendEarlyMediaUsingRtcpMuxSrtp() 1318 EXPECT_TRUE(CheckCustomRtcp2(kSsrc1)); in SendEarlyMediaUsingRtcpMuxSrtp() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | receive_statistics_unittest.cc | 21 const uint32_t kSsrc1 = 1; variable 30 header1_.ssrc = kSsrc1; in ReceiveStatisticsTest() 56 receive_statistics_->GetStatistician(kSsrc1); in TEST_F() 82 statisticians[kSsrc1]->GetDataCounters(&bytes_received, &packets_received); in TEST_F() 89 receive_statistics_->GetStatistician(kSsrc1)->GetDataCounters( in TEST_F() 126 receive_statistics_->GetStatistician(kSsrc1); in TEST_F() 138 receive_statistics_->GetStatistician(kSsrc1); in TEST_F() 198 receive_statistics_->GetStatistician(kSsrc1) in TEST_F() 202 EXPECT_EQ(callback.ssrc_, kSsrc1); in TEST_F() 234 receive_statistics_->GetStatistician(kSsrc1) in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/pacing/ |
D | packet_router_unittest.cc | 41 const uint16_t kSsrc1 = 1234; in TEST_F() local 48 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); in TEST_F() 49 EXPECT_CALL(rtp_1, TimeToSendPacket(kSsrc1, sequence_number, timestamp, in TEST_F() 54 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number, in TEST_F() 78 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number, in TEST_F() 83 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); in TEST_F() 88 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1 + kSsrc2, sequence_number, in TEST_F() 98 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number, in TEST_F() 105 const uint16_t kSsrc1 = 1234; in TEST_F() local 109 EXPECT_CALL(rtp_1, SSRC()).WillRepeatedly(Return(kSsrc1)); in TEST_F()
|
/external/webrtc/webrtc/video/ |
D | report_block_stats_unittest.cc | 19 ReportBlockStatsTest() : kSsrc1(0x12345), kSsrc2(0x23456) {} in ReportBlockStatsTest() 27 block1_1_.sourceSSRC = kSsrc1; in SetUp() 32 block1_2_.sourceSSRC = kSsrc1; in SetUp() 37 block1_3_.sourceSSRC = kSsrc1; in SetUp() 68 const uint32_t kSsrc1; member in webrtc::ReportBlockStatsTest 135 stats.Store(RtcpReportBlockToRtcpStatistics(block1_1_), kRemoteSsrc, kSsrc1); in TEST_F() 138 stats.Store(RtcpReportBlockToRtcpStatistics(block1_2_), kRemoteSsrc, kSsrc1); in TEST_F() 141 stats.Store(RtcpReportBlockToRtcpStatistics(block1_3_), kRemoteSsrc, kSsrc1); in TEST_F()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvoiceengine_unittest.cc | 57 const uint32_t kSsrc1 = 0x99; variable 96 cricket::StreamParams::CreateLegacy(kSsrc1)); in SetupEngineWithRecvStream() 103 cricket::StreamParams::CreateLegacy(kSsrc1)); in SetupEngineWithSendStream() 108 EXPECT_TRUE(call_.GetAudioSendStream(kSsrc1)); in SetupForMultiSendStream() 109 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc1)); in SetupForMultiSendStream() 111 EXPECT_FALSE(call_.GetAudioSendStream(kSsrc1)); in SetupForMultiSendStream() 148 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf() 164 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf() 172 GetSendStream(kSsrc1).GetLatestTelephoneEvent(); in TestInsertDtmf() 175 telephone_event = GetSendStream(kSsrc1).GetLatestTelephoneEvent(); in TestInsertDtmf() [all …]
|