Lines Matching refs:i2cInterface
98 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
99 i2c::I2CInterface* i2cInterfacePtr = i2cInterface.get(); in TEST_F()
100 Device device{"vdd_reg", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
114 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
115 i2c::I2CInterface* i2cInterfacePtr = i2cInterface.get(); in TEST_F()
148 std::move(i2cInterface), in TEST_F()
225 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
226 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface), in TEST_F()
272 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST_F() local
280 std::move(i2cInterface), in TEST_F()
357 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST_F() local
358 EXPECT_CALL(*i2cInterface, isOpen).Times(1).WillOnce(Return(false)); in TEST_F()
359 EXPECT_CALL(*i2cInterface, close).Times(0); in TEST_F()
369 Device device{"vdd_reg", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
378 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST_F() local
379 EXPECT_CALL(*i2cInterface, isOpen).Times(1).WillOnce(Return(true)); in TEST_F()
380 EXPECT_CALL(*i2cInterface, close).Times(1); in TEST_F()
390 Device device{"vdd_reg", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
399 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST_F() local
400 EXPECT_CALL(*i2cInterface, isOpen).Times(1).WillOnce(Return(true)); in TEST_F()
401 EXPECT_CALL(*i2cInterface, close) in TEST_F()
422 Device device{"vdd_reg", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
463 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
467 std::move(i2cInterface), in TEST_F()
484 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
485 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
551 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
557 std::move(i2cInterface), in TEST_F()
602 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
607 std::move(i2cInterface), in TEST_F()
629 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
630 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
665 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
671 std::move(i2cInterface), in TEST_F()
726 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
727 i2c::I2CInterface* i2cInterfacePtr = i2cInterface.get(); in TEST_F()
728 Device device{"vdd_reg", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
832 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
833 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
853 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
854 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface), in TEST_F()
875 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
876 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface), in TEST_F()
932 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
940 std::move(i2cInterface), in TEST_F()
960 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
961 Device device{"reg2", true, deviceInvPath, std::move(i2cInterface)}; in TEST_F()
1016 std::unique_ptr<i2c::I2CInterface> i2cInterface = createI2CInterface(); in TEST_F() local
1023 std::move(i2cInterface), in TEST_F()