Home
last modified time | relevance | path

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

/openbmc/phosphor-ipmi-flash/bmc/log-handler/
H A Dlog_handler.hpp36 class LogBlobHandler : public blobs::GenericBlobInterface class
51 LogBlobHandler(std::vector<HandlerConfig<ActionPack>>&& configs);
53 ~LogBlobHandler() = default;
54 LogBlobHandler(const LogBlobHandler&) = delete;
55 LogBlobHandler& operator=(const LogBlobHandler&) = delete;
56 LogBlobHandler(LogBlobHandler&&) = default;
57 LogBlobHandler& operator=(LogBlobHandler&&) = default;
H A Dlog_handler.cpp29 LogBlobHandler::LogBlobHandler(std::vector<HandlerConfig<ActionPack>>&& configs) in LogBlobHandler() function in ipmi_flash::LogBlobHandler
83 bool LogBlobHandler::canHandleBlob(const std::string& path) in canHandleBlob()
88 std::vector<std::string> LogBlobHandler::getBlobIds() in getBlobIds()
101 bool LogBlobHandler::deleteBlob(const std::string& path) in deleteBlob()
126 bool LogBlobHandler::stat(const std::string&, blobs::BlobMeta*) in stat()
131 bool LogBlobHandler::open(uint16_t session, uint16_t flags, in open()
161 std::vector<uint8_t> LogBlobHandler::read(uint16_t session, uint32_t offset, in read()
179 bool LogBlobHandler::close(uint16_t session) in close()
196 bool LogBlobHandler::stat(uint16_t session, blobs::BlobMeta* meta) in stat()
218 bool LogBlobHandler::expire(uint16_t session) in expire()
H A Dlog_handlers_builder.cpp35 std::vector<HandlerConfig<LogBlobHandler::ActionPack>>
38 std::vector<HandlerConfig<LogBlobHandler::ActionPack>> handlers; in buildHandlerFromJson()
44 HandlerConfig<LogBlobHandler::ActionPack> output; in buildHandlerFromJson()
73 auto pack = std::make_unique<LogBlobHandler::ActionPack>(); in buildHandlerFromJson()
H A Dlog_handlers_builder.hpp29 class LogHandlersBuilder : public HandlersBuilderIfc<LogBlobHandler::ActionPack>
32 std::vector<HandlerConfig<LogBlobHandler::ActionPack>>
H A Dmain.cpp22 return std::make_unique<ipmi_flash::LogBlobHandler>( in createHandler()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/
H A Dlog_mock.hpp30 HandlerConfig<LogBlobHandler::ActionPack> ret; in createMockLogConfig()
38 ret.actions = std::make_unique<LogBlobHandler::ActionPack>(); in createMockLogConfig()
52 std::vector<HandlerConfig<LogBlobHandler::ActionPack>> ret; in createMockLogConfigs()
H A Dlog_canhandle_enumerate_unittest.cpp28 LogBlobHandler handler(createMockLogConfigs(blobNames)); in TEST()
38 LogBlobHandler handler(createMockLogConfigs(blobNames)); in TEST()
H A Dlog_createhandler_unittest.cpp29 LogBlobHandler handler(createMockLogConfigs(blobs)); in TEST()
39 LogBlobHandler handler(std::move(configs)); in TEST()
H A Dlog_open_unittest.cpp35 h = std::make_unique<LogBlobHandler>( in SetUp()
H A Dlog_stat_unittest.cpp36 h = std::make_unique<LogBlobHandler>( in SetUp()
H A Dlog_close_unittest.cpp35 h = std::make_unique<LogBlobHandler>( in SetUp()
H A Dlog_read_unittest.cpp40 h = std::make_unique<LogBlobHandler>( in SetUp()