Searched refs:Stage (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/update_manager/ |
D | boxed_value_unittest.cc | 205 BoxedValue(new Stage(Stage::kIdle)).ToString()); in TEST() 207 BoxedValue(new Stage(Stage::kCheckingForUpdate)).ToString()); in TEST() 209 BoxedValue(new Stage(Stage::kUpdateAvailable)).ToString()); in TEST() 211 BoxedValue(new Stage(Stage::kDownloading)).ToString()); in TEST() 213 BoxedValue(new Stage(Stage::kVerifying)).ToString()); in TEST() 215 BoxedValue(new Stage(Stage::kFinalizing)).ToString()); in TEST() 217 BoxedValue(new Stage(Stage::kUpdatedNeedReboot)).ToString()); in TEST() 219 BoxedValue(new Stage(Stage::kReportingErrorEvent)).ToString()); in TEST() 221 BoxedValue(new Stage(Stage::kAttemptingRollback)).ToString()); in TEST()
|
D | boxed_value.cc | 152 string BoxedValue::ValuePrinter<Stage>(const void* value) { in ValuePrinter() 153 const Stage* val = reinterpret_cast<const Stage*>(value); in ValuePrinter() 155 case Stage::kIdle: in ValuePrinter() 157 case Stage::kCheckingForUpdate: in ValuePrinter() 159 case Stage::kUpdateAvailable: in ValuePrinter() 161 case Stage::kDownloading: in ValuePrinter() 163 case Stage::kVerifying: in ValuePrinter() 165 case Stage::kFinalizing: in ValuePrinter() 167 case Stage::kUpdatedNeedReboot: in ValuePrinter() 169 case Stage::kReportingErrorEvent: in ValuePrinter() [all …]
|
D | real_updater_provider.cc | 132 class StageVariable : public UpdaterVariableBase<Stage> { 135 : UpdaterVariableBase<Stage>(name, kVariableModePoll, system_state) {} in StageVariable() 140 Stage stage; 145 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override; 151 {update_engine::kUpdateStatusIdle, Stage::kIdle}, 152 {update_engine::kUpdateStatusCheckingForUpdate, Stage::kCheckingForUpdate}, 153 {update_engine::kUpdateStatusUpdateAvailable, Stage::kUpdateAvailable}, 154 {update_engine::kUpdateStatusDownloading, Stage::kDownloading}, 155 {update_engine::kUpdateStatusVerifying, Stage::kVerifying}, 156 {update_engine::kUpdateStatusFinalizing, Stage::kFinalizing}, [all …]
|
D | updater_provider.h | 29 enum class Stage { enum 75 virtual Variable<Stage>* var_stage() = 0;
|
D | real_updater_provider_unittest.cc | 180 UmTestUtils::ExpectVariableHasValue(Stage::kIdle, provider_->var_stage()); in TEST_F() 189 UmTestUtils::ExpectVariableHasValue(Stage::kCheckingForUpdate, in TEST_F() 199 UmTestUtils::ExpectVariableHasValue(Stage::kUpdateAvailable, in TEST_F() 208 UmTestUtils::ExpectVariableHasValue(Stage::kDownloading, in TEST_F() 217 UmTestUtils::ExpectVariableHasValue(Stage::kVerifying, in TEST_F() 226 UmTestUtils::ExpectVariableHasValue(Stage::kFinalizing, in TEST_F() 236 UmTestUtils::ExpectVariableHasValue(Stage::kUpdatedNeedReboot, in TEST_F() 246 UmTestUtils::ExpectVariableHasValue(Stage::kReportingErrorEvent, in TEST_F() 256 UmTestUtils::ExpectVariableHasValue(Stage::kAttemptingRollback, in TEST_F()
|
D | fake_updater_provider.h | 48 FakeVariable<Stage>* var_stage() override { in var_stage() 99 FakeVariable<Stage> var_stage_{ // NOLINT(whitespace/braces)
|
D | real_updater_provider.h | 59 Variable<Stage>* var_stage() override { in var_stage() 108 std::unique_ptr<Variable<Stage>> var_stage_;
|