Home
last modified time | relevance | path

Searched refs:kStartTime (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/congestion_controller/pcc/
Dmonitor_interval_unittest.cc22 const Timestamp kStartTime = Timestamp::Micros(0); variable
57 PccMonitorInterval interval{kTargetSendingRate, kStartTime, in TEST()
60 EXPECT_EQ(interval.GetEndTime(), kStartTime + kIntervalDuration); in TEST()
65 PccMonitorInterval interval{kTargetSendingRate, kStartTime, in TEST()
67 interval.OnPacketsFeedback(CreatePacketResults({kStartTime})); in TEST()
70 CreatePacketResults({kStartTime, kStartTime + kIntervalDuration})); in TEST()
73 {kStartTime + kIntervalDuration, kStartTime + 2 * kIntervalDuration})); in TEST()
78 PccMonitorInterval interval{kTargetSendingRate, kStartTime, in TEST()
81 kStartTime, kStartTime + 0.1 * kIntervalDuration, in TEST()
82 kStartTime + 0.5 * kIntervalDuration, kStartTime + kIntervalDuration, in TEST()
[all …]
Dutility_function_unittest.cc35 const Timestamp kStartTime = Timestamp::Micros(0); variable
75 PccMonitorInterval monitor_interval(kSendingBitrate, kStartTime, in TEST()
78 {kStartTime + kPacketsDelta, kStartTime + 2 * kPacketsDelta, in TEST()
79 kStartTime + 3 * kPacketsDelta, kStartTime + 2 * kIntervalDuration}, in TEST()
80 {kStartTime + kPacketsDelta + kDefaultDelay, Timestamp::PlusInfinity(), in TEST()
81 kStartTime + kDefaultDelay + 3 * kPacketsDelta, in TEST()
95 PccMonitorInterval monitor_interval(kSendingBitrate, kStartTime, in TEST()
98 {kStartTime + kPacketsDelta, kStartTime + 2 * kPacketsDelta, in TEST()
99 kStartTime + 5 * kPacketsDelta, kStartTime + 2 * kIntervalDuration}, in TEST()
100 {kStartTime + kDefaultDelay, Timestamp::PlusInfinity(), in TEST()
[all …]
Dbitrate_controller_unittest.cc37 const Timestamp kStartTime = Timestamp::Micros(0); variable
88 PccMonitorInterval(kTargetSendingRate * (1 + kEpsilon), kStartTime, in TEST()
91 kStartTime + kIntervalDuration, kIntervalDuration)}; in TEST()
93 CreatePacketResults({kStartTime + kPacketsDelta, in TEST()
94 kStartTime + kIntervalDuration + kPacketsDelta, in TEST()
95 kStartTime + 3 * kIntervalDuration}, in TEST()
98 CreatePacketResults({kStartTime + kPacketsDelta, in TEST()
99 kStartTime + kIntervalDuration + kPacketsDelta, in TEST()
100 kStartTime + 3 * kIntervalDuration}, in TEST()
124 PccMonitorInterval(kTargetSendingRate * (1 + kEpsilon), kStartTime, in TEST()
[all …]
Drtt_tracker_unittest.cc21 const Timestamp kStartTime = Timestamp::Seconds(0); variable
25 packet.send_time = kStartTime; in GetPacketWithRtt()
29 packet_result.receive_time = kStartTime + rtt; in GetPacketWithRtt()
42 kStartTime + kInitialRtt); in TEST()
50 kStartTime + kInitialRtt); in TEST()
57 tracker.OnPacketsFeedback({GetPacketWithRtt(kNewRtt)}, kStartTime + kNewRtt); in TEST()
62 kStartTime + kNewRtt); in TEST()
/external/openscreen/cast/streaming/
Dbandwidth_estimator_unittest.cc28 constexpr Clock::time_point kStartTime = variable
39 : estimator_(kMaxPacketsPerTimeslice, kTimesliceDuration, kStartTime) {} in BandwidthEstimatorTest()
53 kStartTime.time_since_epoch().count();
67 Clock::time_point now = kStartTime; in TEST_F()
84 Clock::time_point now = kStartTime; in TEST_F()
121 Clock::time_point now = kStartTime; in TEST_F()
160 Clock::time_point now = kStartTime; in TEST_F()
201 Clock::time_point now = kStartTime; in TEST_F()
/external/webrtc/test/time_controller/
Dsimulated_time_controller_unittest.cc32 constexpr Timestamp kStartTime = Timestamp::Seconds(1000); variable
40 GlobalSimulatedTimeController time_simulation(kStartTime); in TEST()
65 GlobalSimulatedTimeController time_simulation(kStartTime); in TEST()
95 GlobalSimulatedTimeController time_simulation(kStartTime); in TEST()
118 GlobalSimulatedTimeController time_simulation(kStartTime); in TEST()
131 GlobalSimulatedTimeController sim(kStartTime); in TEST()
Dexternal_time_controller_unittest.cc32 constexpr Timestamp kStartTime = Timestamp::Seconds(1000); variable
89 FakeAlarm alarm(kStartTime); in TEST()
115 FakeAlarm alarm(kStartTime); in TEST()
134 FakeAlarm alarm(kStartTime); in TEST()
147 FakeAlarm alarm(kStartTime); in TEST()
167 FakeAlarm alarm(kStartTime); in TEST()
/external/webrtc/audio/voip/test/
Daudio_channel_unittest.cc33 constexpr uint64_t kStartTime = 123456789; variable
43 : fake_clock_(kStartTime), wave_generator_(1000.0, kAudioLevel) { in AudioChannelTest()
Daudio_egress_unittest.cc53 static constexpr uint64_t kStartTime = 123456789; member in webrtc::__anon354ba3910111::AudioEgressTest
58 : fake_clock_(kStartTime), wave_generator_(1000.0, kAudioLevel) { in AudioEgressTest()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio_unittest.cc37 const uint64_t kStartTime = 123456789; variable
70 : fake_clock_(kStartTime), in RtpSenderAudioTest()
Drtp_sender_video_unittest.cc78 constexpr uint64_t kStartTime = 123456789; variable
167 fake_clock_(kStartTime), in RtpSenderVideoTest()
905 : fake_clock_(kStartTime), in RtpSenderVideoWithFrameTransformerTest()
Drtp_sender_unittest.cc71 const uint64_t kStartTime = 123456789; variable
319 : time_controller_(Timestamp::Millis(kStartTime)), in RtpSenderTest()
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp725 static const int64_t kStartTime = 1557288964845; variable
743 int64_t date = kStartTime; in RunAdoptDefaultThreadSafeTests()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc2396 static const time_t kStartTime = 1000; in TEST_P() local
2397 g_current_time.tv_sec = kStartTime; in TEST_P()
2437 g_current_time.tv_sec = kStartTime - 1; in TEST_P()
2444 time_t new_start_time = kStartTime + timeout - 10; in TEST_P()
2478 time_t auth_end_time = kStartTime + SSL_DEFAULT_SESSION_AUTH_TIMEOUT; in TEST_P()
2501 g_current_time.tv_sec = kStartTime + timeout - 1; in TEST_P()
2508 g_current_time.tv_sec = kStartTime + timeout + 1; in TEST_P()
2525 static const time_t kStartTime = 1001; in TEST_P() local
2526 g_current_time.tv_sec = kStartTime; in TEST_P()
/external/boringssl/src/ssl/
Dssl_test.cc2396 static const time_t kStartTime = 1000; in TEST_P() local
2397 g_current_time.tv_sec = kStartTime; in TEST_P()
2437 g_current_time.tv_sec = kStartTime - 1; in TEST_P()
2444 time_t new_start_time = kStartTime + timeout - 10; in TEST_P()
2478 time_t auth_end_time = kStartTime + SSL_DEFAULT_SESSION_AUTH_TIMEOUT; in TEST_P()
2501 g_current_time.tv_sec = kStartTime + timeout - 1; in TEST_P()
2508 g_current_time.tv_sec = kStartTime + timeout + 1; in TEST_P()
2525 static const time_t kStartTime = 1001; in TEST_P() local
2526 g_current_time.tv_sec = kStartTime; in TEST_P()
/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc495 const Timestamp kStartTime = clock_.CurrentTime(); in TEST_P() local
506 EXPECT_EQ(kStartTime, pacer_->FirstSentPacketTime()); in TEST_P()