Searched refs:first_packet_time_ms (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/webrtc/ |
D | common_types.h | 193 : 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 …]
|
D | common_types.cc | 21 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} in StreamDataCounters()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_rtcp_impl_unittest.cc | 359 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 …]
|
D | receive_statistics_unittest.cc | 143 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F() 148 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
|
D | rtcp_sender.cc | 855 if (packet_type_counter_.first_packet_time_ms == -1) in PrepareReport() 856 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in PrepareReport()
|
D | receive_statistics_impl.cc | 73 receive_counters_.first_packet_time_ms = clock_->TimeInMilliseconds(); in UpdateCounters()
|
D | rtcp_receiver.cc | 293 if (packet_type_counter_.first_packet_time_ms == -1) { in IncomingRTCPPacket() 294 packet_type_counter_.first_packet_time_ms = _lastReceived; in IncomingRTCPPacket()
|
D | rtp_sender.cc | 980 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats() 981 counters->first_packet_time_ms = clock_->TimeInMilliseconds(); in UpdateRtpStats()
|
D | rtcp_sender_unittest.cc | 680 observer.counter_.first_packet_time_ms); in TEST_F()
|
D | rtp_sender_unittest.cc | 1345 EXPECT_GT(rtp_stats.first_packet_time_ms, -1); in TEST_F()
|