Searched refs:IHealth (Results 1 – 17 of 17) sorted by relevance
28 using IHealth = ::android::hardware::health::V1_0::IHealth; typedef42 virtual void registerTestServices() override { registerTestService<IHealth>(); } in registerTestServices()50 health = ::testing::VtsHalHidlTargetTestBase::getService<IHealth>( in SetUp()51 HealthHidlEnvironment::Instance()->getServiceName<IHealth>()); in SetUp()57 sp<IHealth> health;
33 using ::android::hardware::health::V1_0::IHealth;40 struct Health : public IHealth {49 extern "C" IHealth* HIDL_FETCH_IHealth(const char* name);
22 using android::hardware::health::V1_0::IHealth;26 return defaultPassthroughServiceImplementation<IHealth>(); in main()
85 IHealth* HIDL_FETCH_IHealth(const char* /* name */) { in HIDL_FETCH_IHealth()
27 sp<IHealth> get_health_service() { in get_health_service()29 auto ret = IHealth::getService(instanceName); in get_health_service()
33 using android::hardware::health::V2_0::IHealth;55 android::sp<IHealth> service = Health::initInstance(config); in healthd_mode_service_2_0_init()
31 sp<IHealth> get_health_service();
48 virtual void registerTestServices() override { registerTestService<IHealth>(); } in registerTestServices()59 std::string serviceName = HealthHidlEnvironment::Instance()->getServiceName<IHealth>(); in SetUp()62 mHealth = ::testing::VtsHalHidlTargetTestBase::getService<IHealth>(serviceName); in SetUp()66 sp<IHealth> mHealth;
11 "IHealth.hal",
19 interface IHealth {
21 * IHealth::energyCounter()
98 7.1 If the device does not implement IHealth.getDiskStats and99 IHealth.getStorageInfo, add libstoragehealthdefault to static_libs.
24 * IHealth manages health info and posts events on registered callbacks.26 interface IHealth {
6 calling IHealth::getService() directly.
270 sp<IHealth> Health::initInstance(struct healthd_config* c) { in initInstance()
100 …e2ba3805c923f01fc1231ec9ff838942aee3346f2d7614ecc0caeadbe57ed4 android.hardware.health@1.0::IHealth335 …5682dd3007805c985eaaec91612abc88f4c25b3431fb84070b7584a1a741fb android.hardware.health@2.0::IHealth