Home
last modified time | relevance | path

Searched refs:ntp2 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dtime_util_unittest.cc26 const NtpTime ntp2(0x12654, 0x64335); in TEST() local
27 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
28 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()
37 const NtpTime ntp2(0x20000, 0x64335); in TEST() local
38 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
42 ASSERT_GT(ntp2.ToMs(), ntp1.ToMs()); in TEST()
43 ASSERT_LT(CompactNtp(ntp2), CompactNtp(ntp1)); in TEST()
45 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()
53 const NtpTime ntp2(0x1ffff, 0x64335); in TEST() local
54 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Dntp_time_unittest.cc42 NtpTime ntp2; in TEST() local
43 EXPECT_NE(ntp1, ntp2); in TEST()
45 ntp2.Set(kNtpSec, kNtpFrac); in TEST()
46 EXPECT_EQ(ntp1, ntp2); in TEST()
53 NtpTime ntp2; in TEST() local
54 EXPECT_NE(ntp1, ntp2); in TEST()
56 ntp2.SetCurrent(clock); in TEST()
57 EXPECT_EQ(ntp1, ntp2); in TEST()