Searched refs:getMaxBrightness (Results 1 – 5 of 5) sorted by relevance
/openbmc/phosphor-led-sysfs/test/ |
H A D | physical.cpp | 62 MOCK_METHOD0(getMaxBrightness, unsigned long()); 92 EXPECT_CALL(*led, getMaxBrightness()).WillOnce(Return(127)); in TEST() 104 EXPECT_CALL(*led, getMaxBrightness()).WillOnce(Return(0)); in TEST() 116 EXPECT_CALL(*led, getMaxBrightness()).WillOnce(Return(127)); in TEST() 128 EXPECT_CALL(*led, getMaxBrightness()).WillOnce(Return(0)); in TEST() 148 ON_CALL(*led, getMaxBrightness()).WillByDefault(Return(127)); in TEST() 164 ON_CALL(*led, getMaxBrightness()).WillByDefault(Return(asserted)); in TEST() 203 ON_CALL(*led, getMaxBrightness()).WillByDefault(Return(asserted)); in TEST()
|
H A D | sysfs.cpp | 87 TEST(Sysfs, getMaxBrightness) in TEST() argument 91 ASSERT_EQ(maxBrightnessVal, fsl.getMaxBrightness()); in TEST()
|
/openbmc/phosphor-led-sysfs/ |
H A D | sysfs.hpp | 52 virtual unsigned long getMaxBrightness();
|
H A D | physical.cpp | 31 assert = led->getMaxBrightness(); in setInitialState()
|
H A D | sysfs.cpp | 69 unsigned long SysfsLed::getMaxBrightness() in getMaxBrightness() function in phosphor::led::SysfsLed
|