/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | device.hpp | 70 std::unique_ptr<PresenceDetection> presenceDetection = nullptr, in Device() argument 77 presenceDetection{std::move(presenceDetection)}, 211 return presenceDetection; in getPresenceDetection() 231 if (presenceDetection) in isPresent() 234 return presenceDetection->execute(services, system, chassis, *this); in isPresent() 293 std::unique_ptr<PresenceDetection> presenceDetection{}; member in phosphor::power::regulators::Device
|
H A D | device.cpp | 44 if (presenceDetection) in clearCache() 47 presenceDetection->clearCache(); in clearCache()
|
H A D | config_file_parser.cpp | 377 std::unique_ptr<PresenceDetection> presenceDetection{}; in parseDevice() local 381 presenceDetection = parsePresenceDetection(*presenceDetectionIt); in parseDevice() 427 std::move(presenceDetection), std::move(configuration), in parseDevice()
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | device_tests.cpp | 120 auto presenceDetection = in TEST_F() local 149 std::move(presenceDetection), in TEST_F() 170 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local 184 std::move(presenceDetection), in TEST_F() 220 auto presenceDetection = in TEST_F() local 222 PresenceDetection* presenceDetectionPtr = presenceDetection.get(); in TEST_F() 227 std::move(presenceDetection)}; in TEST_F() 273 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local 281 std::move(presenceDetection), in TEST_F() 440 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local [all …]
|
H A D | chassis_tests.cpp | 151 auto presenceDetection = in TEST_F() local 153 PresenceDetection* presenceDetectionPtr = presenceDetection.get(); in TEST_F() 160 std::move(i2cInterface), std::move(presenceDetection)); in TEST_F() 198 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local 206 std::move(i2cInterface), std::move(presenceDetection), in TEST_F() 369 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local 374 std::move(i2cInterface), std::move(presenceDetection), in TEST_F() 388 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local 393 std::move(i2cInterface), std::move(presenceDetection), in TEST_F() 469 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST_F() local [all …]
|
H A D | system_tests.cpp | 90 auto presenceDetection = in TEST() local 92 PresenceDetection* presenceDetectionPtr = presenceDetection.get(); in TEST() 99 std::move(i2cInterface), std::move(presenceDetection)); in TEST() 145 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 153 std::move(i2cInterface), std::move(presenceDetection), in TEST() 304 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 310 std::move(i2cInterface), std::move(presenceDetection), in TEST() 332 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 338 std::move(i2cInterface), std::move(presenceDetection), in TEST() 483 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local [all …]
|
H A D | configuration_tests.cpp | 117 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 121 std::move(i2cInterface), std::move(presenceDetection), in TEST() 177 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 181 std::move(i2cInterface), std::move(presenceDetection), in TEST() 244 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 248 std::move(i2cInterface), std::move(presenceDetection), in TEST() 307 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 315 std::move(i2cInterface), std::move(presenceDetection), in TEST() 378 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 386 std::move(i2cInterface), std::move(presenceDetection), in TEST() [all …]
|
H A D | rail_tests.cpp | 113 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 121 std::move(i2cInterface), std::move(presenceDetection), in TEST() 204 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 212 std::move(i2cInterface), std::move(presenceDetection), in TEST() 260 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 268 std::move(i2cInterface), std::move(presenceDetection), in TEST() 341 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 349 std::move(i2cInterface), std::move(presenceDetection), in TEST() 402 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST() local 410 std::move(i2cInterface), std::move(presenceDetection), in TEST()
|
H A D | test_utils.hpp | 73 std::unique_ptr<PresenceDetection> presenceDetection{}; local 78 std::move(presenceDetection), std::move(configuration),
|
H A D | sensor_monitoring_tests.cpp | 89 std::unique_ptr<PresenceDetection> presenceDetection{}; in createParentObjects() local 97 std::move(i2cInterface), std::move(presenceDetection), in createParentObjects()
|
H A D | config_file_parser_tests.cpp | 4135 std::unique_ptr<PresenceDetection> presenceDetection = in TEST() local 4137 EXPECT_EQ(presenceDetection->getActions().size(), 1); in TEST() 4148 std::unique_ptr<PresenceDetection> presenceDetection = in TEST() local 4150 EXPECT_EQ(presenceDetection->getActions().size(), 1); in TEST()
|