Home
last modified time | relevance | path

Searched refs:scheduler_ (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/components/domain_reliability/
Dscheduler_unittest.cc29 DCHECK(!scheduler_); in CreateScheduler()
32 scheduler_.reset(new DomainReliabilityScheduler( in CreateScheduler()
41 DCHECK(scheduler_); in CheckNoPendingUpload()
54 DCHECK(scheduler_); in CheckPendingUpload()
78 DCHECK(scheduler_); in CheckStartingUpload()
81 size_t collector = scheduler_->OnUploadStart(); in CheckStartingUpload()
105 scoped_ptr<DomainReliabilityScheduler> scheduler_; member in domain_reliability::__anon635da2360111::DomainReliabilitySchedulerTest
125 scheduler_->OnBeaconAdded(); in TEST_F()
129 scheduler_->OnUploadComplete(true); in TEST_F()
131 scheduler_->OnBeaconAdded(); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler_unittest.cc145 scheduler_.reset(new JobScheduler(pref_service_.get(), in SetUp()
149 scheduler_->SetDisableThrottling(true); in SetUp()
189 scoped_ptr<JobScheduler> scheduler_; member in drive::JobSchedulerTest
197 scheduler_->GetAboutResource( in TEST_F()
211 scheduler_->GetAppList( in TEST_F()
225 scheduler_->GetAllFileList( in TEST_F()
239 scheduler_->GetFileListInDirectory( in TEST_F()
254 scheduler_->Search( in TEST_F()
286 scheduler_->GetChangeList( in TEST_F()
302 scheduler_->GetChangeList( in TEST_F()
[all …]
Dchange_list_loader.cc44 : scheduler_(scheduler), in FullFeedFetcher()
59 scheduler_->GetAllFileList( in Run()
82 scheduler_->GetRemainingFileList( in OnFileListFetched()
98 JobScheduler* scheduler_; member in drive::internal::__anonb382a8f20111::FullFeedFetcher
109 : scheduler_(scheduler), in DeltaFeedFetcher()
121 scheduler_->GetChangeList( in Run()
145 scheduler_->GetRemainingChangeList( in OnChangeListFetched()
158 JobScheduler* scheduler_; member in drive::internal::__anonb382a8f20111::DeltaFeedFetcher
211 : scheduler_(scheduler), in AboutResourceLoader()
240 scheduler_->GetAboutResource( in UpdateAboutResource()
[all …]
Dfile_system.cc261 scheduler_(scheduler), in FileSystem()
297 about_resource_loader_.reset(new internal::AboutResourceLoader(scheduler_)); in ResetComponents()
303 scheduler_, in ResetComponents()
311 scheduler_, in ResetComponents()
318 scheduler_, in ResetComponents()
328 scheduler_, in ResetComponents()
345 scheduler_, in ResetComponents()
359 scheduler_, in ResetComponents()
366 scheduler_, in ResetComponents()
371 blocking_task_runner_.get(), scheduler_, resource_metadata_, in ResetComponents()
[all …]
Dchange_list_loader_unittest.cc87 scheduler_.reset(new JobScheduler(pref_service_.get(), in SetUp()
106 about_resource_loader_.reset(new AboutResourceLoader(scheduler_.get())); in SetUp()
112 scheduler_.get(), in SetUp()
138 scoped_ptr<JobScheduler> scheduler_; member in drive::internal::ChangeListLoaderTest
193 scheduler_.get(), in TEST_F()
Ddirectory_loader_unittest.cc81 scheduler_.reset(new JobScheduler(pref_service_.get(), in SetUp()
100 about_resource_loader_.reset(new AboutResourceLoader(scheduler_.get())); in SetUp()
106 scheduler_.get(), in SetUp()
132 scoped_ptr<JobScheduler> scheduler_; member in drive::internal::DirectoryLoaderTest
/external/chromium_org/gpu/command_buffer/service/
Dgpu_scheduler_unittest.cc51 scheduler_.reset(new gpu::GpuScheduler(command_buffer_.get(), in SetUp()
57 EXPECT_TRUE(scheduler_->SetGetBuffer(kTransferBufferId)); in SetUp()
78 scoped_ptr<GpuScheduler> scheduler_; member in gpu::GpuSchedulerTest
91 scheduler_->PutChanged(); in TEST_F()
99 scheduler_->SetGetOffset(2); in TEST_F()
100 EXPECT_EQ(2, scheduler_->GetGetOffset()); in TEST_F()
106 EXPECT_TRUE(scheduler_->SetGetBuffer(kTransferBufferId)); in TEST_F()
109 EXPECT_EQ(0, scheduler_->GetGetOffset()); in TEST_F()
131 scheduler_->PutChanged(); in TEST_F()
156 scheduler_->PutChanged(); in TEST_F()
[all …]
/external/chromium_org/tools/gn/
Dsetup.cc225 base::Bind(&ItemDefinedCallback, scheduler_.main_loop(), builder_)); in Setup()
229 loader_->set_main_loop(scheduler_.main_loop()); in Setup()
238 scheduler_.set_verbose_logging(cmdline->HasSwitch(kSwitchVerbose)); in DoSetup()
264 if (!scheduler_.Run()) in Run()
270 return &scheduler_; in GetScheduler()
441 if (scheduler_.verbose_logging()) in FillSourceDir()
442 scheduler_.Log("Using source root", FilePathToUTF8(root_path)); in FillSourceDir()
459 if (scheduler_.verbose_logging()) in FillBuildDir()
460 scheduler_.Log("Using build dir", resolved.value()); in FillBuildDir()
475 if (scheduler_.verbose_logging()) in FillPythonPath()
[all …]
Dloader_unittest.cc125 Scheduler scheduler_; member in __anon3372b6fd0111::LoaderTest
154 scheduler_.main_loop()->RunUntilIdle(); in TEST_F()
159 scheduler_.main_loop()->RunUntilIdle(); in TEST_F()
170 scheduler_.main_loop()->RunUntilIdle(); in TEST_F()
187 scheduler_.main_loop()->RunUntilIdle(); in TEST_F()
190 EXPECT_FALSE(scheduler_.is_failed()); in TEST_F()
Dsetup.h108 Scheduler& scheduler() { return scheduler_; } in scheduler()
154 Scheduler scheduler_; variable
208 Scheduler* scheduler_;
/external/chromium_org/media/filters/
Dvideo_frame_scheduler_proxy.cc19 scheduler_(scheduler.Pass()), in VideoFrameSchedulerProxy()
24 scheduler_runner_->DeleteSoon(FROM_HERE, scheduler_.release()); in ~VideoFrameSchedulerProxy()
35 base::Unretained(scheduler_.get()), in ScheduleVideoFrame()
45 base::Unretained(scheduler_.get()))); in Reset()
Dvideo_frame_scheduler_unittest.cc39 T scheduler_; member in media::VideoFrameSchedulerTest
47 : scheduler_(base::Bind(&DoNothing)) { in VideoFrameSchedulerTest()
52 : scheduler_(message_loop_.message_loop_proxy(), base::Bind(&DoNothing)) { in VideoFrameSchedulerTest()
62 this->scheduler_.ScheduleVideoFrame( in TYPED_TEST_P()
Dvideo_frame_scheduler_impl_unittest.cc22 : scheduler_(message_loop_.message_loop_proxy(), in VideoFrameSchedulerImplTest()
26 scheduler_.SetTickClockForTesting(scoped_ptr<base::TickClock>(tick_clock_)); in VideoFrameSchedulerImplTest()
37 scheduler_.ScheduleVideoFrame( in Schedule()
56 scheduler_.Reset(); in Reset()
61 VideoFrameSchedulerImpl scheduler_; member in media::VideoFrameSchedulerImplTest
/external/chromium_org/content/common/gpu/
Dgpu_command_buffer_stub.cc266 return (!scheduler_.get() || scheduler_->IsScheduled()); in IsScheduled()
270 return scheduler_.get() && scheduler_->HasMoreWork(); in HasMoreWork()
280 if (scheduler_) { in PollWork()
281 bool fences_complete = scheduler_->PollUnscheduleFences(); in PollWork()
303 scheduler_->PerformIdleWork(); in PollWork()
342 if (scheduler_.get() && in ScheduleDelayedWork()
343 scheduler_->IsScheduled() && in ScheduleDelayedWork()
344 scheduler_->HasMoreIdleWork()) { in ScheduleDelayedWork()
394 scheduler_.reset(); in Destroy()
439 scheduler_.reset(new gpu::GpuScheduler(command_buffer_.get(), in OnInitialize()
[all …]
Dgpu_command_buffer_stub.h107 return scheduler_.get() && scheduler_->IsPreempted(); in IsPreempted()
114 gpu::GpuScheduler* scheduler() const { return scheduler_.get(); } in scheduler()
252 scoped_ptr<gpu::GpuScheduler> scheduler_; variable
/external/chromium_org/cc/output/
Doverlay_unittest.cc518 &MockOverlayScheduler::Schedule, base::Unretained(&scheduler_))); in GLRendererWithOverlaysTest()
541 MockOverlayScheduler scheduler_; member in cc::__anon98c0b2990111::GLRendererWithOverlaysTest
568 EXPECT_CALL(scheduler_, in TEST_F()
579 Mock::VerifyAndClearExpectations(&scheduler_); in TEST_F()
605 EXPECT_CALL(scheduler_, Schedule(_, _, _, _, _)).Times(0); in TEST_F()
611 Mock::VerifyAndClearExpectations(&scheduler_); in TEST_F()
637 EXPECT_CALL(scheduler_, Schedule(_, _, _, _, _)).Times(0); in TEST_F()
643 Mock::VerifyAndClearExpectations(&scheduler_); in TEST_F()
668 EXPECT_CALL(scheduler_, Schedule(_, _, _, _, _)).Times(1); in TEST_F()
673 Mock::VerifyAndClearExpectations(&scheduler_); in TEST_F()
[all …]
/external/chromium_org/content/browser/loader/
Dresource_scheduler_unittest.cc130 scheduler_.OnClientCreated(kChildId, kRouteId); in ResourceSchedulerTest()
135 scheduler_.OnClientDeleted(kChildId, kRouteId); in ~ResourceSchedulerTest()
180 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( in NewRequestWithRoute()
209 ResourceScheduler scheduler_; member in content::__anoncf5402eb0111::ResourceSchedulerTest
237 scheduler_.OnWillInsertBody(kChildId, kRouteId); in TEST_F()
253 scheduler_.OnWillInsertBody(kChildId, kRouteId); in TEST_F()
258 scheduler_.OnWillInsertBody(kChildId, kRouteId); in TEST_F()
259 scheduler_.OnNavigate(kChildId, kRouteId); in TEST_F()
296 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( in TEST_F()
316 scheduler_.OnWillInsertBody(kChildId, kRouteId); in TEST_F()
[all …]
/external/chromium_org/remoting/host/
Dvideo_scheduler_unittest.cc88 scoped_refptr<VideoScheduler> scheduler_; member in remoting::VideoSchedulerTest
119 scheduler_ = new VideoScheduler( in StartVideoScheduler()
127 scheduler_->Start(); in StartVideoScheduler()
131 scheduler_->Stop(); in StopVideoScheduler()
132 scheduler_ = NULL; in StopVideoScheduler()
/external/chromium_org/components/metrics/
Dmetrics_service.cc343 scheduler_.reset(new MetricsReportingScheduler(callback)); in InitializeMetricsRecordingState()
489 scheduler_->Stop(); in OnAppEnterBackground()
631 scheduler_->InitTaskComplete(); in FinishedGatheringInitialMetrics()
792 scheduler_->Start(); in StartSchedulerIfNecessary()
808 scheduler_->Stop(); in StartScheduledUpload()
809 scheduler_->UploadCancelled(); in StartScheduledUpload()
821 scheduler_->UploadFinished(true /* healthy */, false /* no unsent logs */); in StartScheduledUpload()
847 scheduler_->Stop(); in OnFinalLogInfoCollectionDone()
848 scheduler_->UploadCancelled(); in OnFinalLogInfoCollectionDone()
861 scheduler_->Stop(); in OnFinalLogInfoCollectionDone()
[all …]
/external/chromium_org/mojo/services/gles2/
Dcommand_buffer_impl.cc106 scheduler_.reset(new gpu::GpuScheduler( in DoInitialize()
108 decoder_->set_engine(scheduler_.get()); in DoInitialize()
126 &gpu::GpuScheduler::PutChanged, base::Unretained(scheduler_.get()))); in DoInitialize()
128 &gpu::GpuScheduler::SetGetBuffer, base::Unretained(scheduler_.get()))); in DoInitialize()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dremove_performer.cc59 scheduler_(scheduler), in RemovePerformer()
138 scheduler_->TrashResource( in TrashResource()
180 scheduler_->GetFileResource( in UnparentResource()
230 scheduler_->RemoveResourceFromDirectory( in UnparentResourceAfterGetFileResource()
/external/chromium_org/sync/internal_api/
Dsync_manager_impl.cc298 scheduler_->Start(SyncScheduler::CONFIGURATION_MODE); in ConfigureSyncer()
299 scheduler_->ScheduleConfiguration(params); in ConfigureSyncer()
417 scheduler_ = internal_components_factory->BuildScheduler( in Init()
420 scheduler_->Start(SyncScheduler::CONFIGURATION_MODE); in Init()
500 scheduler_->Start(SyncScheduler::NORMAL_MODE); in StartSyncingNormally()
508 return scheduler_.get(); in scheduler()
586 scheduler_->OnCredentialsUpdated(); in UpdateCredentials()
609 scheduler_.reset(); in ShutdownOnSyncThread()
672 scheduler_->OnConnectionStatusChange(); in OnNetworkConnectivityChangedImpl()
891 scheduler_->ScheduleLocalNudge(nudge_delay, in RequestNudgeForDataTypes()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dsearch_operation.cc89 scheduler_(scheduler), in SearchOperation()
106 scheduler_->Search( in Search()
112 scheduler_->GetRemainingFileList( in Search()
/external/chromium_org/cc/scheduler/
Dscheduler_unittest.cc100 scheduler_ = TestScheduler::Create(this, settings, 0, task_runner_); in CreateScheduler()
101 return scheduler_.get(); in CreateScheduler()
150 states_.push_back(scheduler_->AsValue().release()); in SetNeedsBeginFrame()
155 states_.push_back(scheduler_->AsValue().release()); in WillBeginImplFrame()
159 states_.push_back(scheduler_->AsValue().release()); in ScheduledActionSendBeginMainFrame()
163 states_.push_back(scheduler_->AsValue().release()); in ScheduledActionAnimate()
167 states_.push_back(scheduler_->AsValue().release()); in ScheduledActionDrawAndSwapIfPossible()
174 scheduler_->DidSwapBuffers(); in ScheduledActionDrawAndSwapIfPossible()
176 scheduler_->SetSwapUsedIncompleteTile(true); in ScheduledActionDrawAndSwapIfPossible()
179 scheduler_->SetSwapUsedIncompleteTile(false); in ScheduledActionDrawAndSwapIfPossible()
[all …]
/external/chromium_org/components/invalidation/
Dsync_system_resources.cc215 scheduler_(scheduler) { in SyncStorage()
217 DCHECK(scheduler_); in SyncStorage()
234 scheduler_->Schedule( in WriteKey()
243 DCHECK(scheduler_->IsRunningOnThread()) << "not running on scheduler thread"; in ReadKey()

123