Home
last modified time | relevance | path

Searched refs:Millis (Results 1 – 25 of 163) sorted by relevance

1234567

/external/webrtc/api/units/
Dtimestamp_unittest.cc25 constexpr Timestamp kTimestampMs = Timestamp::Millis(kValue); in TEST()
41 EXPECT_EQ(Timestamp::Millis(kValue).ms(), kValue); in TEST()
49 EXPECT_EQ(Timestamp::Millis(kValue).seconds(), kValue / 1000); in TEST()
52 EXPECT_EQ(Timestamp::Millis(kValue).us(), kValue * 1000); in TEST()
62 EXPECT_FALSE(Timestamp::Millis(kValue).IsInfinite()); in TEST()
66 EXPECT_TRUE(Timestamp::Millis(kValue).IsFinite()); in TEST()
81 EXPECT_GT(Timestamp::PlusInfinity(), Timestamp::Millis(kLarge)); in TEST()
82 EXPECT_EQ(Timestamp::Millis(kSmall), Timestamp::Millis(kSmall)); in TEST()
83 EXPECT_LE(Timestamp::Millis(kSmall), Timestamp::Millis(kSmall)); in TEST()
84 EXPECT_GE(Timestamp::Millis(kSmall), Timestamp::Millis(kSmall)); in TEST()
[all …]
Dtime_delta_unittest.cc32 constexpr TimeDelta kTimeDeltaMs = TimeDelta::Millis(kValue); in TEST()
44 EXPECT_EQ(TimeDelta::Millis(value).ms(), value); in TEST()
55 EXPECT_EQ(TimeDelta::Millis(kValue).seconds(), kValue / 1000); in TEST()
58 EXPECT_EQ(TimeDelta::Millis(kValue).us(), kValue * 1000); in TEST()
66 EXPECT_FALSE(TimeDelta::Millis(kValue).IsZero()); in TEST()
71 EXPECT_FALSE(TimeDelta::Millis(-kValue).IsInfinite()); in TEST()
72 EXPECT_FALSE(TimeDelta::Millis(kValue).IsInfinite()); in TEST()
76 EXPECT_TRUE(TimeDelta::Millis(-kValue).IsFinite()); in TEST()
77 EXPECT_TRUE(TimeDelta::Millis(kValue).IsFinite()); in TEST()
90 const TimeDelta small = TimeDelta::Millis(kSmall); in TEST()
[all …]
/external/webrtc/modules/congestion_controller/goog_cc/
Dsend_side_bandwidth_estimation_unittest.cc43 bwe.SetSendBitrate(DataRate::BitsPerSec(200000), Timestamp::Millis(now_ms)); in TestProbing()
49 Timestamp::Millis(now_ms)); in TestProbing()
50 bwe.UpdateRtt(TimeDelta::Millis(50), Timestamp::Millis(now_ms)); in TestProbing()
54 bwe.UpdateDelayBasedEstimate(Timestamp::Millis(now_ms), in TestProbing()
57 bwe.UpdateReceiverEstimate(Timestamp::Millis(now_ms), in TestProbing()
60 bwe.UpdateEstimate(Timestamp::Millis(now_ms)); in TestProbing()
66 bwe.UpdateDelayBasedEstimate(Timestamp::Millis(now_ms), in TestProbing()
69 bwe.UpdateReceiverEstimate(Timestamp::Millis(now_ms), in TestProbing()
72 bwe.UpdateEstimate(Timestamp::Millis(now_ms)); in TestProbing()
98 Timestamp::Millis(now_ms)); in TEST()
[all …]
Drobust_throughput_estimator_unittest.cc49 Timestamp send_clock(Timestamp::Millis(100000)); in TEST()
50 Timestamp recv_clock(Timestamp::Millis(10000)); in TEST()
51 TimeDelta send_increment(TimeDelta::Millis(10)); in TEST()
52 TimeDelta recv_increment(TimeDelta::Millis(10)); in TEST()
79 Timestamp send_clock(Timestamp::Millis(100000)); in TEST()
80 Timestamp recv_clock(Timestamp::Millis(10000)); in TEST()
81 TimeDelta send_increment(TimeDelta::Millis(10)); in TEST()
82 TimeDelta recv_increment(TimeDelta::Millis(10)); in TEST()
94 recv_clock += TimeDelta::Millis(40); in TEST()
97 recv_increment = TimeDelta::Millis(2); in TEST()
[all …]
Dgoog_cc_network_control_unittest.cc86 c->delay = TimeDelta::Millis(100); in UpdatesTargetRateBasedOnLinkCapacity()
90 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in UpdatesTargetRateBasedOnLinkCapacity()
104 c->delay = TimeDelta::Millis(100); in UpdatesTargetRateBasedOnLinkCapacity()
114 c->delay = TimeDelta::Millis(200); in UpdatesTargetRateBasedOnLinkCapacity()
117 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(200); }); in UpdatesTargetRateBasedOnLinkCapacity()
129 : current_time_(Timestamp::Millis(123456)), factory_() {} in GoogCcNetworkControllerTest()
184 packet_result.sent_packet.send_time = Timestamp::Millis(send_time_ms); in CreateResult()
187 packet_result.receive_time = Timestamp::Millis(arrival_time_ms); in CreateResult()
205 current_time_ += TimeDelta::Millis(timedelta_ms); in AdvanceTimeMilliseconds()
270 c->delay = TimeDelta::Millis(100); in TEST_F()
[all …]
Dloss_based_bandwidth_estimation.cc80 increase_low_rtt("incr_low_rtt", TimeDelta::Millis(200)), in LossBasedControlConfig()
81 increase_high_rtt("incr_high_rtt", TimeDelta::Millis(800)), in LossBasedControlConfig()
83 loss_window("loss_win", TimeDelta::Millis(800)), in LossBasedControlConfig()
84 loss_max_window("loss_max_win", TimeDelta::Millis(800)), in LossBasedControlConfig()
85 acknowledged_rate_max_window("ackrate_max_win", TimeDelta::Millis(800)), in LossBasedControlConfig()
93 decrease_interval("decr_intvl", TimeDelta::Millis(300)), in LossBasedControlConfig()
94 loss_report_timeout("timeout", TimeDelta::Millis(6000)) { in LossBasedControlConfig()
Dacknowledged_bitrate_estimator_unittest.cc66 Timestamp::Millis(kFirstArrivalTimeMs); in CreateFeedbackVector()
68 Timestamp::Millis(kFirstSendTimeMs); in CreateFeedbackVector()
72 Timestamp::Millis(kFirstArrivalTimeMs + 10); in CreateFeedbackVector()
74 Timestamp::Millis(kFirstSendTimeMs + 10); in CreateFeedbackVector()
122 Timestamp::Millis(kFirstArrivalTimeMs + 1)); in TEST()
Dacknowledged_bitrate_estimator_interface.cc38 if (window_duration < TimeDelta::Millis(100) || in RobustThroughputEstimatorSettings()
39 TimeDelta::Millis(2000) < window_duration) { in RobustThroughputEstimatorSettings()
41 window_duration = TimeDelta::Millis(500); in RobustThroughputEstimatorSettings()
Drobust_throughput_estimator.cc62 TimeDelta largest_recv_gap(TimeDelta::Millis(0)); in bitrate()
63 TimeDelta second_largest_recv_gap(TimeDelta::Millis(0)); in bitrate()
130 send_duration = std::max(send_duration, TimeDelta::Millis(1)); in bitrate()
131 recv_duration = std::max(recv_duration, TimeDelta::Millis(1)); in bitrate()
/external/webrtc/rtc_base/task_utils/
Drepeating_task_unittest.cc33 constexpr TimeDelta kTimeout = TimeDelta::Millis(1000);
81 const TimeDelta kShortInterval = TimeDelta::Millis(50); in TEST()
82 const TimeDelta kLongInterval = TimeDelta::Millis(200); in TEST()
108 const TimeDelta kRepeatInterval = TimeDelta::Millis(2); in TEST()
111 const TimeDelta kSleepDuration = TimeDelta::Millis(20); in TEST()
133 Sleep(TimeDelta::Millis(100)); in TEST()
134 return TimeDelta::Millis(300); in TEST()
136 Sleep(TimeDelta::Millis(400)); in TEST()
150 task_queue.Get(), TimeDelta::Millis(100), MoveOnlyClosure(&mock)); in TEST()
159 EXPECT_CALL(mock, Call).WillOnce(Return(TimeDelta::Millis(100))); in TEST()
[all …]
/external/webrtc/modules/pacing/
Dtask_queue_paced_sender_unittest.cc125 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST()
164 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST()
206 time_controller.AdvanceTime(TimeDelta::Millis(500)); in TEST()
215 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST()
246 const TimeDelta kCoalescingWindow = TimeDelta::Millis(5); in TEST()
247 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST()
257 const TimeDelta kPacketPacingTime = TimeDelta::Millis(1); in TEST()
272 time_controller.AdvanceTime(kCoalescingWindow - TimeDelta::Millis(1)); in TEST()
277 time_controller.AdvanceTime(TimeDelta::Millis(1)); in TEST()
282 const TimeDelta kCoalescingWindow = TimeDelta::Millis(5); in TEST()
[all …]
Dbitrate_prober_unittest.cc25 Timestamp now = Timestamp::Millis(0); in TEST()
33 const TimeDelta kMinProbeDuration = TimeDelta::Millis(15); in TEST()
98 const TimeDelta kMaxProbeDelay = TimeDelta::Millis(3); in TEST()
118 now += next_probe_time - now + kMaxProbeDelay + TimeDelta::Millis(1); in TEST()
128 const TimeDelta kMaxProbeDelay = TimeDelta::Millis(3); in TEST()
151 now += next_probe_time - now + kMaxProbeDelay + TimeDelta::Millis(1); in TEST()
176 prober.CreateProbeCluster(kHighBitrate, Timestamp::Millis(0), in TEST()
180 kHighBitrate * TimeDelta::Millis(1)); in TEST()
191 Timestamp now = Timestamp::Millis(0); in TEST()
207 const DataSize kExpectedDataSent = kBitrate * TimeDelta::Millis(15); in TEST()
[all …]
Dpacket_router_unittest.cc458 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
484 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
509 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
538 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
571 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
589 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
601 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
612 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
634 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
656 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
[all …]
/external/webrtc/rtc_base/experiments/
Dfield_trial_units_unittest.cc24 FieldTrialParameter<TimeDelta>("p", TimeDelta::Millis(100));
38 EXPECT_EQ(exp.period.Get(), TimeDelta::Millis(100)); in TEST()
44 EXPECT_EQ(exp.period.Get(), TimeDelta::Millis(300)); in TEST()
50 EXPECT_EQ(exp.period.Get(), TimeDelta::Millis(300)); in TEST()
61 EXPECT_EQ(exp.period.Get(), TimeDelta::Millis(300)); in TEST()
67 FieldTrialConstrained<TimeDelta> delta("d", TimeDelta::Millis(30), in TEST()
68 TimeDelta::Millis(10), in TEST()
69 TimeDelta::Millis(100)); in TEST()
/external/webrtc/video/
Dvideo_stream_decoder_impl_unittest.cc182 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
187 time_controller_.AdvanceTime(TimeDelta::Millis(200)); in TEST_F()
193 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
195 time_controller_.AdvanceTime(TimeDelta::Millis(3000)); in TEST_F()
204 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
212 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
220 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
228 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
234 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
/external/webrtc/test/network/
Dcross_traffic_unittest.cc75 config.min_packet_interval = TimeDelta::Millis(25); in TEST()
76 config.send_duration = TimeDelta::Millis(500); in TEST()
77 config.hold_duration = TimeDelta::Millis(250); in TEST()
81 pulsed_peaks.Process(Timestamp::Millis(fixture.clock.TimeInMilliseconds())); in TEST()
100 config.min_packet_interval = TimeDelta::Millis(25); in TEST()
101 config.update_interval = TimeDelta::Millis(500); in TEST()
108 random_walk.Process(Timestamp::Millis(fixture.clock.TimeInMilliseconds())); in TEST()
Dcross_traffic.h34 TimeDelta min_packet_interval = TimeDelta::Millis(1);
35 TimeDelta update_interval = TimeDelta::Millis(200);
68 TimeDelta min_packet_interval = TimeDelta::Millis(1);
69 TimeDelta send_duration = TimeDelta::Millis(100);
70 TimeDelta hold_duration = TimeDelta::Millis(2000);
155 TimeDelta process_interval = TimeDelta::Millis(200);
/external/webrtc/test/time_controller/
Dsimulated_time_controller_unittest.cc36 const TimeDelta kShortInterval = TimeDelta::Millis(5); in TEST()
37 const TimeDelta kLongInterval = TimeDelta::Millis(20); in TEST()
75 return TimeDelta::Millis(2); in TEST()
78 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
86 TimeDelta TimeUntilNextRun() { return TimeDelta::Millis(100); } in TEST()
126 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
Dexternal_time_controller_unittest.cc85 const TimeDelta kShortInterval = TimeDelta::Millis(5); in TEST()
86 const TimeDelta kLongInterval = TimeDelta::Millis(20); in TEST()
126 return TimeDelta::Millis(2); in TEST()
129 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
163 time_simulation.AdvanceTime(TimeDelta::Millis(300)); in TEST()
176 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
/external/webrtc/modules/congestion_controller/pcc/
Dpcc_network_controller_unittest.cc32 const Timestamp kDefaultStartTime = Timestamp::Millis(10000000);
88 c->delay = TimeDelta::Millis(100); in TEST()
91 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in TEST()
104 c->delay = TimeDelta::Millis(100); in TEST()
110 c->delay = TimeDelta::Millis(200); in TEST()
113 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(200); }); in TEST()
/external/webrtc/call/
Drtp_transport_controller_send.cc36 constexpr TimeDelta kPacerQueueUpdateInterval = TimeDelta::Millis(25);
43 msg.at_time = Timestamp::Millis(clock->TimeInMilliseconds()); in ConvertConstraints()
109 last_report_block_time_(Timestamp::Millis(clock_->TimeInMilliseconds())), in RtpTransportControllerSend()
242 pacer()->SetQueueTimeLimit(TimeDelta::Millis(limit_ms)); in SetQueueTimeLimit()
335 msg.at_time = Timestamp::Millis(clock_->TimeInMilliseconds()); in OnNetworkRouteChanged()
356 msg.at_time = Timestamp::Millis(clock_->TimeInMilliseconds()); in OnNetworkAvailability()
496 msg.receive_time = Timestamp::Millis(clock_->TimeInMilliseconds()); in OnReceivedEstimatedBitrate()
517 report.receive_time = Timestamp::Millis(now_ms); in OnReceivedRtcpReceiverReport()
518 report.round_trip_time = TimeDelta::Millis(rtt_ms); in OnReceivedRtcpReceiverReport()
529 Timestamp creation_time = Timestamp::Millis(clock_->TimeInMilliseconds()); in OnAddPacket()
[all …]
Dsimulated_network_unittest.cc40 packet_size / link_capacity + TimeDelta::Millis(1); in TEST()
43 Timestamp start_time = Timestamp::Millis(0); in TEST()
81 const TimeDelta kCheckInterval = TimeDelta::Millis(2000); in TEST()
97 Timestamp start_time = Timestamp::Millis(0); in TEST()
/external/webrtc/common_audio/
Dsmoothing_filter_unittest.cc29 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTime)); in SmoothingFilterStates()
45 states->fake_clock.AdvanceTime(TimeDelta::Millis(advance_time_ms)); in CheckOutput()
145 states.fake_clock.AdvanceTime(TimeDelta::Millis(kInitTimeMs - 1)); in TEST()
152 states.fake_clock.AdvanceTime(TimeDelta::Millis(1)); in TEST()
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy.h59 FieldTrialParameter<TimeDelta> back_window{"wind", TimeDelta::Millis(500)};
60 FieldTrialParameter<TimeDelta> min_interval{"min", TimeDelta::Millis(50)};
61 FieldTrialParameter<TimeDelta> max_interval{"max", TimeDelta::Millis(250)};
63 TimeDelta::Millis(100)};
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Daudio_network_adaptor_impl_unittest.cc181 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTimeMs)); in TEST()
199 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTimeMs)); in TEST()
217 fake_clock.AdvanceTime(TimeDelta::Millis(100)); in TEST()
224 fake_clock.AdvanceTime(TimeDelta::Millis(50)); in TEST()
227 fake_clock.AdvanceTime(TimeDelta::Millis(200)); in TEST()
234 fake_clock.AdvanceTime(TimeDelta::Millis(150)); in TEST()
241 fake_clock.AdvanceTime(TimeDelta::Millis(50)); in TEST()

1234567