/external/webrtc/webrtc/modules/video_coding/ |
D | timing_unittest.cc | 41 timing.IncomingTimestamp(timeStamp, clock.TimeInMilliseconds()); in TEST() 47 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 48 clock.TimeInMilliseconds()); in TEST() 59 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 60 clock.TimeInMilliseconds()); in TEST() 68 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 69 clock.TimeInMilliseconds()); in TEST() 77 timing.IncomingTimestamp(timeStamp, clock.TimeInMilliseconds()); in TEST() 81 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 82 clock.TimeInMilliseconds()); in TEST() [all …]
|
D | media_optimization.cc | 85 new VCMLossProtectionLogic(clock_->TimeInMilliseconds())), in MediaOptimization() 121 loss_prot_logic_->Reset(clock_->TimeInMilliseconds()); in Reset() 126 loss_prot_logic_->Reset(clock_->TimeInMilliseconds()); in Reset() 166 last_change_time_ = clock_->TimeInMilliseconds(); in SetEncodingDataInternal() 221 clock_->TimeInMilliseconds(), filter_mode, fraction_lost); in SetTargetRates() 313 ProcessIncomingFrameRate(clock_->TimeInMilliseconds()); in InputFrameRateInternal() 323 PurgeOldFrameSamples(clock_->TimeInMilliseconds()); in SentFrameRateInternal() 330 const int64_t now_ms = clock_->TimeInMilliseconds(); in SentBitRate() 341 const int64_t now_ms = clock_->TimeInMilliseconds(); in UpdateWithEncodedData() 365 clock_->TimeInMilliseconds()); in UpdateWithEncodedData() [all …]
|
D | receiver_unittest.cc | 39 new StreamGenerator(0, clock_->TimeInMilliseconds())); in TestVCMReceiver() 66 (frame_type == kEmptyFrame) ? 1 : 0, clock_->TimeInMilliseconds()); in InsertFrame() 201 int64_t key_frame_inserted = clock_->TimeInMilliseconds(); in TEST_F() 210 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 231 int64_t key_frame_inserted = clock_->TimeInMilliseconds(); in TEST_F() 241 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 263 int64_t key_frame_inserted = clock_->TimeInMilliseconds(); in TEST_F() 273 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 295 int64_t key_frame_inserted = clock_->TimeInMilliseconds(); in TEST_F() 305 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() [all …]
|
D | receiver.cc | 89 timing_->IncomingTimestamp(packet.timestamp, clock_->TimeInMilliseconds()); in InsertPacket() 102 const int64_t start_time_ms = clock_->TimeInMilliseconds(); in FrameForDecoding() 116 const int64_t now_ms = clock_->TimeInMilliseconds(); in FrameForDecoding() 149 static_cast<int32_t>(clock_->TimeInMilliseconds() - start_time_ms); in FrameForDecoding() 153 *next_render_time_ms, clock_->TimeInMilliseconds()); in FrameForDecoding() 256 const int64_t now_ms = clock_->TimeInMilliseconds(); in RenderBufferSizeMs()
|
D | video_sender_unittest.cc | 88 : clock_(clock), start_time_ms_(clock_->TimeInMilliseconds()) {} in PacketizationCallback() 103 start_time_ms_ = clock_->TimeInMilliseconds(); in Reset() 137 int64_t diff = (clock_->TimeInMilliseconds() - start_time_ms_); in interval_ms() 311 int64_t start_time = clock_.TimeInMilliseconds(); in TEST_F() 312 while (clock_.TimeInMilliseconds() < start_time + kRateStatsWindowMs) { in TEST_F() 327 int64_t start_time = clock_.TimeInMilliseconds(); in TEST_F() 335 while (clock_.TimeInMilliseconds() < start_time + kRateStatsWindowMs) { in TEST_F()
|
/external/webrtc/webrtc/modules/pacing/ |
D | paced_sender_unittest.cc | 88 int64_t now_ms = clock_->TimeInMilliseconds(); in ExpectAndCountPacket() 147 clock_.TimeInMilliseconds(), in TEST_F() 153 clock_.TimeInMilliseconds(), in TEST_F() 159 clock_.TimeInMilliseconds(), in TEST_F() 162 int64_t queued_packet_timestamp = clock_.TimeInMilliseconds(); in TEST_F() 183 clock_.TimeInMilliseconds(), in TEST_F() 189 clock_.TimeInMilliseconds(), in TEST_F() 193 sequence_number++, clock_.TimeInMilliseconds(), in TEST_F() 207 clock_.TimeInMilliseconds(), in TEST_F() 213 sequence_number++, clock_.TimeInMilliseconds(), in TEST_F() [all …]
|
D | paced_sender.cc | 95 time_last_updated_(clock_->TimeInMilliseconds()) {} in PacketQueue() 308 int64_t now_ms = clock_->TimeInMilliseconds(); in InsertPacket() 335 return clock_->TimeInMilliseconds() - oldest_packet; in QueueInMs() 340 packets_->UpdateQueueTime(clock_->TimeInMilliseconds()); in AverageQueueTimeMs() 347 int64_t ret = prober_->TimeUntilNextProbe(clock_->TimeInMilliseconds()); in TimeUntilNextProcess() 369 packets_->UpdateQueueTime(clock_->TimeInMilliseconds()); in Process() 437 prober_->PacketSent(clock_->TimeInMilliseconds(), packet.bytes); in SendPacket() 451 prober_->PacketSent(clock_->TimeInMilliseconds(), bytes_sent); in SendPadding()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_abs_send_time_unittest.cc | 97 IncomingPacket(0, 1000, clock_.TimeInMilliseconds(), 0, 0, true); in TEST_F() 108 int64_t now_ms = clock_.TimeInMilliseconds(); in TEST_F() 112 now_ms = clock_.TimeInMilliseconds(); in TEST_F() 120 now_ms = clock_.TimeInMilliseconds(); in TEST_F() 133 int64_t now_ms = clock_.TimeInMilliseconds(); in TEST_F() 138 now_ms = clock_.TimeInMilliseconds(); in TEST_F() 157 int64_t now_ms = clock_.TimeInMilliseconds(); in TEST_F() 162 now_ms = clock_.TimeInMilliseconds(); in TEST_F() 172 now_ms = clock_.TimeInMilliseconds(); in TEST_F() 186 int64_t now_ms = clock_.TimeInMilliseconds(); in TEST_F() [all …]
|
D | remote_bitrate_estimator_unittest_helper.cc | 325 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in InitialBehaviorTestHelper() 334 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in InitialBehaviorTestHelper() 362 IncomingPacket(kDefaultSsrc, 1000, clock_.TimeInMilliseconds(), timestamp, in RateIncreaseReorderingTestHelper() 368 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in RateIncreaseReorderingTestHelper() 385 IncomingPacket(kDefaultSsrc, 1000, clock_.TimeInMilliseconds(), timestamp, in RateIncreaseReorderingTestHelper() 387 IncomingPacket(kDefaultSsrc, 1000, clock_.TimeInMilliseconds(), in RateIncreaseReorderingTestHelper() 482 int64_t overuse_start_time = clock_.TimeInMilliseconds(); in CapacityDropTestHelper() 490 bitrate_drop_time = clock_.TimeInMilliseconds(); in CapacityDropTestHelper() 529 IncomingPacket(kDefaultSsrc, 1000, clock_.TimeInMilliseconds(), timestamp, in TestTimestampGroupingTestHelper() 550 IncomingPacket(kDefaultSsrc, 100, clock_.TimeInMilliseconds(), timestamp, in TestTimestampGroupingTestHelper() [all …]
|
D | remote_bitrate_estimator_single_stream.cc | 77 int64_t now_ms = clock_->TimeInMilliseconds(); in IncomingPacket() 127 UpdateEstimate(clock_->TimeInMilliseconds()); in Process() 129 last_process_time_ = clock_->TimeInMilliseconds(); in Process() 140 clock_->TimeInMilliseconds(); in TimeUntilNextProcess()
|
D | remote_bitrate_estimator_abs_send_time.cc | 265 int64_t now_ms = clock_->TimeInMilliseconds(); in IncomingPacketInfo() 273 first_packet_time_ms_ = clock_->TimeInMilliseconds(); in IncomingPacketInfo() 333 UpdateEstimate(clock_->TimeInMilliseconds()); in Process() 335 last_process_time_ = clock_->TimeInMilliseconds(); in Process() 346 clock_->TimeInMilliseconds(); in TimeUntilNextProcess() 421 clock_->TimeInMilliseconds() - kPropagationDeltaQueueMaxTimeMs); in GetStats()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | packet_sender.cc | 48 metric_recorder_->UpdateTimeMs(clock_.TimeInMilliseconds()); in RecordBitrate() 99 in_out, clock_.TimeInMilliseconds() + time_ms, source_->flow_id()); in RunFor() 112 feedbacks->front()->send_time_ms() - clock_.TimeInMilliseconds(); in ProcessFeedbackAndGeneratePackets() 177 int64_t end_time_ms = clock_.TimeInMilliseconds() + time_ms; in RunFor() 189 feedbacks.front()->send_time_ms() - clock_.TimeInMilliseconds(), 0); in RunFor() 198 if (clock_.TimeInMilliseconds() + time_until_next_event_ms > end_time_ms) in RunFor() 199 time_until_next_event_ms = end_time_ms - clock_.TimeInMilliseconds(); in RunFor() 235 } while (clock_.TimeInMilliseconds() < end_time_ms); in RunFor() 288 int64_t pace_out_time_ms = clock_.TimeInMilliseconds(); in TimeToSendPacket() 348 if (clock_.TimeInMilliseconds() + time_ms < offset_ms_) { in RunFor() [all …]
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
D | bwe_rtp_play.cc | 30 static_cast<uint32_t>(clock_->TimeInMilliseconds()), in OnReceiveBitrateChanged() 69 if (next_rtp_time_ms <= clock.TimeInMilliseconds()) { in main() 84 rbe->IncomingPacket(clock.TimeInMilliseconds(), in main() 100 next_rtp_time_ms - clock.TimeInMilliseconds()); in main() 104 clock.TimeInMilliseconds()); in main()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | remote_ntp_time_estimator.cc | 25 ts_extrapolator_(new TimestampExtrapolator(clock_->TimeInMilliseconds())), in RemoteNtpTimeEstimator() 46 int64_t receiver_arrival_time_ms = clock_->TimeInMilliseconds(); in UpdateRtcpTimestamp() 66 clock_->CurrentNtpInMilliseconds() - clock_->TimeInMilliseconds(); in Estimate() 68 int64_t now_ms = clock_->TimeInMilliseconds(); in Estimate()
|
D | rtp_packet_history_unittest.cc | 70 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 83 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 102 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 131 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 149 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 167 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 198 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 228 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F() 273 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
|
D | rtp_sender_audio.cc | 179 _clock->TimeInMilliseconds() - _dtmfTimeLastSent; in SendAudio() 223 _dtmfTimeLastSent = _clock->TimeInMilliseconds(); in SendAudio() 272 _clock->TimeInMilliseconds()); in SendAudio() 278 _clock->TimeInMilliseconds()); in SendAudio() 427 dtmfTimeStamp, _clock->TimeInMilliseconds()); in SendTelephoneEventPacket()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
D | remb.cc | 48 report_blocks, 0, clock_->TimeInMilliseconds()); in GiveFeedback() 92 while ((clock_.TimeInMilliseconds() + step_ms) < arrival_time_ms) { in ReceivePacket() 99 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds()); in ReceivePacket() 100 ASSERT_TRUE(arrival_time_ms == clock_.TimeInMilliseconds()); in ReceivePacket() 125 clock_.TimeInMilliseconds(), estimated_kbps); in GetFeedback()
|
/external/webrtc/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_impl.cc | 89 last_bitrate_update_ms_(clock_->TimeInMilliseconds()), in BitrateControllerImpl() 140 bandwidth_estimation_.UpdateReceiverEstimate(clock_->TimeInMilliseconds(), in OnReceivedEstimatedBitrate() 150 clock_->TimeInMilliseconds() - last_bitrate_update_ms_; in TimeUntilNextProcess() 160 bandwidth_estimation_.UpdateEstimate(clock_->TimeInMilliseconds()); in Process() 163 last_bitrate_update_ms_ = clock_->TimeInMilliseconds(); in Process()
|
/external/webrtc/webrtc/video/ |
D | overuse_frame_detector.cc | 178 next_process_time_(clock_->TimeInMilliseconds()), in OveruseFrameDetector() 217 return next_process_time_ - clock_->TimeInMilliseconds(); in TimeUntilNextProcess() 248 int64_t now = clock_->TimeInMilliseconds(); in FrameCaptured() 264 clock_->TimeInMilliseconds()); in FrameSent() 271 int64_t now = clock_->TimeInMilliseconds(); in AddProcessingTime() 283 int64_t now = clock_->TimeInMilliseconds(); in Process()
|
D | call_stats.cc | 98 last_process_time_(clock_->TimeInMilliseconds()), in CallStats() 107 return last_process_time_ + kUpdateIntervalMs - clock_->TimeInMilliseconds(); in TimeUntilNextProcess() 112 int64_t now = clock_->TimeInMilliseconds(); in Process() 165 reports_.push_back(RttTime(rtt, clock_->TimeInMilliseconds())); in OnRttUpdate()
|
D | vie_remb.cc | 33 last_remb_time_(clock_->TimeInMilliseconds()), in VieRemb() 109 last_remb_time_ = clock_->TimeInMilliseconds() - kRembSendIntervalMs; in OnReceiveBitrateChanged() 115 int64_t now = clock_->TimeInMilliseconds(); in OnReceiveBitrateChanged()
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receive_test_oldapi.cc | 157 while (clock_.TimeInMilliseconds() < packet->time_ms()) { in Run() 209 last_toggle_time_ms_(clock_.TimeInMilliseconds()) { in AcmReceiveTestToggleOutputFreqOldApi() 213 if (clock_.TimeInMilliseconds() >= last_toggle_time_ms_ + toggle_period_ms_) { in AfterGetAudio() 217 last_toggle_time_ms_ = clock_.TimeInMilliseconds(); in AfterGetAudio()
|
/external/webrtc/webrtc/test/ |
D | fake_network_pipe.cc | 81 next_process_time_(clock_->TimeInMilliseconds()) {} in FakeNetworkPipe() 116 int64_t time_now = clock_->TimeInMilliseconds(); in SendPacket() 154 int64_t time_now = clock_->TimeInMilliseconds(); in Process() 215 return std::max<int64_t>(next_process_time_ - clock_->TimeInMilliseconds(), in TimeUntilNextProcess()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | clock.cc | 39 int64_t TimeInMilliseconds() const override { in TimeInMilliseconds() function in webrtc::RealTimeClock 241 int64_t SimulatedClock::TimeInMilliseconds() const { in TimeInMilliseconds() function in webrtc::SimulatedClock 252 int64_t now_ms = TimeInMilliseconds(); in CurrentNtp() 259 return TimeInMilliseconds() + 1000 * static_cast<int64_t>(kNtpJan1970); in CurrentNtpInMilliseconds()
|
/external/webrtc/webrtc/voice_engine/ |
D | network_predictor.cc | 18 last_loss_rate_update_time_ms_(clock_->TimeInMilliseconds()), in NetworkPredictor() 29 int64_t now_ms = clock_->TimeInMilliseconds(); in UpdatePacketLossRate()
|