/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 | 5 #include "cc/scheduler/scheduler.h" 46 Scheduler* CreateScheduler(const SchedulerSettings& settings) { 47 scheduler_ = Scheduler::Create(this, settings); 71 // Scheduler Implementation. 135 scoped_ptr<Scheduler> scheduler_; 141 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 142 scheduler->SetCanStart(); 143 scheduler->SetVisible(true) 155 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 189 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 232 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 296 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 360 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 423 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 449 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 515 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 543 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 585 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local 613 Scheduler* scheduler = client.CreateScheduler(default_scheduler_settings); local [all...] |
/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/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 | |
/external/chromium_org/content/browser/loader/ |
resource_scheduler_filter.cc | 33 ResourceDispatcherHostImpl::Get()->scheduler()->OnNavigate( 40 ResourceDispatcherHostImpl::Get()->scheduler()->OnWillInsertBody(
|
/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/chrome/browser/policy/cloud/ |
cloud_policy_refresh_scheduler_unittest.cc | 59 CloudPolicyRefreshScheduler* scheduler = local 61 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_org/sync/engine/ |
sync_scheduler_unittest.cc | 145 SyncSchedulerImpl* scheduler() { return scheduler_.get(); } function in class:syncer::SyncSchedulerTest 177 scheduler()->Start(mode); 180 // This stops the scheduler synchronously. 193 scheduler()->ScheduleLocalNudge(zero(), nudge_types, FROM_HERE); 196 return scheduler()->IsBackingOff(); 272 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); 284 scheduler()->ScheduleLocalNudge(zero(), model_types, FROM_HERE); 306 ASSERT_TRUE(scheduler()->ScheduleConfiguration(params)); 330 ASSERT_FALSE(scheduler()->ScheduleConfiguration(params)); 364 ASSERT_FALSE(scheduler()->ScheduleConfiguration(params)) [all...] |
/external/chromium/chrome/browser/sync/glue/ |
ui_model_worker.h | 42 UIModelWorker* scheduler) 43 : work_(work), work_done_(work_done), scheduler_(scheduler) {
|
/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/tools/gn/ |
setup.h | 14 #include "tools/gn/scheduler.h" 42 Scheduler& scheduler() { return scheduler_; } function in class:Setup 54 Scheduler scheduler_;
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
remove_operation.h | 41 JobScheduler* scheduler,
|
search_operation.h | 42 JobScheduler* scheduler,
|
search_operation_unittest.cc | 29 SearchOperation operation(blocking_task_runner(), scheduler(), metadata()); 60 SearchOperation operation(blocking_task_runner(), scheduler(), metadata()); 102 blocking_task_runner(), metadata(), scheduler()); 130 SearchOperation operation(blocking_task_runner(), scheduler(), metadata());
|
touch_operation_unittest.cc | 24 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. */
|