Home
last modified time | relevance | path

Searched refs:time_now_ms (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
Dloudest_filter.cc44 uint32_t time_now_ms = rtc::Time(); in ForwardThisPacket() local
45 RemoveTimeoutStreams(time_now_ms); in ForwardThisPacket()
61 it->second.last_time_ms = time_now_ms; in ForwardThisPacket()
66 stream_levels_[source_ssrc].Set(audio_level, time_now_ms); in ForwardThisPacket()
75 stream_levels_[source_ssrc].Set(audio_level, time_now_ms); in ForwardThisPacket()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_performance_test.cc56 int32_t time_now_ms = 0; in Run() local
77 while (time_now_ms < runtime_ms) { in Run()
78 while (packet_input_time_ms <= time_now_ms) { in Run()
121 time_now_ms += kOutputBlockSizeMs; in Run()
122 if (time_now_ms >= runtime_ms / 2 && !drift_flipped) { in Run()
Dneteq_rtpplay.cc520 int64_t time_now_ms = start_time_ms; in main() local
521 int64_t next_input_time_ms = time_now_ms; in main()
522 int64_t next_output_time_ms = time_now_ms; in main()
523 if (time_now_ms % kOutputBlockSizeMs != 0) { in main()
527 kOutputBlockSizeMs - time_now_ms % kOutputBlockSizeMs; in main()
536 start_time_ms = time_now_ms = in main()
541 time_now_ms = std::min(next_input_time_ms, next_output_time_ms); in main()
543 while (time_now_ms >= next_input_time_ms && packet_available) { in main()
608 while (time_now_ms >= next_output_time_ms && output_event_available) { in main()
646 static_cast<int>(time_now_ms - start_time_ms)); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_fec_test.cc172 int time_now_ms, fec_frames; in TEST_P() local
194 time_now_ms = 0; in TEST_P()
196 while (time_now_ms < kDurationMs) { in TEST_P()
215 time_now_ms += block_duration_ms_; in TEST_P()
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/
Daudio_codec_speed_test.cc100 size_t time_now_ms = 0; in EncodeDecode() local
106 while (time_now_ms < audio_duration_sec * 1000) { in EncodeDecode()
119 time_now_ms += block_duration_ms_; in EncodeDecode()
/external/webrtc/webrtc/test/
Dfake_encoder.cc53 int64_t time_now_ms = clock_->TimeInMilliseconds(); in Encode() local
58 time_since_last_encode_ms = time_now_ms - last_encode_time_ms_; in Encode()
76 last_encode_time_ms_ = time_now_ms; in Encode()
/external/webrtc/webrtc/video/
Dstream_synchronization_unittest.cc59 int64_t time_now_ms() const { in time_now_ms() function in webrtc::Time
131 video.latest_receive_time_ms = receive_time_->time_now_ms(); in DelayedStreams()
133 audio.latest_receive_time_ms = receive_time_->time_now_ms(); in DelayedStreams()
137 audio.latest_receive_time_ms = receive_time_->time_now_ms(); in DelayedStreams()
139 video.latest_receive_time_ms = receive_time_->time_now_ms(); in DelayedStreams()
Dend_to_end_tests.cc3113 int64_t time_now_ms = clock_->TimeInMilliseconds(); in TEST_F() local
3121 if (time_now_ms - initial_time_ms >= in TEST_F()
3133 if (time_now_ms - initial_time_ms >= in TEST_F()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test.h38 void RunFor(int64_t time_ms, int64_t time_now_ms, Packets* in_out);
Dbwe_test.cc48 int64_t time_now_ms, in RunFor() argument
53 QueuePackets(&to_process, time_now_ms * 1000); in RunFor()