Searched refs:SysfsLed (Results 1 – 7 of 7) sorted by relevance
38 class SysfsLed class41 explicit SysfsLed(std::filesystem::path&& root) : root(std::move(root)) {} in SysfsLed() function in phosphor::led::SysfsLed42 SysfsLed() = delete;43 SysfsLed(const SysfsLed& other) = delete;44 SysfsLed(const SysfsLed&& other) = delete;45 SysfsLed& operator=(const SysfsLed& other) = delete;46 SysfsLed&& operator=(const SysfsLed&& other) = delete;48 virtual ~SysfsLed() = default;
59 unsigned long SysfsLed::getBrightness() in getBrightness()64 void SysfsLed::setBrightness(unsigned long brightness) in setBrightness()69 unsigned long SysfsLed::getMaxBrightness() in getMaxBrightness()74 std::string SysfsLed::getTrigger() in getTrigger()102 void SysfsLed::setTrigger(const std::string& trigger) in setTrigger()107 unsigned long SysfsLed::getDelayOn() in getDelayOn()112 void SysfsLed::setDelayOn(unsigned long ms) in setDelayOn()117 unsigned long SysfsLed::getDelayOff() in getDelayOff()122 void SysfsLed::setDelayOff(unsigned long ms) in setDelayOff()143 LedDescr SysfsLed::getLedDescr() in getLedDescr()
49 std::unique_ptr<phosphor::led::SysfsLed> led, in Physical()82 std::unique_ptr<phosphor::led::SysfsLed> led;
31 class FakeSysfsLed : public phosphor::led::SysfsLed60 explicit FakeSysfsLed(fs::path&& path) : SysfsLed(std::move(path)) in FakeSysfsLed()
27 SysfsLed led(path); in runtest()
44 class MockLed : public phosphor::led::SysfsLed48 MockLed() : SysfsLed(createSandbox()) {} in MockLed()
79 auto sled = std::make_unique<phosphor::led::SysfsLed>(fs::path(path)); in createLEDPath()