/external/webrtc/modules/rtp_rtcp/include/ |
D | rtcp_statistics.h | 39 : first_packet_time_ms(-1), in RtcpPacketTypeCounter() 52 if (other.first_packet_time_ms != -1 && in Add() 53 (other.first_packet_time_ms < first_packet_time_ms || in Add() 54 first_packet_time_ms == -1)) { in Add() 56 first_packet_time_ms = other.first_packet_time_ms; in Add() 66 if (other.first_packet_time_ms != -1 && in Subtract() 67 (other.first_packet_time_ms > first_packet_time_ms || in Subtract() 68 first_packet_time_ms == -1)) { in Subtract() 70 first_packet_time_ms = other.first_packet_time_ms; in Subtract() 75 return (first_packet_time_ms == -1) ? -1 : (now_ms - first_packet_time_ms); in TimeSinceFirstPacketInMs() [all …]
|
D | rtp_rtcp_defines.h | 346 if (other.first_packet_time_ms != -1 && in Add() 347 (other.first_packet_time_ms < first_packet_time_ms || in Add() 348 first_packet_time_ms == -1)) { in Add() 350 first_packet_time_ms = other.first_packet_time_ms; in Add() 358 if (other.first_packet_time_ms != -1 && in Subtract() 359 (other.first_packet_time_ms > first_packet_time_ms || in Subtract() 360 first_packet_time_ms == -1)) { in Subtract() 362 first_packet_time_ms = other.first_packet_time_ms; in Subtract() 367 return (first_packet_time_ms == -1) ? -1 : (now_ms - first_packet_time_ms); in TimeSinceFirstPacketInMs() 378 int64_t first_packet_time_ms; // Time when first packet is sent/received. member
|
D | ulpfec_receiver.h | 30 int64_t first_packet_time_ms = -1; // Time when first packet is received. member
|
D | rtp_rtcp_defines.cc | 45 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} in StreamDataCounters()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_rtcp_impl_unittest.cc | 348 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F() 356 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F() 357 EXPECT_EQ(receiver_.RtcpSent().first_packet_time_ms, current_time); in TEST_F() 360 EXPECT_EQ(sender_.RtcpSent().first_packet_time_ms, current_time); in TEST_F() 364 EXPECT_EQ(-1, receiver_.RtcpSent().first_packet_time_ms); in TEST_F() 365 EXPECT_EQ(-1, sender_.RtcpReceived().first_packet_time_ms); in TEST_F() 374 EXPECT_GT(receiver_.RtcpSent().first_packet_time_ms, -1); in TEST_F() 378 EXPECT_GT(sender_.RtcpReceived().first_packet_time_ms, -1); in TEST_F() 384 rtp.first_packet_time_ms = kStartTimeMs; in TEST_F() 394 rtp2.first_packet_time_ms = -1; in TEST_F() [all …]
|
D | rtp_rtcp_impl2_unittest.cc | 360 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F() 368 EXPECT_EQ(-1, sender_.RtcpSent().first_packet_time_ms); in TEST_F() 369 EXPECT_EQ(receiver_.RtcpSent().first_packet_time_ms, current_time); in TEST_F() 372 EXPECT_EQ(sender_.RtcpSent().first_packet_time_ms, current_time); in TEST_F() 376 EXPECT_EQ(-1, receiver_.RtcpSent().first_packet_time_ms); in TEST_F() 377 EXPECT_EQ(-1, sender_.RtcpReceived().first_packet_time_ms); in TEST_F() 386 EXPECT_GT(receiver_.RtcpSent().first_packet_time_ms, -1); in TEST_F() 390 EXPECT_GT(sender_.RtcpReceived().first_packet_time_ms, -1); in TEST_F() 396 rtp.first_packet_time_ms = kStartTimeMs; in TEST_F() 406 rtp2.first_packet_time_ms = -1; in TEST_F() [all …]
|
D | ulpfec_receiver_unittest.cc | 197 EXPECT_EQ(-1, counter.first_packet_time_ms); in TEST_F() 208 const int64_t first_packet_time_ms = counter.first_packet_time_ms; in TEST_F() local 209 EXPECT_NE(-1, first_packet_time_ms); in TEST_F() 222 EXPECT_EQ(first_packet_time_ms, counter.first_packet_time_ms); in TEST_F() 235 EXPECT_EQ(-1, counter.first_packet_time_ms); in TEST_F() 246 const int64_t first_packet_time_ms = counter.first_packet_time_ms; in TEST_F() local 247 EXPECT_NE(-1, first_packet_time_ms); in TEST_F() 259 EXPECT_EQ(first_packet_time_ms, counter.first_packet_time_ms); in TEST_F()
|
D | ulpfec_receiver_impl.cc | 120 if (packet_counter_.first_packet_time_ms == -1) { in AddReceivedRedPacket() 121 packet_counter_.first_packet_time_ms = rtc::TimeMillis(); in AddReceivedRedPacket()
|
D | rtp_sender_egress.cc | 557 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats() 558 counters->first_packet_time_ms = now_ms; in UpdateRtpStats()
|
D | receive_statistics_unittest.cc | 227 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F() 232 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
|
D | receive_statistics_impl.cc | 119 receive_counters_.first_packet_time_ms = now_ms; in UpdateCounters()
|
D | rtcp_sender.cc | 763 if (packet_type_counter_.first_packet_time_ms == -1) in ComputeCompoundRTCPPacket() 764 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in ComputeCompoundRTCPPacket()
|
D | rtcp_receiver.cc | 419 if (packet_type_counter_.first_packet_time_ms == -1) in ParseCompoundPacket() 420 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in ParseCompoundPacket()
|
D | rtcp_sender_unittest.cc | 540 observer.counter_.first_packet_time_ms); in TEST_F()
|
D | rtp_sender_unittest.cc | 2024 EXPECT_GT(rtp_stats.first_packet_time_ms, -1); in TEST_P()
|
/external/webrtc/modules/rtp_rtcp/source/deprecated/ |
D | deprecated_rtp_sender_egress.cc | 450 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats() 451 counters->first_packet_time_ms = now_ms; in UpdateRtpStats()
|
/external/webrtc/video/ |
D | rtp_video_stream_receiver2.cc | 1104 if (counter.first_packet_time_ms == -1) in UpdateHistograms() 1108 (clock_->TimeInMilliseconds() - counter.first_packet_time_ms) / 1000; in UpdateHistograms()
|
D | rtp_video_stream_receiver.cc | 1133 if (counter.first_packet_time_ms == -1) in UpdateHistograms() 1137 (clock_->TimeInMilliseconds() - counter.first_packet_time_ms) / 1000; in UpdateHistograms()
|
D | receive_statistics_proxy_unittest.cc | 625 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 1068 data_counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 1087 data_counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
|
D | receive_statistics_proxy2_unittest.cc | 655 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 1103 data_counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 1122 data_counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
|
D | send_statistics_proxy_unittest.cc | 2295 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 2487 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
|