Searched refs:service_ (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/health/2.1/vts/functional/ |
D | VtsHalHealthV2_1TargetTest.cpp | 77 service_ = IHealth::getService(GetParam()); in SetUp() 78 ASSERT_NE(nullptr, service_.get()) << "Instance '" << GetParam() << "'' is not available."; in SetUp() 81 sp<IHealth> service_; member in android::hardware::health::V2_1::HealthHidlTest 183 EXPECT_TRUE(TestCallbacks<Callback_2_0>(service_)); in TEST_P() 187 EXPECT_TRUE(TestCallbacks<Callback_2_1>(service_)); in TEST_P() 204 EXPECT_TRUE(TestUnregisterNonExistentCallback<Callback_2_0>(service_)); in TEST_P() 208 EXPECT_TRUE(TestUnregisterNonExistentCallback<Callback_2_1>(service_)); in TEST_P() 229 EXPECT_TRUE(IsOk(service_->getHealthInfo_2_1([](auto result, const auto& value) { in TEST_P() 250 EXPECT_TRUE(IsOk(service_->getHealthConfig([](auto result, const auto&) { in TEST_P() 256 EXPECT_TRUE(IsOk(service_->shouldKeepScreenOn([](auto result, const auto&) { in TEST_P()
|
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/ |
D | HalHealthLoop.h | 36 : instance_name_(name), service_(service) {} in HalHealthLoop() 51 const sp<IHealth>& service() const { return service_; } in service() 59 sp<IHealth> service_; variable
|
/hardware/interfaces/health/utils/libhealth2impl/ |
D | HalHealthLoop.cpp | 42 service_->getHealthConfig([config](auto res, const auto& health_config) { in Init() 62 Result res = service_->update(); in ScheduleBatteryUpdate() 67 service_->getHealthInfo_2_1([this](auto res, const auto& health_info) { in ScheduleBatteryUpdate()
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 58 service_ = IPowerStats::getService(GetParam()); in SetUp() 59 ASSERT_NE(service_, nullptr); in SetUp() 71 sp<IPowerStats> service_; member in android::power::stats::vts::PowerStatsHidlTest 76 Return<void> ret = service_->getPowerEntityInfo([&status, &infos](auto rInfos, auto rStatus) { in getInfos() 94 Return<void> ret = service_->getPowerEntityStateInfo( 113 Return<void> ret = service_->getPowerEntityStateResidencyData( 346 Return<void> ret = service_->getRailInfo(cb); in TEST_P() 360 Return<void> ret = service_->getRailInfo(cb); in TEST_P() 402 Return<void> ret = service_->getEnergyData(hidl_vec<uint32_t>(), cb); in TEST_P() 411 Return<void> ret = service_->getEnergyData(hidl_vec<uint32_t>(), cb); in TEST_P() [all …]
|