/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_updatepending_unittest.cpp | 74 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 D | firmware_unittest.hpp | 66 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 D | firmware_handler_unittest.cpp | 25 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 D | firmware_multiplebundle_unittest.cpp | 92 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 D | firmware_state_verificationpending_unittest.cpp | 83 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 D | firmware_state_notyetstarted_tarball_unittest.cpp | 54 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 D | firmware_state_updatestarted_unittest.cpp | 163 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 D | firmware_state_updatecompleted_unittest.cpp | 77 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 D | firmware_state_notyetstarted_unittest.cpp | 97 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 D | firmware_state_verificationcompleted_unittest.cpp | 174 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 D | firmware_state_verificationstarted_unittest.cpp | 120 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 D | firmware_commit_unittest.cpp | 48 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_F() 68 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_F()
|
H A D | firmware_state_uploadinprogress_unittest.cpp | 179 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 D | firmware_stat_unittest.cpp | 35 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
|
H A D | firmware_canhandle_unittest.cpp | 35 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST()
|
H A D | firmware_open_unittest.cpp | 32 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in TEST_P()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | firmware_handler.cpp | 39 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 D | firmware_handler.hpp | 76 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 D | main.cpp | 131 auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler( in createHandler()
|