/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_bitrate_estimator_abs_send_time_unittest.cc | 23 bitrate_observer_.get(), &clock_)); 97 IncomingPacket(0, 1000, clock_.TimeInMilliseconds(), 0, 0, true); 98 clock_.AdvanceTimeMilliseconds(kStreamTimeOutMs + 1); 101 clock_.AdvanceTimeMilliseconds(kProcessIntervalMs); 108 int64_t now_ms = clock_.TimeInMilliseconds(); 111 clock_.AdvanceTimeMilliseconds(10); 112 now_ms = clock_.TimeInMilliseconds(); 119 clock_.AdvanceTimeMilliseconds(5); 120 now_ms = clock_.TimeInMilliseconds(); 133 int64_t now_ms = clock_.TimeInMilliseconds() [all...] |
remote_bitrate_estimator_unittest_helper.cc | 193 : clock_(0), 197 clock_.TimeInMicroseconds())) {} 248 &packets, clock_.TimeInMicroseconds()); 255 clock_.AdvanceTimeMicroseconds(packet->arrival_time - 256 clock_.TimeInMicroseconds()); 270 clock_.AdvanceTimeMicroseconds(next_time_us - clock_.TimeInMicroseconds()); 318 clock_.AdvanceTimeMilliseconds(1000); 323 clock_.AdvanceTimeMilliseconds(1000); 325 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp [all...] |
send_time_history.cc | 18 : clock_(clock), 38 sequence_number, PacketInfo(clock_->TimeInMilliseconds(), 0, -1, 56 if (clock_->TimeInMilliseconds() - it->second.creation_time_ms <=
|
/external/webrtc/webrtc/voice_engine/ |
network_predictor_unittest.cc | 23 : clock_(0), 24 network_predictor_(new NetworkPredictor(&clock_)) {} 25 SimulatedClock clock_; member in class:webrtc::voe::TestNetworkPredictor 35 clock_.AdvanceTimeMilliseconds(1000);
|
network_predictor.cc | 17 : clock_(clock), 18 last_loss_rate_update_time_ms_(clock_->TimeInMilliseconds()), 29 int64_t now_ms = clock_->TimeInMilliseconds();
|
network_predictor.h | 37 Clock* clock_; member in class:webrtc::voe::NetworkPredictor
|
/system/update_engine/update_manager/ |
real_time_provider.cc | 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} 44 clock_->GetWallclockTime().LocalExplode(&now_exp); 50 ClockInterface* clock_; member in class:chromeos_update_manager::CurrDateVariable 61 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} 67 clock_->GetWallclockTime().LocalExplode(&exploded); 72 ClockInterface* clock_; member in class:chromeos_update_manager::CurrHourVariable 78 var_curr_date_.reset(new CurrDateVariable("curr_date", clock_)); 79 var_curr_hour_.reset(new CurrHourVariable("curr_hour", clock_));
|
real_time_provider.h | 33 : clock_(clock) {} 48 chromeos_update_engine::ClockInterface* const clock_; member in class:chromeos_update_manager::RealTimeProvider::chromeos_update_engine
|
default_policy.cc | 32 : clock_(clock), aux_state_(new DefaultPolicyState()) {} 48 if (clock_) 49 aux_state_->set_last_check_allowed_time(clock_->GetMonotonicTime());
|
/external/webrtc/webrtc/modules/pacing/ |
paced_sender_unittest.cc | 68 clock_(clock) {} 88 int64_t now_ms = clock_->TimeInMilliseconds(); 102 Clock* clock_; member in class:webrtc::test::PacedSenderProbing 107 PacedSenderTest() : clock_(123456) { 110 send_bucket_.reset(new PacedSender(&clock_, 135 SimulatedClock clock_; member in class:webrtc::test::PacedSenderTest 147 clock_.TimeInMilliseconds(), 153 clock_.TimeInMilliseconds(), 159 clock_.TimeInMilliseconds(), 162 int64_t queued_packet_timestamp = clock_.TimeInMilliseconds() [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
remote_ntp_time_estimator.cc | 24 : clock_(clock), 25 ts_extrapolator_(new TimestampExtrapolator(clock_->TimeInMilliseconds())), 46 int64_t receiver_arrival_time_ms = clock_->TimeInMilliseconds(); 66 clock_->CurrentNtpInMilliseconds() - clock_->TimeInMilliseconds(); 68 int64_t now_ms = clock_->TimeInMilliseconds();
|
receive_statistics_unittest.cc | 27 clock_(0), 28 receive_statistics_(ReceiveStatistics::Create(&clock_)) { 38 SimulatedClock clock_; member in class:webrtc::ReceiveStatisticsTest 49 clock_.AdvanceTimeMilliseconds(100); 102 clock_.AdvanceTimeMilliseconds(1000); 110 clock_.AdvanceTimeMilliseconds(7000); 115 clock_.AdvanceTimeMilliseconds(1000); 177 clock_.AdvanceTimeMilliseconds(7); 181 clock_.AdvanceTimeMilliseconds(9); 185 clock_.AdvanceTimeMilliseconds(13) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
remb.cc | 30 clock_(clock) { 48 report_blocks, 0, clock_->TimeInMilliseconds()); 68 clock_(0), 69 recv_stats_(ReceiveStatistics::Create(&clock_)), 72 estimator_(new RemoteBitrateEstimatorAbsSendTime(this, &clock_)) { 92 while ((clock_.TimeInMilliseconds() + step_ms) < arrival_time_ms) { 93 clock_.AdvanceTimeMilliseconds(step_ms); 99 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds()); 100 ASSERT_TRUE(arrival_time_ms == clock_.TimeInMilliseconds()) [all...] |
nada.h | 51 SimulatedClock clock_; member in class:webrtc::testing::bwe::NadaBweReceiver 87 int64_t NowMs() const { return clock_->TimeInMilliseconds(); } 90 Clock* const clock_; member in class:webrtc::testing::bwe::NadaBweSender
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
packet_sender.cc | 48 metric_recorder_->UpdateTimeMs(clock_.TimeInMilliseconds()); 79 &clock_)), 99 in_out, clock_.TimeInMilliseconds() + time_ms, source_->flow_id()); 112 feedbacks->front()->send_time_ms() - clock_.TimeInMilliseconds(); 126 clock_.AdvanceTimeMilliseconds(time_to_run_ms); 160 pacer_(&clock_, 177 int64_t end_time_ms = clock_.TimeInMilliseconds() + time_ms; 189 feedbacks.front()->send_time_ms() - clock_.TimeInMilliseconds(), 0); 198 if (clock_.TimeInMilliseconds() + time_until_next_event_ms > end_time_ms) 199 time_until_next_event_ms = end_time_ms - clock_.TimeInMilliseconds() [all...] |
/external/webrtc/webrtc/video/ |
overuse_frame_detector_unittest.cc | 55 clock_.reset(new SimulatedClock(1234)); 62 overuse_detector_.reset(new OveruseFrameDetector(clock_.get(), options_, 78 int64_t capture_time_ms = clock_->TimeInMilliseconds(); 80 clock_->AdvanceTimeMilliseconds(delay_ms); 82 clock_->AdvanceTimeMilliseconds(interval_ms - delay_ms); 108 rtc::scoped_ptr<SimulatedClock> clock_; member in class:webrtc::OveruseFrameDetectorTest 134 new OveruseFrameDetector(clock_.get(), options_, nullptr, this)); 152 overuse_detector_.reset(new OveruseFrameDetector(clock_.get(), options_, 158 clock_->AdvanceTimeMilliseconds(kProcessIntervalMs); 235 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs) [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
receiver_unittest.cc | 35 : clock_(new SimulatedClock(0)), 36 timing_(clock_.get()), 37 receiver_(&timing_, clock_.get(), &event_factory_) { 39 new StreamGenerator(0, clock_->TimeInMilliseconds())); 66 (frame_type == kEmptyFrame) ? 1 : 0, clock_->TimeInMilliseconds()); 73 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); 87 rtc::scoped_ptr<SimulatedClock> clock_; member in class:webrtc::TestVCMReceiver 165 clock_->AdvanceTimeMilliseconds(kMinDelayMs); 201 int64_t key_frame_inserted = clock_->TimeInMilliseconds(); 210 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() 438 SimulatedClockWithFrames* clock_; member in class:webrtc::FrameInjectEvent 458 SimulatedClockWithFrames clock_; member in class:webrtc::VCMReceiverTimingTest [all...] |
video_coding_robustness_unittest.cc | 36 clock_.reset(new SimulatedClock(0)); 37 ASSERT_TRUE(clock_.get() != NULL); 38 vcm_ = VideoCodingModule::Create(clock_.get(), &event_factory_); 78 rtc::scoped_ptr<SimulatedClock> clock_; member in class:webrtc::VCMRobustnessTest 103 clock_->AdvanceTimeMilliseconds(1000 / 30); 108 clock_->AdvanceTimeMilliseconds(1000 / 30); 114 clock_->AdvanceTimeMilliseconds(10); 121 clock_->AdvanceTimeMilliseconds(10); 128 clock_->AdvanceTimeMilliseconds(10); 148 clock_->AdvanceTimeMilliseconds(10) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
remote_ntp_time_estimator.h | 42 Clock* clock_; member in class:webrtc::RemoteNtpTimeEstimator
|
/system/update_engine/ |
fake_system_state.cc | 27 clock_(&fake_clock_),
|
/external/webrtc/webrtc/test/ |
direct_transport.cc | 28 clock_(Clock::GetRealTimeClock()), 30 fake_network_(clock_, config) { 59 clock_->TimeInMilliseconds());
|
/external/drm_hwcomposer/ |
drmmode.cpp | 28 clock_(m->clock), 46 return clock_ == m.clock && h_display_ == m.hdisplay && 55 m->clock = clock_; 81 return clock_; 126 clock_ / (float)(v_total_ * h_total_) * 1000.0f;
|
/external/libbrillo/brillo/message_loops/ |
fake_message_loop_unittest.cc | 37 base::SimpleTestClock clock_; member in class:brillo::FakeMessageLoopTest 63 clock_.SetNow(start); 64 loop_.reset(new FakeMessageLoop(&clock_)); 69 EXPECT_EQ(start, clock_.Now()); 74 EXPECT_EQ(start + TimeDelta::FromSeconds(1), clock_.Now()); 78 clock_.SetNow(start + TimeDelta::FromSeconds(3)); 81 EXPECT_EQ(start + TimeDelta::FromSeconds(3), clock_.Now());
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receive_test_oldapi.cc | 105 : clock_(0), 106 acm_(webrtc::AudioCodingModule::Create(0, &clock_)), 157 while (clock_.TimeInMilliseconds() < packet->time_ms()) { 174 clock_.AdvanceTimeMilliseconds(10); 209 last_toggle_time_ms_(clock_.TimeInMilliseconds()) { 213 if (clock_.TimeInMilliseconds() >= last_toggle_time_ms_ + toggle_period_ms_) { 217 last_toggle_time_ms_ = clock_.TimeInMilliseconds();
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/include/ |
send_time_history.h | 39 Clock* const clock_; member in class:webrtc::SendTimeHistory
|