Home
last modified time | relevance | path

Searched refs:updateBlobId (Results 1 – 12 of 12) sorted by relevance

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_state_updatepending_unittest.cpp56 UnorderedElementsAreArray({updateBlobId, activeImageBlobId, in TEST_F()
73 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in TEST_F()
84 if (blob == updateBlobId) in TEST_F()
101 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in TEST_F()
106 EXPECT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F()
116 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in TEST_F()
127 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in TEST_F()
155 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F()
158 EXPECT_FALSE(handler->stat(updateBlobId, &meta)); in TEST_F()
185 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in TEST_F()
[all …]
H A Dfirmware_state_verificationcompleted_unittest.cpp76 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
83 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
286 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
289 EXPECT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F()
300 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
303 ASSERT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
H A Dfirmware_state_updatestarted_unittest.cpp68 {updateBlobId, hashBlobId, activeImageBlobId, staticLayoutBlobId})); in TEST_F()
105 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F()
108 EXPECT_FALSE(handler->stat(updateBlobId, &meta)); in TEST_F()
H A Dfirmware_state_updatecompleted_unittest.cpp114 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F()
117 EXPECT_FALSE(handler->stat(updateBlobId, &meta)); in TEST_F()
197 {updateBlobId, hashBlobId, activeImageBlobId, staticLayoutBlobId})); in TEST_F()
H A Dfirmware_state_verificationpending_unittest.cpp62 EXPECT_FALSE(handler->canHandleBlob(updateBlobId)); in TEST_F()
H A Dfirmware_unittest.hpp163 EXPECT_TRUE(handler->open(session, flags, updateBlobId)); in getToUpdateStarted()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dfirmware_handler.cpp132 path == activeHashBlobId || path == updateBlobId) in stat()
216 item->second->activePath == updateBlobId) in stat()
364 if (path == updateBlobId) in open()
521 item->second->activePath == updateBlobId) in write()
600 item->second->activePath != updateBlobId) in commit()
679 addBlobId(updateBlobId); in close()
777 removeBlobId(updateBlobId); in abortProcess()
H A Dfirmware_handler.hpp129 updateImage(updateBlobId), lookup(), state(UpdateState::notYetStarted), in FirmwareBlobHandler()
/openbmc/phosphor-ipmi-flash/
H A Dutil.hpp8 inline constexpr char updateBlobId[] = "/flash/update"; variable
H A Dipmi_flash.md110 the `verifyBlobId` or the `updateBlobId`.
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dtools_updater_unittest.cpp376 EXPECT_CALL(handler, verifyFile(ipmi_flash::updateBlobId, defaultIgnore)) in TEST_F()
394 EXPECT_CALL(handler, verifyFile(ipmi_flash::updateBlobId, defaultIgnore)) in TEST_F()
417 EXPECT_CALL(handler, verifyFile(ipmi_flash::updateBlobId, updateIgnore)) in TEST_F()
454 EXPECT_CALL(handler, verifyFile(ipmi_flash::updateBlobId, defaultIgnore)) in TEST_F()
/openbmc/phosphor-ipmi-flash/tools/
H A Dupdater.cpp96 if (updater->verifyFile(ipmi_flash::updateBlobId, ignoreUpdate)) in updaterMain()