/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_verificationpending_unittest.cpp | 61 EXPECT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 92 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 93 EXPECT_TRUE(handler->deleteBlob(activeImageBlobId)); in TEST_F() 155 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 158 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 222 EXPECT_FALSE(handler->open(session, flags, activeImageBlobId)); in TEST_F() 235 verifyBlobId, activeImageBlobId}; in TEST_F()
|
H A D | firmware_state_updatepending_unittest.cpp | 56 UnorderedElementsAreArray({updateBlobId, activeImageBlobId, in TEST_F() 146 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 149 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 257 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 258 EXPECT_TRUE(handler->deleteBlob(activeImageBlobId)); in TEST_F()
|
H A D | firmware_state_uploadinprogress_unittest.cpp | 53 {staticLayoutBlobId, hashBlobId, activeImageBlobId})); in TEST_F() 75 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 78 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 139 activeHashBlobId, activeImageBlobId, hashBlobId, staticLayoutBlobId};
|
H A D | firmware_state_updatestarted_unittest.cpp | 68 {updateBlobId, hashBlobId, activeImageBlobId, staticLayoutBlobId})); in TEST_F() 95 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 98 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
|
H A D | firmware_state_updatecompleted_unittest.cpp | 104 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 107 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F() 197 {updateBlobId, hashBlobId, activeImageBlobId, staticLayoutBlobId})); in TEST_F()
|
H A D | firmware_state_verificationstarted_unittest.cpp | 56 {activeImageBlobId, staticLayoutBlobId, hashBlobId, in TEST_F() 167 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 170 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
|
H A D | firmware_state_verificationcompleted_unittest.cpp | 95 {verifyBlobId, hashBlobId, activeImageBlobId, staticLayoutBlobId})); in TEST_F() 105 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 108 EXPECT_FALSE(handler->stat(activeImageBlobId, &meta)); in TEST_F()
|
H A D | firmware_state_notyetstarted_unittest.cpp | 99 EXPECT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F()
|
H A D | firmware_state_notyetstarted_tarball_unittest.cpp | 102 {hashBlobId, ubiTarballBlobId, activeImageBlobId})); in TEST_F()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | firmware_handler.cpp | 131 if (path == verifyBlobId || path == activeImageBlobId || in stat() 308 if (path == activeImageBlobId || path == activeHashBlobId) in open() 479 active = activeImageBlobId; in open() 659 if (std::count(blobIDs.begin(), blobIDs.end(), activeImageBlobId)) in close() 778 removeBlobId(activeImageBlobId); in abortProcess()
|
H A D | firmware_handler.hpp | 127 transports(std::move(transports)), activeImage(activeImageBlobId), in FirmwareBlobHandler()
|
/openbmc/phosphor-ipmi-flash/ |
H A D | util.hpp | 11 inline constexpr char activeImageBlobId[] = "/flash/active/image"; variable
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_updater_unittest.cpp | 397 EXPECT_CALL(blobMock, deleteBlob(ipmi_flash::activeImageBlobId)) in TEST_F() 401 {ipmi_flash::staticLayoutBlobId, ipmi_flash::activeImageBlobId}))); in TEST_F()
|