Home
last modified time | relevance | path

Searched refs:FirmwareBlobHandler (Results 1 – 19 of 19) sorted by relevance

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_state_updatepending_unittest.cpp74 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
105 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
186 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
196 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
210 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
215 expectedState(FirmwareBlobHandler::UpdateState::updateStarted); in TEST_F()
223 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
228 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
248 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
262 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
[all …]
H A Dfirmware_unittest.hpp66 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in SetUp()
70 void expectedState(FirmwareBlobHandler::UpdateState state) in expectedState()
72 auto realHandler = dynamic_cast<FirmwareBlobHandler*>(handler.get()); in expectedState()
94 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in openToInProgress()
110 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in getToVerificationPending()
121 expectedState(FirmwareBlobHandler::UpdateState::verificationStarted); in getToVerificationStarted()
157 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in getToUpdatePending()
167 expectedState(FirmwareBlobHandler::UpdateState::updateStarted); in getToUpdateStarted()
177 expectedState(FirmwareBlobHandler::UpdateState::updateCompleted); in getToUpdateCompleted()
220 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in SetUp()
[all …]
H A Dfirmware_handler_unittest.cpp25 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
37 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
56 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
74 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
86 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
102 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
113 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
H A Dfirmware_multiplebundle_unittest.cpp92 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in SetUp()
96 void expectedState(FirmwareBlobHandler::UpdateState state) in expectedState()
98 auto realHandler = dynamic_cast<FirmwareBlobHandler*>(handler.get()); in expectedState()
126 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
131 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
144 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
149 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
156 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
H A Dfirmware_state_verificationpending_unittest.cpp83 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
98 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
113 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
128 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
146 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
246 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
270 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
273 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
287 expectedState(FirmwareBlobHandler::UpdateState::verificationStarted); in TEST_F()
H A Dfirmware_state_notyetstarted_tarball_unittest.cpp54 handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in SetUp()
58 void expectedState(FirmwareBlobHandler::UpdateState state) in expectedState()
60 auto realHandler = dynamic_cast<FirmwareBlobHandler*>(handler.get()); in expectedState()
77 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in openToInProgress()
94 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_state_updatestarted_unittest.cpp163 expectedState(FirmwareBlobHandler::UpdateState::updateStarted); in TEST_F()
184 expectedState(FirmwareBlobHandler::UpdateState::updateStarted); in TEST_F()
202 expectedState(FirmwareBlobHandler::UpdateState::updateCompleted); in TEST_F()
220 expectedState(FirmwareBlobHandler::UpdateState::updateCompleted); in TEST_F()
236 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
253 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_state_updatecompleted_unittest.cpp77 expectedState(FirmwareBlobHandler::UpdateState::updateCompleted); in TEST_F()
94 expectedState(FirmwareBlobHandler::UpdateState::updateCompleted); in TEST_F()
212 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
224 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
259 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_state_notyetstarted_unittest.cpp97 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
113 expectedState(FirmwareBlobHandler::UpdateState::uploadInProgress); in TEST_F()
128 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_state_verificationcompleted_unittest.cpp174 expectedState(FirmwareBlobHandler::UpdateState::verificationCompleted); in TEST_F()
191 expectedState(FirmwareBlobHandler::UpdateState::verificationCompleted); in TEST_F()
290 expectedState(FirmwareBlobHandler::UpdateState::updatePending); in TEST_F()
304 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
318 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_state_verificationstarted_unittest.cpp120 expectedState(FirmwareBlobHandler::UpdateState::verificationCompleted); in TEST_F()
141 expectedState(FirmwareBlobHandler::UpdateState::verificationCompleted); in TEST_F()
266 expectedState(FirmwareBlobHandler::UpdateState::verificationStarted); in TEST_F()
284 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
301 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_commit_unittest.cpp48 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_F()
68 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_F()
H A Dfirmware_state_uploadinprogress_unittest.cpp179 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
191 expectedState(FirmwareBlobHandler::UpdateState::verificationPending); in TEST_F()
292 expectedState(FirmwareBlobHandler::UpdateState::notYetStarted); in TEST_F()
H A Dfirmware_stat_unittest.cpp35 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
H A Dfirmware_canhandle_unittest.cpp35 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
H A Dfirmware_open_unittest.cpp32 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_P()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dfirmware_handler.cpp39 FirmwareBlobHandler::CreateFirmwareBlobHandler( in CreateFirmwareBlobHandler()
70 return std::make_unique<FirmwareBlobHandler>( in CreateFirmwareBlobHandler()
98 bool FirmwareBlobHandler::deleteBlob(const std::string&) in deleteBlob()
151 ActionStatus FirmwareBlobHandler::getActionStatus() in getActionStatus()
642 bool FirmwareBlobHandler::close(uint16_t session) in close()
756 bool FirmwareBlobHandler::expire(uint16_t) in expire()
771 void FirmwareBlobHandler::abortProcess() in abortProcess()
798 void FirmwareBlobHandler::abortVerification() in abortVerification()
807 bool FirmwareBlobHandler::triggerVerification() in triggerVerification()
824 void FirmwareBlobHandler::abortUpdate() in abortUpdate()
[all …]
H A Dfirmware_handler.hpp76 class FirmwareBlobHandler : public blobs::GenericBlobInterface class
122 FirmwareBlobHandler(std::vector<HandlerPack>&& firmwares, in FirmwareBlobHandler() function in ipmi_flash::FirmwareBlobHandler
132 ~FirmwareBlobHandler() = default;
133 FirmwareBlobHandler(const FirmwareBlobHandler&) = delete;
134 FirmwareBlobHandler& operator=(const FirmwareBlobHandler&) = delete;
135 FirmwareBlobHandler(FirmwareBlobHandler&&) = default;
136 FirmwareBlobHandler& operator=(FirmwareBlobHandler&&) = default;
H A Dmain.cpp131 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in createHandler()