/frameworks/ex/common/tests/src/com/android/common/ |
OperationSchedulerTest.java | 46 TimeTravelScheduler scheduler = new TimeTravelScheduler(); local 48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); 49 assertEquals(0, scheduler.getLastSuccessTimeMillis()); 50 assertEquals(0, scheduler.getLastAttemptTimeMillis()); 52 long beforeTrigger = scheduler.timeMillis; 53 scheduler.setTriggerTimeMillis(beforeTrigger + 1000000); 54 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); 57 scheduler.setMoratoriumTimeMillis(beforeTrigger + 500000); 58 assertEquals(beforeTrigger + 1000000, scheduler.getNextTimeMillis(options)); 59 scheduler.setMoratoriumTimeMillis(beforeTrigger + 1500000) 124 TimeTravelScheduler scheduler = new TimeTravelScheduler(); local 185 TimeTravelScheduler scheduler = new TimeTravelScheduler(); local 210 TimeTravelScheduler scheduler = new TimeTravelScheduler(); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
SchedulerTest.java | 11 private Scheduler scheduler; field in class:SchedulerTest 15 scheduler = new Scheduler(); 16 scheduler.pause(); 22 scheduler.postDelayed(new AddToTranscript("one"), 0); 23 scheduler.postDelayed(new AddToTranscript("two"), 0); 24 scheduler.postDelayed(new AddToTranscript("three"), 1000); 26 assertThat(scheduler.advanceBy(0), equalTo(true)); 29 assertThat(scheduler.advanceBy(0), equalTo(false)) [all...] |
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_request_scheduler_unittest.cc | 24 VariationsRequestScheduler scheduler(task); 25 EXPECT_FALSE(scheduler.one_shot_timer_.IsRunning()); 27 scheduler.ScheduleFetchShortly(); 28 EXPECT_TRUE(scheduler.one_shot_timer_.IsRunning());
|
/external/chromium_org/cc/scheduler/ |
scheduler_unittest.cc | 4 #include "cc/scheduler/scheduler.h" 34 void InitializeOutputSurfaceAndFirstCommit(Scheduler* scheduler) { 35 scheduler->DidCreateAndInitializeOutputSurface(); 36 scheduler->SetNeedsCommit(); 37 scheduler->FinishCommit(); 39 scheduler->BeginImplFrame(BeginFrameArgs::CreateForTesting()); 40 scheduler->OnBeginImplFrameDeadline(); 41 // We need another BeginImplFrame so Scheduler call 194 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 209 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 293 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 397 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 507 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 631 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 710 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 747 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 829 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 873 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 919 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 952 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 971 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 1005 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 1101 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 1183 Scheduler* scheduler = client.CreateScheduler(scheduler_settings); local 1246 Scheduler* scheduler = client.CreateScheduler(settings); local [all...] |
/external/chromium_org/chrome/browser/metrics/ |
metrics_reporting_scheduler_unittest.cc | 39 MetricsReportingScheduler scheduler(GetCallback()); 40 scheduler.SetUploadIntervalForTesting(base::TimeDelta()); 41 scheduler.InitTaskComplete(); 42 scheduler.Start(); 50 MetricsReportingScheduler scheduler(GetCallback()); 51 scheduler.SetUploadIntervalForTesting(base::TimeDelta()); 52 scheduler.Start(); 56 scheduler.InitTaskComplete();
|
/external/chromium_org/remoting/host/ |
capture_scheduler_unittest.cc | 22 CaptureScheduler scheduler; local 23 scheduler.SetNumOfProcessorsForTest(1 << i); 24 scheduler.RecordCaptureTime( 26 scheduler.RecordEncodeTime( 29 scheduler.NextCaptureDelay().InMilliseconds()); 44 CaptureScheduler scheduler; local 45 scheduler.SetNumOfProcessorsForTest(1 << i); 46 scheduler.RecordCaptureTime( 48 scheduler.RecordEncodeTime( 52 scheduler.NextCaptureDelay().InMilliseconds()) 66 CaptureScheduler scheduler; local [all...] |
/external/chromium_org/content/browser/loader/ |
resource_scheduler_filter.cc | 23 ResourceScheduler* scheduler = local 24 ResourceDispatcherHostImpl::Get()->scheduler(); 25 // scheduler can be NULL during shutdown, in which case it's ok to ignore the 27 if (!scheduler) 40 scheduler->OnNavigate(child_id_, message.routing_id()); 46 scheduler->OnWillInsertBody(child_id_, message.routing_id());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLooper.java | 7 import com.xtremelabs.robolectric.util.Scheduler; 21 private Scheduler scheduler = new Scheduler(); field in class:ShadowLooper 69 scheduler.reset(); 105 * scheduler's clock; 108 scheduler.advanceBy(0); 113 * run while advancing the scheduler's clock. 118 scheduler.advanceBy(intervalMillis); 122 * Causes all of the {@link Runnable}s that have been scheduled to run while advancing the scheduler's clock to th [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
/developers/samples/android/background/alarms/Scheduler/src/com/example/android/scheduler/ |
SampleBootReceiver.java | 1 package com.example.android.scheduler;
|
MainActivity.java | 17 package com.example.android.scheduler;
|
/external/chromium_org/components/policy/core/common/cloud/ |
cloud_policy_refresh_scheduler_unittest.cc | 57 CloudPolicyRefreshScheduler* scheduler = local 59 scheduler->SetRefreshDelay(kPolicyRefreshRate); 65 return scheduler; 149 // Base time for the refresh that the scheduler should be using. 155 scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); 164 scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); 171 scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); 183 scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); 191 scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); 195 scheduler->SetRefreshDelay(12 * 60 * 60 * 1000) [all...] |
/external/chromium/chrome/browser/sync/glue/ |
ui_model_worker.h | 42 UIModelWorker* scheduler) 43 : work_(work), work_done_(work_done), scheduler_(scheduler) {
|
/external/chromium_org/sync/engine/ |
sync_scheduler_unittest.cc | 154 SyncSchedulerImpl* scheduler() { return scheduler_.get(); } function in class:syncer::SyncSchedulerTest 186 scheduler()->Start(mode); 189 // This stops the scheduler synchronously. 202 scheduler()->ScheduleLocalNudge(zero(), nudge_types, FROM_HERE); 205 return scheduler()->IsBackingOff(); 259 ACTION_P(StopScheduler, scheduler) { 260 scheduler->Stop(); 286 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); 298 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); 322 scheduler()->ScheduleConfiguration(params) [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
richards.js | 48 var scheduler = new Scheduler(); 49 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 53 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 63 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 65 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 67 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 69 scheduler.schedule(); 71 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-richards.js | 43 var scheduler = new Scheduler(); 44 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 48 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 53 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 60 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 62 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 64 scheduler.schedule(); 66 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-richards.js | 43 var scheduler = new Scheduler(); 44 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 48 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 53 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 60 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 62 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 64 scheduler.schedule(); 66 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-richards.js | 43 var scheduler = new Scheduler(); 44 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 48 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 53 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 60 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 62 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 64 scheduler.schedule(); 66 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/chromium_org/v8/benchmarks/ |
richards.js | 48 var scheduler = new Scheduler(); 49 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 53 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 63 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 65 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 67 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 69 scheduler.schedule(); 71 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/v8/benchmarks/ |
richards.js | 48 var scheduler = new Scheduler(); 49 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 53 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 58 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 63 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 65 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 67 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 69 scheduler.schedule(); 71 if (scheduler.queueCount != EXPECTED_QUEUE_COUNT | [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
search_operation.h | 40 JobScheduler* scheduler,
|
/external/chromium_org/chrome/browser/chromeos/drive/sync/ |
entry_revert_performer.h | 43 JobScheduler* scheduler,
|
entry_update_performer.cc | 77 JobScheduler* scheduler, 80 scheduler_(scheduler), 84 scheduler, 88 scheduler,
|
entry_update_performer.h | 43 JobScheduler* scheduler,
|
/external/valgrind/main/coregrind/ |
pub_core_scheduler.h | 3 /*--- The scheduler. pub_core_scheduler.h ---*/ 35 // PURPOSE: This module is the scheduler, which is the main loop 88 // The scheduler. 89 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid ); 102 // or to force a poll at next scheduler call. 112 /* Sanity checks which may be done at any time. The scheduler decides when. */
|