Lines Matching refs:mHealth

73         mHealth = IHealth::getService(serviceName);  in SetUp()
74 ASSERT_NE(mHealth, nullptr); in SetUp()
77 sp<IHealth> mHealth; member in android::hardware::health::V2_0::HealthHidlTest
129 ASSERT_ALL_OK(mHealth->registerCallback(firstCallback)); in TEST_P()
130 ASSERT_ALL_OK(mHealth->registerCallback(secondCallback)); in TEST_P()
139 ASSERT_ALL_OK(mHealth->update()); in TEST_P()
144 ASSERT_ALL_OK(mHealth->unregisterCallback(firstCallback)); in TEST_P()
152 ASSERT_ALL_OK(mHealth->update()); in TEST_P()
157 ASSERT_ALL_OK(mHealth->unregisterCallback(secondCallback)); in TEST_P()
162 auto ret = mHealth->unregisterCallback(callback); in TEST_P()
245 EXPECT_OK(mHealth->getChargeCounter([](auto result, auto value) { in TEST_P()
254 EXPECT_OK(mHealth->getCurrentNow([](auto result, auto value) { in TEST_P()
263 EXPECT_OK(mHealth->getCurrentAverage([](auto result, auto value) { in TEST_P()
272 EXPECT_OK(mHealth->getCapacity([](auto result, auto value) { in TEST_P()
281 EXPECT_OK(mHealth->getEnergyCounter([](auto result, auto value) { in TEST_P()
290 EXPECT_OK(mHealth->getChargeStatus([](auto result, auto value) { in TEST_P()
299 EXPECT_OK(mHealth->getStorageInfo([](auto result, auto& value) { in TEST_P()
308 EXPECT_OK(mHealth->getDiskStats([](auto result, auto& value) { in TEST_P()
317 EXPECT_OK(mHealth->getHealthInfo([](auto result, auto& value) { in TEST_P()
490 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()
506 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()
522 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()
539 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()
542 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P()
557 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()
561 TEST_AND_RETURN(isOk(mHealth->getCurrentAverage([&](auto result, auto value) { in TEST_P()
575 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()
579 TEST_AND_RETURN(isOk(mHealth->getCurrentNow([&](auto result, auto value) { in TEST_P()
583 TEST_AND_RETURN(isOk(mHealth->getCurrentAverage([&](auto result, auto value) { in TEST_P()
645 TEST_AND_RETURN(isOk(mHealth->getChargeStatus([&](auto result, auto value) { in TEST_P()
649 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()
662 TEST_AND_RETURN(isOk(mHealth->getHealthInfo([&](auto result, const auto& value) { in TEST_P()