Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/include/
Drtcp_statistics.h39 : 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 …]
Drtp_rtcp_defines.h346 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
Dulpfec_receiver.h30 int64_t first_packet_time_ms = -1; // Time when first packet is received. member
Drtp_rtcp_defines.cc45 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} in StreamDataCounters()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc348 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 …]
Drtp_rtcp_impl2_unittest.cc360 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 …]
Dulpfec_receiver_unittest.cc197 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()
Dulpfec_receiver_impl.cc120 if (packet_counter_.first_packet_time_ms == -1) { in AddReceivedRedPacket()
121 packet_counter_.first_packet_time_ms = rtc::TimeMillis(); in AddReceivedRedPacket()
Drtp_sender_egress.cc557 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats()
558 counters->first_packet_time_ms = now_ms; in UpdateRtpStats()
Dreceive_statistics_unittest.cc227 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
232 EXPECT_GT(counters.first_packet_time_ms, -1); in TEST_F()
Dreceive_statistics_impl.cc119 receive_counters_.first_packet_time_ms = now_ms; in UpdateCounters()
Drtcp_sender.cc763 if (packet_type_counter_.first_packet_time_ms == -1) in ComputeCompoundRTCPPacket()
764 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in ComputeCompoundRTCPPacket()
Drtcp_receiver.cc419 if (packet_type_counter_.first_packet_time_ms == -1) in ParseCompoundPacket()
420 packet_type_counter_.first_packet_time_ms = clock_->TimeInMilliseconds(); in ParseCompoundPacket()
Drtcp_sender_unittest.cc540 observer.counter_.first_packet_time_ms); in TEST_F()
Drtp_sender_unittest.cc2024 EXPECT_GT(rtp_stats.first_packet_time_ms, -1); in TEST_P()
/external/webrtc/modules/rtp_rtcp/source/deprecated/
Ddeprecated_rtp_sender_egress.cc450 if (counters->first_packet_time_ms == -1) { in UpdateRtpStats()
451 counters->first_packet_time_ms = now_ms; in UpdateRtpStats()
/external/webrtc/video/
Drtp_video_stream_receiver2.cc1104 if (counter.first_packet_time_ms == -1) in UpdateHistograms()
1108 (clock_->TimeInMilliseconds() - counter.first_packet_time_ms) / 1000; in UpdateHistograms()
Drtp_video_stream_receiver.cc1133 if (counter.first_packet_time_ms == -1) in UpdateHistograms()
1137 (clock_->TimeInMilliseconds() - counter.first_packet_time_ms) / 1000; in UpdateHistograms()
Dreceive_statistics_proxy_unittest.cc625 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()
Dreceive_statistics_proxy2_unittest.cc655 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()
Dsend_statistics_proxy_unittest.cc2295 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
2487 counters.first_packet_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()