Home
last modified time | relevance | path

Searched refs:NtpTime (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/system_wrappers/include/
Dntp_time.h18 class NtpTime {
20 NtpTime() : seconds_(0), fractions_(0) {} in NtpTime() function
21 explicit NtpTime(const Clock& clock) { in NtpTime() function
24 NtpTime(uint32_t seconds, uint32_t fractions) in NtpTime() function
27 NtpTime(const NtpTime&) = default;
28 NtpTime& operator=(const NtpTime&) = default;
55 inline bool operator==(const NtpTime& n1, const NtpTime& n2) {
58 inline bool operator!=(const NtpTime& n1, const NtpTime& n2) {
/external/webrtc/webrtc/system_wrappers/source/
Dntp_time_unittest.cc22 NtpTime ntp; in TEST()
27 NtpTime ntp(kNtpSec, kNtpFrac); in TEST()
34 NtpTime ntp; in TEST()
41 NtpTime ntp1(kNtpSec, kNtpFrac); in TEST()
42 NtpTime ntp2; in TEST()
52 NtpTime ntp1(clock); in TEST()
53 NtpTime ntp2; in TEST()
63 NtpTime ntp(clock); in TEST()
Dclock_unittest.cc17 TEST(ClockTest, NtpTime) { in TEST() argument
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dtime_util_unittest.cc19 const NtpTime kNtp(kNtpSec, kNtpFrac); in TEST()
25 const NtpTime ntp1(0x12345, 0x23456); in TEST()
26 const NtpTime ntp2(0x12654, 0x64335); in TEST()
36 const NtpTime ntp1(0x1ffff, 0x23456); in TEST()
37 const NtpTime ntp2(0x20000, 0x64335); in TEST()
52 const NtpTime ntp1(0x10000, 0x23456); in TEST()
53 const NtpTime ntp2(0x1ffff, 0x64335); in TEST()
Dtime_util.h20 inline uint32_t NtpToRtp(NtpTime ntp, uint32_t freq) { in NtpToRtp()
27 return NtpToRtp(NtpTime(clock), freq); in CurrentRtp()
38 inline uint32_t CompactNtp(NtpTime ntp) { in CompactNtp()
Dreceive_statistics_impl.h56 void UpdateJitter(const RTPHeader& header, NtpTime receive_time);
75 NtpTime last_receive_time_ntp_;
Dreceive_statistics_impl.cc80 NtpTime receive_time(*clock_); in UpdateCounters()
111 NtpTime receive_time) { in UpdateJitter()
Drtcp_packet_unittest.cc361 rrtr.WithNtp(NtpTime(0x11111111, 0x22222222)); in TEST()
378 rrtr1.WithNtp(NtpTime(0x11111111, 0x22222222)); in TEST()
380 rrtr2.WithNtp(NtpTime(0x33333333, 0x44444444)); in TEST()
Drtcp_receiver_unittest.cc626 rrtr.WithNtp(NtpTime(0x10203, 0x40506)); in TEST_F()
761 const NtpTime kNtp(0x10203, 0x40506); in TEST_F()
Drtcp_sender.cc747 rrtr.WithNtp(NtpTime(ctx.ntp_sec_, ctx.ntp_frac_)); in BuildReceiverReferenceTime()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Drrtr.h39 void WithNtp(const NtpTime& ntp) { ntp_ = ntp; } in WithNtp()
41 NtpTime ntp() const { return ntp_; } in ntp()
44 NtpTime ntp_;
Drrtr_unittest.cc33 rrtr.WithNtp(NtpTime(kNtpSec, kNtpFrac)); in TEST()
/external/webrtc/tools/valgrind-webrtc/gtest_exclude/
Dsystem_wrappers_unittests.gtest-drmemory_win32.txt2 ClockTest.NtpTime