/frameworks/base/docs/downloads/training/ |
Scheduler.zip | |
/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...] |
/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/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...] |
scheduler.cc | 5 #include "cc/scheduler/scheduler.h" 17 Scheduler::Scheduler(SchedulerClient* client, 32 Scheduler::~Scheduler() {} 34 void Scheduler::SetCanStart() { 39 void Scheduler::SetVisible(bool visible) { 44 void Scheduler::SetCanDraw(bool can_draw) { 49 void Scheduler::NotifyReadyToActivate() [all...] |
scheduler.h | 16 #include "cc/scheduler/scheduler_settings.h" 17 #include "cc/scheduler/scheduler_state_machine.h" 59 class CC_EXPORT Scheduler { 61 static scoped_ptr<Scheduler> Create( 66 new Scheduler(client, scheduler_settings, layer_tree_host_id)); 69 virtual ~Scheduler(); 131 Scheduler(SchedulerClient* client, 154 base::RepeatingTimer<Scheduler> advance_commit_state_timer_; 160 base::WeakPtrFactory<Scheduler> weak_factory_; 162 DISALLOW_COPY_AND_ASSIGN(Scheduler); [all...] |
scheduler_settings.cc | 5 #include "cc/scheduler/scheduler_settings.h"
|
/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/tools/gn/ |
scheduler.cc | 5 #include "tools/gn/scheduler.h" 12 Scheduler* g_scheduler = NULL; 28 Scheduler::Scheduler() 38 Scheduler::~Scheduler() { 44 bool Scheduler::Run() { 58 void Scheduler::Log(const std::string& verb, const std::string& msg) { 65 base::Bind(&Scheduler::LogOnMainThread, 70 void Scheduler::FailWithError(const Err& err) [all...] |
scheduler.h | 20 class Scheduler { 22 Scheduler(); 23 ~Scheduler(); 83 // to clean up after tests that make a scheduler but don't run the message 90 DISALLOW_COPY_AND_ASSIGN(Scheduler); 93 extern Scheduler* g_scheduler;
|
/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/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/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...] |
/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/Dromaeo/resources/dromaeo/web/tests/ |
v8-richards.html | 54 var scheduler = new Scheduler(); 55 scheduler.addIdleTask(ID_IDLE, 0, null, COUNT); 59 scheduler.addWorkerTask(ID_WORKER, 1000, queue); 64 scheduler.addHandlerTask(ID_HANDLER_A, 2000, queue); 69 scheduler.addHandlerTask(ID_HANDLER_B, 3000, queue); 71 scheduler.addDeviceTask(ID_DEVICE_A, 4000, null); 73 scheduler.addDeviceTask(ID_DEVICE_B, 5000, null); 75 scheduler.schedule(); 77 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/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/clang/test/CodeGenCXX/ |
destructor-exception-spec.cpp | 11 SchedulePostRATDList 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...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SimpleScheduler.java | 21 import android.filterfw.core.Scheduler; 26 public class SimpleScheduler extends Scheduler {
|