Home
last modified time | relevance | path

Searched refs:GetCurrentTime (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/ash/system/chromeos/session/
Dlogout_confirmation_controller_unittest.cc41 const base::TimeTicks& GetCurrentTime() const;
105 const base::TimeTicks& MockTimeSingleThreadTaskRunner::GetCurrentTime() const { in GetCurrentTime() function in ash::__anon8acf0d1b0111::MockTimeSingleThreadTaskRunner
146 return task_runner_->GetCurrentTime(); in NowTicks()
189 controller_.ConfirmLogout(runner_->GetCurrentTime()); in TEST_F()
198 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F()
211 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(30)); in TEST_F()
216 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F()
228 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F()
233 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F()
242 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/
Dsession_length_limiter_unittest.cc37 MOCK_CONST_METHOD0(GetCurrentTime, const base::TimeTicks(void));
57 const base::TimeTicks& GetCurrentTime() const;
154 const base::TimeTicks& MockTimeSingleThreadTaskRunner::GetCurrentTime() const { in GetCurrentTime() function in chromeos::MockTimeSingleThreadTaskRunner
277 session_start_time_ = runner_->GetCurrentTime(); in UpdateSessionStartTimeIfWaitingForUserActivity()
289 session_stop_time_ = runner_->GetCurrentTime(); in SaveSessionStopTime()
295 session_start_time_ = runner_->GetCurrentTime(); in CreateSessionLengthLimiter()
299 ON_CALL(*delegate_, GetCurrentTime()) in CreateSessionLengthLimiter()
301 &MockTimeSingleThreadTaskRunner::GetCurrentTime)); in CreateSessionLengthLimiter()
390 runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); in TEST_F()
399 runner_->GetCurrentTime() + base::TimeDelta::FromHours(2)); in TEST_F()
[all …]
Dsession_length_limiter.cc40 virtual const base::TimeTicks GetCurrentTime() const OVERRIDE;
53 const base::TimeTicks SessionLengthLimiterDelegateImpl::GetCurrentTime() const { in GetCurrentTime() function in chromeos::__anon2bf532bf0111::SessionLengthLimiterDelegateImpl
123 session_start_time_ = delegate_->GetCurrentTime(); in OnUserActivity()
138 session_start_time >= delegate_->GetCurrentTime()) { in RestoreStateAfterCrash()
161 session_start_time_ = delegate_->GetCurrentTime(); in UpdateSessionStartTime()
198 (delegate_->GetCurrentTime() - session_start_time_); in UpdateLimit()
Dsession_length_limiter.h30 virtual const base::TimeTicks GetCurrentTime() const = 0;
/external/chromium_org/ui/wm/core/
Duser_activity_detector.cc65 honor_mouse_events_time_ = GetCurrentTime() + in OnDisplayPowerChanging()
77 GetCurrentTime() < honor_mouse_events_time_) in OnMouseEvent()
95 base::TimeTicks UserActivityDetector::GetCurrentTime() const { in GetCurrentTime() function in wm::UserActivityDetector
100 base::TimeTicks now = GetCurrentTime(); in HandleActivity()
Duser_activity_detector.h52 base::TimeTicks GetCurrentTime() const;
/external/chromium_org/media/base/android/
Dmedia_source_player.cc107 ScheduleSeekEventAndStopDecoding(GetCurrentTime()); in BrowserSeekToCurrentTime()
179 base::TimeDelta MediaSourcePlayer::GetCurrentTime() { in GetCurrentTime() function in media::MediaSourcePlayer
275 if (GetCurrentTime() > base::TimeDelta()) { in SetCdm()
329 DCHECK(seek_time >= GetCurrentTime()); in OnDemuxerSeekDone()
338 base::TimeDelta current_time = GetCurrentTime(); in OnDemuxerSeekDone()
362 GetCurrentTime(), in UpdateTimestamps()
387 audio_decoder_job_->SetBaseTimestamp(GetCurrentTime()); in ProcessPendingEvents()
388 demuxer_->RequestDemuxerSeek(GetCurrentTime(), doing_browser_seek_); in ProcessPendingEvents()
639 base::TimeDelta current_timestamp = GetCurrentTime(); in StartStarvationCallback()
693 start_presentation_timestamp_ = GetCurrentTime(); in OnPrefetchDone()
Dmedia_source_player_unittest.cc355 base::TimeDelta current_time = player_.GetCurrentTime(); in DecodeAudioDataUntilOutputBecomesAvailable()
362 base::TimeDelta new_current_time = player_.GetCurrentTime(); in DecodeAudioDataUntilOutputBecomesAvailable()
447 EXPECT_EQ(player_.GetCurrentTime(), GetPrerollTimestamp()); in StartAudioDecoderJobAndSeekToWhileDecoding()
510 target_timestamp == player_.GetCurrentTime()); in PrerollDecoderToTime()
529 target_timestamp == player_.GetCurrentTime()); in PrerollDecoderToTime()
533 EXPECT_LE(target_timestamp, player_.GetCurrentTime()); in PrerollDecoderToTime()
1004 player_.OnDemuxerSeekDone(player_.GetCurrentTime()); in TEST_F()
1587 EXPECT_LT(500.0, player_.GetCurrentTime().InMillisecondsF()); in TEST_F()
1630 EXPECT_EQ(100.0, player_.GetCurrentTime().InMillisecondsF()); in TEST_F()
1701 EXPECT_EQ(player_.GetCurrentTime().InMillisecondsF(), 100.0); in TEST_F()
[all …]
Dmedia_player_android.cc66 manager_->OnSeekComplete(player_id(), GetCurrentTime()); in OnSeekComplete()
Dmedia_player_bridge.cc349 base::TimeDelta MediaPlayerBridge::GetCurrentTime() { in GetCurrentTime() function in media::MediaPlayerBridge
373 pending_seek_ = GetCurrentTime(); in Release()
501 player_id(), GetCurrentTime(), base::TimeTicks::Now()); in OnTimeUpdateTimerFired()
Dmedia_player_android.h66 virtual base::TimeDelta GetCurrentTime() = 0;
Dmedia_player_bridge.h67 virtual base::TimeDelta GetCurrentTime() OVERRIDE;
Dmedia_source_player.h57 virtual base::TimeDelta GetCurrentTime() OVERRIDE;
/external/chromium_org/third_party/webrtc/base/
Dtask_unittest.cc34 static int64 GetCurrentTime() { in GetCurrentTime() function
102 return GetCurrentTime(); in CurrentTime()
192 std::cout << "Start time is " << GetCurrentTime() << std::endl; in Start()
211 std::cout << "End time is " << GetCurrentTime() << std::endl; in Start()
494 return GetCurrentTime(); in CurrentTime()
/external/chromium_org/chrome/browser/notifications/
Dextension_welcome_notification.cc123 virtual base::Time GetCurrentTime() OVERRIDE { in GetCurrentTime() function in __anonff99c92d0111::DefaultDelegate
326 expiration_timestamp - delegate_->GetCurrentTime(), in StartExpirationTimer()
359 (delegate_->GetCurrentTime() + in SetExpirationTimestampFromNow()
366 (expiration_timestamp <= delegate_->GetCurrentTime()); in IsWelcomeNotificationExpired()
Dextension_welcome_notification.h53 virtual base::Time GetCurrentTime() = 0;
/external/chromium_org/components/captive_portal/
Dcaptive_portal_detector.cc108 base::Time now = GetCurrentTime(); in GetCaptivePortalResultFromResponse()
137 base::Time CaptivePortalDetector::GetCurrentTime() const { in GetCurrentTime() function in captive_portal::CaptivePortalDetector
Dcaptive_portal_detector.h77 base::Time GetCurrentTime() const;
/external/chromium_org/chrome/browser/prerender/
Dprerender_local_predictor.cc273 base::Time GetCurrentTime() { in GetCurrentTime() function
377 (GetCurrentTime() - actual_start_time).InMillisecondsF() / in GetCurrentDecayedPriority()
475 it->second->add_time_ > GetCurrentTime() - plt) { in MarkPLTSeen()
493 add_time_(GetCurrentTime()), in ListEntry()
506 base::Time expiry_cutoff = GetCurrentTime() - in ExpireOldItems()
610 GetCurrentTime() - current_prerender_->actual_start_time, in OnAddVisit()
1181 base::TimeDelta prerender_age = GetCurrentTime() - prerender->start_time; in OnPLTEventForURL()
1200 > GetCurrentTime()); in IsPrerenderStillValid()
1213 if (prerender && prerender->start_time < GetCurrentTime() - plt) { in DoesPrerenderMatchPLTRecord()
1414 base::Time current_time = GetCurrentTime(); in IssuePrerender()
/external/chromium_org/tools/cygprofile/
Dcygprofile.cc59 timespec GetCurrentTime() { in GetCurrentTime() function
179 : time(GetCurrentTime()), in LogEntry()
/external/chromium_org/components/metrics/
Dmetrics_log.h81 static int64 GetCurrentTime();
Dmetrics_log.cc168 int64 MetricsLog::GetCurrentTime() { in GetCurrentTime() function in metrics::MetricsLog
177 user_action->set_time(GetCurrentTime()); in RecordUserAction()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_status_collector.cc219 Time DeviceStatusCollector::GetCurrentTime() { in GetCurrentTime() function in policy::DeviceStatusCollector
288 Time now = GetCurrentTime(); in IdleStateCallback()
505 TimeDelta elapsed = GetCurrentTime() - position_.timestamp; in ScheduleGeolocationUpdateRequest()
Ddevice_status_collector.h81 virtual base::Time GetCurrentTime();
/external/chromium_org/chrome/browser/extensions/
Dtest_extension_prefs.cc50 virtual base::Time GetCurrentTime() const OVERRIDE { in GetCurrentTime() function in extensions::__anonc65829100111::IncrementalTimeProvider

12