/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_verificationcompleted_unittest.cpp | 57 getToVerificationCompleted(ActionStatus::success); in TEST_F() 75 getToVerificationCompleted(ActionStatus::success); in TEST_F() 82 getToVerificationCompleted(ActionStatus::failed); in TEST_F() 91 getToVerificationCompleted(ActionStatus::success); in TEST_F() 104 getToVerificationCompleted(ActionStatus::success); in TEST_F() 117 getToVerificationCompleted(ActionStatus::success); in TEST_F() 130 getToVerificationCompleted(ActionStatus::success); in TEST_F() 140 getToVerificationCompleted(ActionStatus::success); in TEST_F() 163 getToVerificationCompleted(ActionStatus::success); in TEST_F() 180 getToVerificationCompleted(ActionStatus::failed); in TEST_F() [all …]
|
H A D | firmware_state_updatecompleted_unittest.cpp | 51 getToUpdateCompleted(ActionStatus::success); in TEST_F() 66 getToUpdateCompleted(ActionStatus::success); in TEST_F() 83 getToUpdateCompleted(ActionStatus::failed); in TEST_F() 102 getToUpdateCompleted(ActionStatus::success); in TEST_F() 112 getToUpdateCompleted(ActionStatus::success); in TEST_F() 122 getToUpdateCompleted(ActionStatus::success); in TEST_F() 140 getToUpdateCompleted(ActionStatus::success); in TEST_F() 150 getToUpdateCompleted(ActionStatus::success); in TEST_F() 161 getToUpdateCompleted(ActionStatus::success); in TEST_F() 170 getToUpdateCompleted(ActionStatus::failed); in TEST_F() [all …]
|
H A D | firmware_skip_unittest.cpp | 27 EXPECT_EQ(ActionStatus::success, skip.status()); in TEST() 29 EXPECT_EQ(ActionStatus::success, skip.status()); in TEST() 35 EXPECT_EQ(ActionStatus::success, skip.status()); in TEST() 37 EXPECT_EQ(ActionStatus::success, skip.status()); in TEST()
|
H A D | firmware_state_verificationstarted_unittest.cpp | 73 .WillOnce(Return(ActionStatus::running)); in TEST_F() 79 static_cast<std::uint8_t>(ActionStatus::running)); in TEST_F() 90 .WillOnce(Return(ActionStatus::unknown)); in TEST_F() 96 static_cast<std::uint8_t>(ActionStatus::unknown)); in TEST_F() 110 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 116 static_cast<std::uint8_t>(ActionStatus::failed)); in TEST_F() 131 .WillOnce(Return(ActionStatus::success)); in TEST_F() 137 static_cast<std::uint8_t>(ActionStatus::success)); in TEST_F()
|
H A D | firmware_state_updatestarted_unittest.cpp | 174 .WillOnce(Return(ActionStatus::running)); in TEST_F() 180 static_cast<std::uint8_t>(ActionStatus::running)); in TEST_F() 192 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 198 static_cast<std::uint8_t>(ActionStatus::failed)); in TEST_F() 210 .WillOnce(Return(ActionStatus::success)); in TEST_F() 216 static_cast<std::uint8_t>(ActionStatus::success)); in TEST_F()
|
H A D | firmware_unittest.hpp | 142 void getToVerificationCompleted(ActionStatus checkResponse) in getToVerificationCompleted() 154 getToVerificationCompleted(ActionStatus::success); in getToUpdatePending() 170 void getToUpdateCompleted(ActionStatus result) in getToUpdateCompleted()
|
H A D | firmware_state_updatepending_unittest.cpp | 192 static_cast<std::uint8_t>(ActionStatus::unknown)); in TEST_F()
|
/openbmc/phosphor-ipmi-flash/bmc/ |
H A D | general_systemd.cpp | 65 currentStatus = ActionStatus::running; in trigger() 72 currentStatus = ActionStatus::failed; in trigger() 102 ActionStatus SystemdNoFile::status() in status() 145 result == "done" ? ActionStatus::success : ActionStatus::failed; in match() 186 ActionStatus SystemdWithStatusFile::status() in status() 189 ActionStatus result = SystemdNoFile::status() == ActionStatus::running in status() 190 ? ActionStatus::running in status() 205 result = ActionStatus::running; in status() 209 result = ActionStatus::success; in status() 213 result = ActionStatus::failed; in status() [all …]
|
H A D | general_systemd.hpp | 34 ActionStatus status() override; 45 ActionStatus currentStatus = ActionStatus::unknown; 78 ActionStatus status() override;
|
H A D | skip_action.cpp | 40 ActionStatus SkipAction::status() in status() 42 return ActionStatus::success; in status()
|
H A D | skip_action.hpp | 28 ActionStatus status() override;
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | helper.cpp | 100 static_cast<ipmi_flash::ActionStatus>(resp.metadata[0]); in pollStatus() 103 case ipmi_flash::ActionStatus::failed: in pollStatus() 105 case ipmi_flash::ActionStatus::unknown: in pollStatus() 106 case ipmi_flash::ActionStatus::running: in pollStatus() 108 case ipmi_flash::ActionStatus::success: in pollStatus()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | firmware_handler.cpp | 151 ActionStatus FirmwareBlobHandler::getActionStatus() in getActionStatus() 153 ActionStatus value = ActionStatus::unknown; in getActionStatus() 159 value = ActionStatus::unknown; in getActionStatus() 175 value = ActionStatus::unknown; in getActionStatus() 218 ActionStatus value = getActionStatus(); in stat() 225 if (value == ActionStatus::success || value == ActionStatus::failed) in stat() 239 if (value == ActionStatus::success) in stat() 676 if (lastVerificationStatus == ActionStatus::success) in close() 705 if (lastUpdateStatus == ActionStatus::failed) in close()
|
H A D | firmware_handler.hpp | 215 ActionStatus getVerifyStatus(); 216 ActionStatus getActionStatus(); 254 ActionStatus lastVerificationStatus = ActionStatus::unknown; 256 ActionStatus lastUpdateStatus = ActionStatus::unknown;
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_read_unittest.cpp | 46 .WillOnce(Return(ActionStatus::success)); in TEST_F() 69 .WillOnce(Return(ActionStatus::success)); in TEST_F() 80 .WillOnce(Return(ActionStatus::success)); in TEST_F() 106 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 117 .WillOnce(Return(ActionStatus::success)); in TEST_F() 130 .WillOnce(Return(ActionStatus::success)); in TEST_F()
|
H A D | version_stat_unittest.cpp | 42 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 59 .WillOnce(Return(ActionStatus::success)); in TEST_P()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_read_unittest.cpp | 60 .WillOnce(Return(ActionStatus::success)); in TEST_F() 83 .WillOnce(Return(ActionStatus::success)); in TEST_F() 94 .WillOnce(Return(ActionStatus::success)); in TEST_F() 120 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 131 .WillOnce(Return(ActionStatus::success)); in TEST_F() 144 .WillOnce(Return(ActionStatus::success)); in TEST_F()
|
H A D | log_stat_unittest.cpp | 56 .WillOnce(Return(ActionStatus::failed)); in TEST_F() 73 .WillOnce(Return(ActionStatus::success)); in TEST_P()
|
/openbmc/phosphor-ipmi-flash/ |
H A D | status.hpp | 10 enum class ActionStatus : std::uint8_t enum 36 virtual ActionStatus status() = 0;
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_helper_unittest.cpp | 29 static_cast<std::uint8_t>(ipmi_flash::ActionStatus::success)); in TEST_F() 42 static_cast<std::uint8_t>(ipmi_flash::ActionStatus::failed)); in TEST_F()
|
H A D | tools_updater_unittest.cpp | 160 static_cast<std::uint8_t>(ipmi_flash::ActionStatus::success)); in TEST_F() 212 static_cast<std::uint8_t>(ipmi_flash::ActionStatus::success)); in TEST_F()
|
/openbmc/phosphor-ipmi-flash/bmc/test/ |
H A D | triggerable_mock.hpp | 20 MOCK_METHOD(ActionStatus, status, (), (override));
|
/openbmc/linux/drivers/message/fusion/lsi/ |
H A D | mpi_raid.h | 144 U16 ActionStatus; /* 0Ch */ member
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/ |
H A D | version_handler.cpp | 30 if (tai.status() != ActionStatus::success) in VersionBlobHandler()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/ |
H A D | log_handler.cpp | 43 if (tai.status() != ActionStatus::success) in LogBlobHandler()
|