Home
last modified time | relevance | path

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

/openbmc/phosphor-ipmi-flash/bmc/version-handler/
H A Dversion_handler.hpp22 class VersionBlobHandler : public blobs::GenericBlobInterface class
36 VersionBlobHandler(std::vector<HandlerConfig<ActionPack>>&& configs);
38 ~VersionBlobHandler() = default;
39 VersionBlobHandler(const VersionBlobHandler&) = delete;
40 VersionBlobHandler& operator=(const VersionBlobHandler&) = delete;
41 VersionBlobHandler(VersionBlobHandler&&) = default;
42 VersionBlobHandler& operator=(VersionBlobHandler&&) = default;
H A Dversion_handler.cpp15 VersionBlobHandler::VersionBlobHandler( in VersionBlobHandler() function in ipmi_flash::VersionBlobHandler
67 bool VersionBlobHandler::canHandleBlob(const std::string& path) in canHandleBlob()
72 std::vector<std::string> VersionBlobHandler::getBlobIds() in getBlobIds()
85 bool VersionBlobHandler::deleteBlob(const std::string&) in deleteBlob()
90 bool VersionBlobHandler::stat(const std::string&, blobs::BlobMeta*) in stat()
95 bool VersionBlobHandler::open(uint16_t session, uint16_t flags, in open()
123 std::vector<uint8_t> VersionBlobHandler::read(uint16_t session, uint32_t offset, in read()
141 bool VersionBlobHandler::close(uint16_t session) in close()
158 bool VersionBlobHandler::stat(uint16_t session, blobs::BlobMeta* meta) in stat()
180 bool VersionBlobHandler::expire(uint16_t session) in expire()
H A Dversion_handlers_builder.cpp36 std::vector<HandlerConfig<VersionBlobHandler::ActionPack>>
39 std::vector<HandlerConfig<VersionBlobHandler::ActionPack>> handlers; in buildHandlerFromJson()
45 HandlerConfig<VersionBlobHandler::ActionPack> output; in buildHandlerFromJson()
84 auto pack = std::make_unique<VersionBlobHandler::ActionPack>(); in buildHandlerFromJson()
H A Dversion_handlers_builder.hpp16 public HandlersBuilderIfc<VersionBlobHandler::ActionPack>
19 std::vector<HandlerConfig<VersionBlobHandler::ActionPack>>
H A Dmain.cpp24 return std::make_unique<ipmi_flash::VersionBlobHandler>( in createHandler()
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/
H A Dversion_mock.hpp12 static HandlerConfig<VersionBlobHandler::ActionPack> createMockVersionConfig( in createMockVersionConfig()
16 HandlerConfig<VersionBlobHandler::ActionPack> ret; in createMockVersionConfig()
24 ret.actions = std::make_unique<VersionBlobHandler::ActionPack>(); in createMockVersionConfig()
36 static std::vector<HandlerConfig<VersionBlobHandler::ActionPack>>
39 std::vector<HandlerConfig<VersionBlobHandler::ActionPack>> ret; in createMockVersionConfigs()
H A Dversion_canhandle_enumerate_unittest.cpp14 VersionBlobHandler handler(createMockVersionConfigs(blobNames)); in TEST()
24 VersionBlobHandler handler(createMockVersionConfigs(blobNames)); in TEST()
H A Dversion_createhandler_unittest.cpp15 VersionBlobHandler handler(createMockVersionConfigs(blobs)); in TEST()
25 VersionBlobHandler handler(std::move(configs)); in TEST()
H A Dversion_stat_unittest.cpp22 h = std::make_unique<VersionBlobHandler>( in SetUp()
H A Dversion_open_unittest.cpp21 h = std::make_unique<VersionBlobHandler>( in SetUp()
H A Dversion_close_unittest.cpp21 h = std::make_unique<VersionBlobHandler>( in SetUp()
H A Dversion_read_unittest.cpp26 h = std::make_unique<VersionBlobHandler>( in SetUp()