Home
last modified time | relevance | path

Searched refs:UpdateBootFlagsAction (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/
Dupdate_boot_flags_action_unittest.cc35 auto action = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F()
39 EXPECT_FALSE(UpdateBootFlagsAction::updated_boot_flags_); in TEST_F()
40 EXPECT_FALSE(UpdateBootFlagsAction::is_running_); in TEST_F()
42 EXPECT_TRUE(UpdateBootFlagsAction::updated_boot_flags_); in TEST_F()
43 EXPECT_FALSE(UpdateBootFlagsAction::is_running_); in TEST_F()
48 UpdateBootFlagsAction::updated_boot_flags_ = false; in TEST_F()
49 UpdateBootFlagsAction::is_running_ = false; in TEST_F()
51 auto action1 = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F()
52 auto action2 = std::make_unique<UpdateBootFlagsAction>(&boot_control_); in TEST_F()
57 EXPECT_FALSE(UpdateBootFlagsAction::updated_boot_flags_); in TEST_F()
[all …]
Dupdate_boot_flags_action.cc26 bool UpdateBootFlagsAction::updated_boot_flags_ = false;
27 bool UpdateBootFlagsAction::is_running_ = false;
29 void UpdateBootFlagsAction::PerformAction() { in PerformAction()
47 base::Bind(&UpdateBootFlagsAction::CompleteUpdateBootFlags, in PerformAction()
53 void UpdateBootFlagsAction::TerminateProcessing() { in TerminateProcessing()
57 void UpdateBootFlagsAction::CompleteUpdateBootFlags(bool successful) { in CompleteUpdateBootFlags()
Dupdate_boot_flags_action.h26 class UpdateBootFlagsAction : public AbstractAction {
28 explicit UpdateBootFlagsAction(BootControlInterface* boot_control) in UpdateBootFlagsAction() function
58 DISALLOW_COPY_AND_ASSIGN(UpdateBootFlagsAction);
/system/update_engine/aosp/
Dupdate_attempter_android.cc767 if (type == UpdateBootFlagsAction::StaticType()) { in ActionCompleted()
898 std::make_unique<UpdateBootFlagsAction>(boot_control_); in BuildUpdateActions()