/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...] |
/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...] |
scheduler.cc | 5 #include "cc/scheduler/scheduler.h" 13 Scheduler::Scheduler(SchedulerClient* client, 27 Scheduler::~Scheduler() { 31 void Scheduler::SetCanStart() { 36 void Scheduler::SetVisible(bool visible) { 41 void Scheduler::SetCanDraw(bool can_draw) { 46 void Scheduler::SetHasPendingTree(bool has_pending_tree) [all...] |
scheduler.h | 15 #include "cc/scheduler/scheduler_settings.h" 16 #include "cc/scheduler/scheduler_state_machine.h" 56 class CC_EXPORT Scheduler { 58 static scoped_ptr<Scheduler> Create( 61 return make_scoped_ptr(new Scheduler(client, scheduler_settings)); 64 virtual ~Scheduler(); 112 Scheduler(SchedulerClient* client, 123 base::WeakPtrFactory<Scheduler> weak_factory_; 135 DISALLOW_COPY_AND_ASSIGN(Scheduler);
|
scheduler_settings.cc | 5 #include "cc/scheduler/scheduler_settings.h"
|
/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/tools/gn/ |
scheduler.cc | 5 #include "tools/gn/scheduler.h" 11 Scheduler* g_scheduler = NULL; 13 Scheduler::Scheduler() 22 Scheduler::~Scheduler() { 26 bool Scheduler::Run() { 32 void Scheduler::Log(const std::string& verb, const std::string& msg) { 39 base::Bind(&Scheduler::LogOnMainThread, 44 void Scheduler::FailWithError(const Err& err) [all...] |
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/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/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...] |
/cts/suite/pts/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/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_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...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SimpleScheduler.java | 21 import android.filterfw.core.Scheduler; 26 public class SimpleScheduler extends Scheduler {
|
Scheduler.java | 26 public abstract class Scheduler { 27 // All methods are core internal methods as Scheduler internals are only used by the GraphRunner. 31 Scheduler(FilterGraph graph) {
|