Lines Matching refs:FakeEventHub
602 std::shared_ptr<FakeEventHub> mFakeEventHub;
606 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp()
1351 ASSERT_EQ(controller.getBatteryCapacity(FakeEventHub::DEFAULT_BATTERY), in TEST_F()
1352 FakeEventHub::BATTERY_CAPACITY); in TEST_F()
1353 ASSERT_EQ(mReader->getBatteryCapacity(deviceId), FakeEventHub::BATTERY_CAPACITY); in TEST_F()
1369 ASSERT_EQ(controller.getBatteryStatus(FakeEventHub::DEFAULT_BATTERY), in TEST_F()
1370 FakeEventHub::BATTERY_STATUS); in TEST_F()
1371 ASSERT_EQ(mReader->getBatteryStatus(deviceId), FakeEventHub::BATTERY_STATUS); in TEST_F()
1386 ASSERT_EQ(mReader->getBatteryDevicePath(deviceId), FakeEventHub::BATTERY_DEVPATH); in TEST_F()
2603 std::shared_ptr<FakeEventHub> mFakeEventHub;
2610 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp()
10187 std::shared_ptr<FakeEventHub> mFakeEventHub;
10194 mFakeEventHub = std::make_unique<FakeEventHub>(); in SetUp()
10252 ASSERT_TRUE(controller.getBatteryCapacity(FakeEventHub::DEFAULT_BATTERY)); in TEST_F()
10253 ASSERT_EQ(controller.getBatteryCapacity(FakeEventHub::DEFAULT_BATTERY).value_or(-1), in TEST_F()
10254 FakeEventHub::BATTERY_CAPACITY); in TEST_F()
10260 ASSERT_TRUE(controller.getBatteryStatus(FakeEventHub::DEFAULT_BATTERY)); in TEST_F()
10261 ASSERT_EQ(controller.getBatteryStatus(FakeEventHub::DEFAULT_BATTERY).value_or(-1), in TEST_F()
10262 FakeEventHub::BATTERY_STATUS); in TEST_F()