Home
last modified time | relevance | path

Searched refs:ExampleDevice (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/
H A Dexample_device.cpp25 SoftwareConfig ExampleDevice::defaultConfig =
54 auto exampleDevice = std::make_unique<ExampleDevice>(ctx, &(*this)); in ExampleCodeUpdater()
67 std::unique_ptr<ExampleDevice>& ExampleCodeUpdater::getDevice() in getDevice()
77 return reinterpret_cast<std::unique_ptr<ExampleDevice>&>(deviceRef); in getDevice()
84 auto device = std::make_unique<ExampleDevice>(ctx, this); in initDevice()
101 ExampleDevice::ExampleDevice(sdbusplus::async::context& ctx, in ExampleDevice() function in ExampleDevice
108 sdbusplus::async::task<bool> ExampleDevice::updateDevice( in updateDevice()
132 ExampleDevice& parent) : Software(ctx, parent) in ExampleSoftware()
H A Dexample_device.hpp15 class ExampleDevice;
30 std::unique_ptr<ExampleDevice>& getDevice();
56 ExampleSoftware(sdbusplus::async::context& ctx, ExampleDevice& parent);
59 class ExampleDevice : public Device class
67 ExampleDevice(sdbusplus::async::context& ctx,
H A Dexample_updater_main.cpp18 co_await updater.initDevice("", "", ExampleDevice::defaultConfig); in init()
/openbmc/phosphor-bmc-code-mgmt/test/common/device/
H A Ddevice.cpp37 std::unique_ptr<ExampleDevice>& device;
98 sdbusplus::async::context& ctx, std::unique_ptr<ExampleDevice>& device, in testDeviceStartUpdateCommon()
161 sdbusplus::async::context& ctx, std::unique_ptr<ExampleDevice>& device) in testDeviceStartUpdateInvalidFD()
190 sdbusplus::async::context& ctx, std::unique_ptr<ExampleDevice>& device) in testDeviceSpecificUpdateFunction()
/openbmc/phosphor-bmc-code-mgmt/test/common/software/
H A Dsoftware_association.cpp36 std::unique_ptr<ExampleDevice>& device;
82 sdbusplus::async::context& ctx, std::unique_ptr<ExampleDevice>& device, in testSoftwareAssociation()
H A Dsoftware_get_random_softwareid.cpp41 auto device = std::make_unique<ExampleDevice>(ctx, &exampleUpdater, config); in TEST()
H A Dsoftware.cpp29 std::unique_ptr<ExampleDevice>& device;
/openbmc/phosphor-bmc-code-mgmt/common/
H A DREADME.md14 To understand the control flow, consider looking at 'ExampleDevice' and