/external/chromium_org/chrome/browser/chromeos/imageburner/ |
D | burn_manager_unittest.cc | 135 class MockStateMachineObserver : public StateMachine::Observer { 137 MOCK_METHOD1(OnBurnStateChanged, void(StateMachine::State)); 142 scoped_ptr<StateMachine> state_machine(new StateMachine()); in TEST() 143 EXPECT_EQ(StateMachine::INITIAL, state_machine->state()); in TEST() 147 EXPECT_CALL(observer, OnBurnStateChanged(StateMachine::DOWNLOADING)) in TEST() 151 EXPECT_CALL(observer, OnBurnStateChanged(StateMachine::BURNING)) in TEST() 155 EXPECT_CALL(observer, OnBurnStateChanged(StateMachine::INITIAL)) in TEST() 165 EXPECT_EQ(StateMachine::DOWNLOADING, state_machine->state()); in TEST() 180 EXPECT_EQ(StateMachine::BURNING, state_machine->state()); in TEST() 187 EXPECT_EQ(StateMachine::INITIAL, state_machine->state()); in TEST() [all …]
|
D | burn_manager.cc | 178 StateMachine::StateMachine() in StateMachine() function in chromeos::imageburner::StateMachine 184 StateMachine::~StateMachine() { in ~StateMachine() 187 void StateMachine::OnError(int error_message_id) { in OnError() 197 void StateMachine::OnSuccess() { in OnSuccess() 222 state_machine_(new StateMachine()), in BurnManager() 296 if (state_machine_->state() == StateMachine::INITIAL) { in OnError() 301 StateMachine::State state = state_machine_->state(); in OnError() 313 if (state == StateMachine::DOWNLOADING) { in OnError() 315 } else if (state == StateMachine::BURNING) { in OnError() 402 if (state_machine_->state() == StateMachine::BURNING) in DoBurn() [all …]
|
D | burn_controller.cc | 25 public StateMachine::Observer, 86 virtual void OnBurnStateChanged(StateMachine::State state) OVERRIDE { in OnBurnStateChanged() 87 if (state != StateMachine::INITIAL && !working_) { in OnBurnStateChanged() 100 if (state_machine_->state() == StateMachine::BURNING) { in Init() 103 } else if (state_machine_->state() != StateMachine::INITIAL) { in Init() 165 StateMachine* state_machine_;
|
D | burn_manager.h | 133 class StateMachine { 149 StateMachine(); 150 ~StateMachine(); 192 DISALLOW_COPY_AND_ASSIGN(StateMachine); 346 StateMachine* state_machine() const { return state_machine_.get(); } in state_machine() 390 scoped_ptr<StateMachine> state_machine_;
|
/external/chromium_org/cc/scheduler/ |
D | scheduler_state_machine_unittest.cc | 48 class StateMachine : public SchedulerStateMachine { class 50 explicit StateMachine(const SchedulerSettings& scheduler_settings) in StateMachine() function in cc::__anon315714980111::StateMachine 110 StateMachine state(default_scheduler_settings); in TEST() 131 StateMachine state(default_scheduler_settings); in TEST() 148 StateMachine state(default_scheduler_settings); in TEST() 166 StateMachine state(default_scheduler_settings); in TEST() 183 StateMachine state(scheduler_settings); in TEST() 268 StateMachine state(scheduler_settings); in TEST() 330 StateMachine state(default_scheduler_settings); in TEST() 366 StateMachine state(default_scheduler_settings); in TEST() [all …]
|
/external/chromium_org/tools/telemetry/unittest_data/ |
D | batterystats_v7.csv | 241 7,10007,t,wl,Wakeful StateMachine: GeofencerStateMachine,0,f,0,0,p,0,0,w,0 409 7,10007,c,wl,Wakeful StateMachine: GeofencerStateMachine,0,f,0,0,p,0,0,w,0
|
D | batterystats_v7_no_data.csv | 759 7,10007,t,wl,Wakeful StateMachine: GeofencerStateMachine,0,f,0,13,p,9,0,w,0 1357 7,10007,u,wl,Wakeful StateMachine: GeofencerStateMachine,0,f,0,13,p,9,0,w,0
|