Lines Matching refs:NumRtpPackets
245 packets = NumRtpPackets(); in DrainOutgoingPackets()
248 } while (NumRtpPackets() > packets); in DrainOutgoingPackets()
249 return NumRtpPackets(); in DrainOutgoingPackets()
290 int NumRtpPackets() { in NumRtpPackets() function
291 return network_interface_.NumRtpPackets(); in NumRtpPackets()
293 int NumRtpPackets(uint32_t ssrc) { in NumRtpPackets() function
294 return network_interface_.NumRtpPackets(ssrc); in NumRtpPackets()
420 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSend()
443 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in Send()
509 EXPECT_EQ(NumRtpPackets(), info.senders[0].packets_sent); in GetStats()
524 EXPECT_EQ(NumRtpPackets(), info.receivers[0].packets_rcvd); in GetStats()
586 EXPECT_EQ_WAIT(NumRtpPackets(), GetSenderStats(0).packets_sent, kTimeout); in GetStatsMultipleRecvStreams()
595 EXPECT_EQ_WAIT(NumRtpPackets(), GetReceiverStats(i).packets_rcvd, in GetStatsMultipleRecvStreams()
616 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in GetStatsMultipleSendStreams()
650 NumRtpPackets()) { in GetStatsMultipleSendStreams()
656 EXPECT_EQ(NumRtpPackets(), in GetStatsMultipleSendStreams()
686 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSendSsrc()
693 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout); in SetSendSsrc()
696 EXPECT_EQ(0, NumRtpPackets(kSsrc - 1)); in SetSendSsrc()
710 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSendSsrcAfterSetCodecs()
717 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout); in SetSendSsrcAfterSetCodecs()
720 EXPECT_EQ(0, NumRtpPackets(kSsrc)); in SetSendSsrcAfterSetCodecs()
759 EXPECT_GT(NumRtpPackets(), 0); in AddRemoveSendStreams()
761 size_t last_packet = NumRtpPackets() - 1; in AddRemoveSendStreams()
769 int rtp_packets = NumRtpPackets(); in AddRemoveSendStreams()
774 EXPECT_EQ(rtp_packets, NumRtpPackets()); in AddRemoveSendStreams()
777 EXPECT_TRUE_WAIT(NumRtpPackets() > rtp_packets, kTimeout); in AddRemoveSendStreams()
779 last_packet = NumRtpPackets() - 1; in AddRemoveSendStreams()
1390 EXPECT_GT(NumRtpPackets(), 0); in TwoStreamsSendAndReceive()
1438 EXPECT_EQ_WAIT(2, NumRtpPackets(), kTimeout); in TwoStreamsSendAndUnsignalledRecv()
1452 EXPECT_EQ(4, NumRtpPackets()); in TwoStreamsSendAndUnsignalledRecv()
1472 EXPECT_EQ_WAIT(2, NumRtpPackets(), kTimeout); in TwoStreamsAddAndRemoveUnsignalledRecv()