Home
last modified time | relevance | path

Searched refs:ActionStatus (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_state_verificationcompleted_unittest.cpp57 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 Dfirmware_state_updatecompleted_unittest.cpp51 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 Dfirmware_skip_unittest.cpp27 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 Dfirmware_state_verificationstarted_unittest.cpp73 .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 Dfirmware_state_updatestarted_unittest.cpp174 .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 Dfirmware_unittest.hpp142 void getToVerificationCompleted(ActionStatus checkResponse) in getToVerificationCompleted()
154 getToVerificationCompleted(ActionStatus::success); in getToUpdatePending()
170 void getToUpdateCompleted(ActionStatus result) in getToUpdateCompleted()
H A Dfirmware_state_updatepending_unittest.cpp192 static_cast<std::uint8_t>(ActionStatus::unknown)); in TEST_F()
/openbmc/phosphor-ipmi-flash/bmc/
H A Dgeneral_systemd.cpp65 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 Dgeneral_systemd.hpp34 ActionStatus status() override;
45 ActionStatus currentStatus = ActionStatus::unknown;
78 ActionStatus status() override;
H A Dskip_action.cpp40 ActionStatus SkipAction::status() in status()
42 return ActionStatus::success; in status()
H A Dskip_action.hpp28 ActionStatus status() override;
/openbmc/phosphor-ipmi-flash/tools/
H A Dhelper.cpp100 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 Dfirmware_handler.cpp151 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 Dfirmware_handler.hpp215 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 Dversion_read_unittest.cpp46 .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 Dversion_stat_unittest.cpp42 .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 Dlog_read_unittest.cpp60 .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 Dlog_stat_unittest.cpp56 .WillOnce(Return(ActionStatus::failed)); in TEST_F()
73 .WillOnce(Return(ActionStatus::success)); in TEST_P()
/openbmc/phosphor-ipmi-flash/
H A Dstatus.hpp10 enum class ActionStatus : std::uint8_t enum
36 virtual ActionStatus status() = 0;
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dtools_helper_unittest.cpp29 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 Dtools_updater_unittest.cpp160 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 Dtriggerable_mock.hpp20 MOCK_METHOD(ActionStatus, status, (), (override));
/openbmc/linux/drivers/message/fusion/lsi/
H A Dmpi_raid.h144 U16 ActionStatus; /* 0Ch */ member
/openbmc/phosphor-ipmi-flash/bmc/version-handler/
H A Dversion_handler.cpp30 if (tai.status() != ActionStatus::success) in VersionBlobHandler()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/
H A Dlog_handler.cpp43 if (tai.status() != ActionStatus::success) in LogBlobHandler()

12