Home
last modified time | relevance | path

Searched refs:first_packet_time_ms (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/
Dcommon_types.h193 : first_packet_time_ms(-1), in RtcpPacketTypeCounter()
206 if (other.first_packet_time_ms != -1 && in Add()
207 (other.first_packet_time_ms < first_packet_time_ms || in Add()
208 first_packet_time_ms == -1)) { in Add()
210 first_packet_time_ms = other.first_packet_time_ms; in Add()
215 return (first_packet_time_ms == -1) ? -1 : (now_ms - first_packet_time_ms); in TimeSinceFirstPacketInMs()
226 int64_t first_packet_time_ms; // Time when first packet is sent/received. member
864 if (other.first_packet_time_ms != -1 && in Add()
865 (other.first_packet_time_ms < first_packet_time_ms || in Add()
866 first_packet_time_ms == -1)) { in Add()
[all …]
Dcommon_types.cc21 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} in StreamDataCounters()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc359 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F()
367 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F()
368 EXPECT_EQ(receiver_.RtcpSent().first_packet_time_ms, current_time); in TEST_F()
371 EXPECT_EQ(sender_.RtcpSent().first_packet_time_ms, current_time); in TEST_F()
375 EXPECT_EQ(-1, receiver_.RtcpSent().first_packet_time_ms); in TEST_F()
376 EXPECT_EQ(-1, sender_.RtcpReceived().first_packet_time_ms); in TEST_F()
385 EXPECT_GT(receiver_.RtcpSent().first_packet_time_ms, -1); in TEST_F()
389 EXPECT_GT(sender_.RtcpReceived().first_packet_time_ms, -1); in TEST_F()
416 rtp.first_packet_time_ms = kStartTimeMs; in TEST_F()
426 rtp2.first_packet_time_ms = -1; in TEST_F()
[all …]
Dreceive_statistics_unittest.cc143 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
148 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
Drtcp_sender.cc855 if (packet_type_counter_.first_packet_time_ms == -1) in PrepareReport()
856 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in PrepareReport()
Dreceive_statistics_impl.cc73 receive_counters_.first_packet_time_ms = clock_->TimeInMilliseconds(); in UpdateCounters()
Drtcp_receiver.cc293 if (packet_type_counter_.first_packet_time_ms == -1) { in IncomingRTCPPacket()
294 packet_type_counter_.first_packet_time_ms = _lastReceived; in IncomingRTCPPacket()
Drtp_sender.cc980 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats()
981 counters->first_packet_time_ms = clock_->TimeInMilliseconds(); in UpdateRtpStats()
Drtcp_sender_unittest.cc680 observer.counter_.first_packet_time_ms); in TEST_F()
Drtp_sender_unittest.cc1345 EXPECT_GT(rtp_stats.first_packet_time_ms, -1); in TEST_F()