Lines Matching refs:sinks
297 MockRtpPacketSink sinks[arraysize(ssrcs)]; in TEST_F() local
299 AddSinkOnlySsrc(ssrcs[i], &sinks[i]); in TEST_F()
304 EXPECT_CALL(sinks[i], OnRtpPacket(SamePacketAs(*packet))).Times(1); in TEST_F()
311 MockRtpPacketSink sinks[arraysize(rsids)]; in TEST_F() local
313 AddSinkOnlyRsid(rsids[i], &sinks[i]); in TEST_F()
319 EXPECT_CALL(sinks[i], OnRtpPacket(SamePacketAs(*packet))).Times(1); in TEST_F()
326 MockRtpPacketSink sinks[arraysize(mids)]; in TEST_F() local
328 AddSinkOnlyMid(mids[i], &sinks[i]); in TEST_F()
334 EXPECT_CALL(sinks[i], OnRtpPacket(SamePacketAs(*packet))).Times(1); in TEST_F()
450 MockRtpPacketSink sinks[3]; in TEST_F() local
452 ASSERT_TRUE(AddSinkOnlySsrc(ssrc, &sinks[0])); in TEST_F()
453 ASSERT_FALSE(AddSinkOnlySsrc(ssrc, &sinks[1])); in TEST_F()
454 ASSERT_FALSE(AddSinkOnlySsrc(ssrc, &sinks[2])); in TEST_F()
459 EXPECT_CALL(sinks[0], OnRtpPacket(SamePacketAs(*packet))).Times(1); in TEST_F()
460 EXPECT_CALL(sinks[1], OnRtpPacket(_)).Times(0); in TEST_F()
461 EXPECT_CALL(sinks[2], OnRtpPacket(_)).Times(0); in TEST_F()