Home
last modified time | relevance | path

Searched refs:IHealth (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/health/2.1/default/
Dservice.cpp23 using ::android::hardware::health::V2_1::IHealth;
25 using IHealth_2_0 = ::android::hardware::health::V2_0::IHealth;
30 sp<IHealth> passthrough = in main()
31 IHealth::castFrom(IHealth_2_0::getService(gInstanceName, true /* getStub */)); in main()
Dimpl.cpp25 using ::android::hardware::health::V2_1::IHealth;
42 extern "C" IHealth* HIDL_FETCH_IHealth(const char* instance) { in HIDL_FETCH_IHealth()
/hardware/interfaces/health/1.0/vts/functional/
DVtsHalHealthV1_0TargetTest.cpp28 using IHealth = ::android::hardware::health::V1_0::IHealth; typedef
36 health = IHealth::getService(GetParam()); in SetUp()
42 sp<IHealth> health;
64 testing::ValuesIn(android::hardware::getAllHalInstanceNames(IHealth::descriptor)),
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHalHealthLoop.h35 HalHealthLoop(const std::string& name, const sp<IHealth>& service) in HalHealthLoop()
51 const sp<IHealth>& service() const { return service_; } in service()
59 sp<IHealth> service_;
DBinderHealth.h33 class BinderHealth : public HalHealthLoop, public IHealth, public hidl_death_recipient {
36 BinderHealth(const std::string& name, const sp<IHealth>& impl);
/hardware/interfaces/health/1.0/default/
DHealth.h33 using ::android::hardware::health::V1_0::IHealth;
40 struct Health : public IHealth {
49 extern "C" IHealth* HIDL_FETCH_IHealth(const char* name);
DHealthService.cpp22 using android::hardware::health::V1_0::IHealth;
26 return defaultPassthroughServiceImplementation<IHealth>(); in main()
DHealth.cpp85 IHealth* HIDL_FETCH_IHealth(const char* /* name */) { in HIDL_FETCH_IHealth()
DREADME.md25 <name>IHealth</name>
/hardware/interfaces/health/2.0/utils/libhealthhalutils/
DHealthHalUtils.cpp27 sp<IHealth> get_health_service() { in get_health_service()
29 auto ret = IHealth::getService(instanceName); in get_health_service()
/hardware/interfaces/health/2.0/default/
DHealthImplDefault.cpp20 using android::hardware::health::V2_0::IHealth;
60 extern "C" IHealth* HIDL_FETCH_IHealth(const char* name) { in HIDL_FETCH_IHealth()
/hardware/interfaces/health/2.1/
DIHealth.hal19 import @2.0::IHealth;
26 * IHealth manages health info and posts events on registered callbacks.
28 * An implementation of @2.1::IHealth must be able to handle both
48 interface IHealth extends @2.0::IHealth {
DIHealthInfoCallback.hal23 * {@link IHealth.registerCallback}.
27 * implementation post events. See documentation on @2.1::IHealth for details.
31 * An implementation of IHealth must call healthInfoChanged on all
DAndroid.bp8 "IHealth.hal",
DREADME.md60 * `healthd_board_init()` / `@1.0::IHealth.init()` should be called before
64 * `healthd_board_battery_update()` / `@1.0::IHealth.update()` should be called
79 * Code for `@1.0::IHealth.energyCounter()` should be moved to
202 using ::android::hardware::health::V2_1::IHealth;
250 extern "C" IHealth* HIDL_FETCH_IHealth(const char* instance) {
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp77 service_ = IHealth::getService(GetParam()); in SetUp()
81 sp<IHealth> service_;
146 AssertionResult TestCallbacks(sp<IHealth> service) { in TestCallbacks()
191 AssertionResult TestUnregisterNonExistentCallback(sp<IHealth> service) { in TestUnregisterNonExistentCallback()
264 testing::ValuesIn(android::hardware::getAllHalInstanceNames(IHealth::descriptor)),
/hardware/interfaces/health/2.0/utils/libhealthservice/
DHealthServiceCommon.cpp34 using android::hardware::health::V2_0::IHealth;
56 android::sp<IHealth> service = Health::initInstance(config); in healthd_mode_service_2_0_init()
/hardware/interfaces/health/2.0/default/include/health2/
DHealth.h28 struct Health : public IHealth, hidl_death_recipient {
30 static sp<IHealth> initInstance(struct healthd_config* c);
/hardware/interfaces/health/2.0/utils/libhealthhalutils/include/healthhalutils/
DHealthHalUtils.h31 sp<IHealth> get_health_service();
/hardware/interfaces/health/1.0/
DAndroid.bp8 "IHealth.hal",
/hardware/interfaces/health/2.0/
DREADME104 1. If the device does not implement `IHealth.getDiskStats` and
105 `IHealth.getStorageInfo`, add `libhealthstoragedefault` to `static_libs`.
169 using android::hardware::health::V2_0::IHealth;
171 extern "C" IHealth* HIDL_FETCH_IHealth(const char* name) {
DREADME.md104 1. If the device does not implement `IHealth.getDiskStats` and
105 `IHealth.getStorageInfo`, add `libhealthstoragedefault` to `static_libs`.
169 using android::hardware::health::V2_0::IHealth;
171 extern "C" IHealth* HIDL_FETCH_IHealth(const char* name) {
DAndroid.bp8 "IHealth.hal",
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp65 IHealth::getService() != nullptr) { in SetUp()
73 mHealth = IHealth::getService(serviceName); in SetUp()
77 sp<IHealth> mHealth;
325 testing::ValuesIn(android::hardware::getAllHalInstanceNames(IHealth::descriptor)),
676 testing::ValuesIn(android::hardware::getAllHalInstanceNames(IHealth::descriptor)),
/hardware/interfaces/health/2.0/utils/
DREADME.md6 calling `IHealth::getService()` directly.

12