Home
last modified time | relevance | path

Searched refs:health (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/interfaces/health/1.0/default/
DAndroid.bp2 name: "android.hardware.health@1.0-convert",
16 "android.hardware.health@1.0",
22 name: "android.hardware.health@1.0-impl-helper",
36 "android.hardware.health@1.0",
40 "android.hardware.health@1.0-convert",
45 name: "android.hardware.health@1.0-impl",
50 "android.hardware.health@1.0-impl-helper",
51 "android.hardware.health@1.0-convert",
57 name: "android.hardware.health@1.0-service",
60 init_rc: ["android.hardware.health@1.0-service.rc"],
[all …]
DREADME.md4 `hardware/interfaces/health/2.1/README.md` for more details.
14 PRODUCT_PACKAGES += android.hardware.health@1.0-service
21 <name>android.hardware.health</name>
38 android.hardware.health@1.0-impl
48 name: "android.hardware.health@1.0-impl-<device>",
53 "android.hardware.health@1.0-impl-helper",
54 "android.hardware.health@1.0-convert",
63 PRODUCT_PACKAGES += android.hardware.health@1.0-impl-<device>
DHealth.cpp24 namespace health { namespace
28 using ::android::hardware::health::V1_0::hal_conversion::convertToHealthConfig;
29 using ::android::hardware::health::V1_0::hal_conversion::convertFromHealthConfig;
30 using ::android::hardware::health::V1_0::hal_conversion::convertToHealthInfo;
31 using ::android::hardware::health::V1_0::hal_conversion::convertFromHealthInfo;
DHealth.h27 namespace health {
31 using ::android::hardware::health::V1_0::HealthInfo;
32 using ::android::hardware::health::V1_0::HealthConfig;
33 using ::android::hardware::health::V1_0::IHealth;
/hardware/interfaces/health/2.0/default/
DAndroid.bp2 name: "android.hardware.health@2.0-impl_defaults",
16 "android.hardware.health@2.0",
21 "android.hardware.health@1.0-convert",
25 // Helper library for implementing health HAL. It is recommended that a health
28 name: "android.hardware.health@2.0-impl",
29 defaults: ["android.hardware.health@2.0-impl_defaults"],
45 // android.hardware.health@2.0-impl-recovery-<device> to customize the behavior
49 name: "android.hardware.health@2.0-impl-default",
50 defaults: ["android.hardware.health@2.0-impl_defaults"],
56 "android.hardware.health@2.0-impl",
/hardware/interfaces/health/1.0/vts/functional/
DVtsHalHealthV1_0TargetTest.cpp26 using HealthConfig = ::android::hardware::health::V1_0::HealthConfig;
27 using HealthInfo = ::android::hardware::health::V1_0::HealthInfo;
28 using IHealth = ::android::hardware::health::V1_0::IHealth;
29 using Result = ::android::hardware::health::V1_0::Result;
36 health = IHealth::getService(GetParam()); in SetUp()
37 ASSERT_NE(health, nullptr); in SetUp()
38 health->init(config, in SetUp()
42 sp<IHealth> health; member in HealthHidlTest
52 health->energyCounter([&](Result ret, int64_t energyOut) { in TEST_P()
/hardware/interfaces/health/2.0/
DREADME.md4 `hardware/interfaces/health/2.1/README.md` for more details.
8 1. Remove `android.hardware.health@1.0*` from `PRODUCT_PACKAGES`
15 PRODUCT_PACKAGES += android.hardware.health@2.0-service
21 `device/<manufacturer>/<device>/health`
23 1. Create `device/<manufacturer>/<device>/health/Android.bp`
24 (or equivalent `device/<manufacturer>/<device>/health/Android.mk`)
28 name: "android.hardware.health@2.0-service.<device>",
29 init_rc: ["android.hardware.health@2.0-service.<device>.rc"],
42 "android.hardware.health@2.0-impl",
43 "android.hardware.health@1.0-convert",
[all …]
DREADME4 `hardware/interfaces/health/2.1/README.md` for more details.
8 1. Remove `android.hardware.health@1.0*` from `PRODUCT_PACKAGES`
15 PRODUCT_PACKAGES += android.hardware.health@2.0-service
21 `device/<manufacturer>/<device>/health`
23 1. Create `device/<manufacturer>/<device>/health/Android.bp`
24 (or equivalent `device/<manufacturer>/<device>/health/Android.mk`)
28 name: "android.hardware.health@2.0-service.<device>",
29 init_rc: ["android.hardware.health@2.0-service.<device>.rc"],
42 "android.hardware.health@2.0-impl",
43 "android.hardware.health@1.0-convert",
[all …]
/hardware/interfaces/health/2.1/default/
DAndroid.bp16 name: "android.hardware.health@2.1-impl-defaults",
25 "android.hardware.health@2.1",
26 "android.hardware.health@2.0",
30 "android.hardware.health@1.0-convert",
37 // Default passthrough implementation of the health@2.1 HAL.
38 // Passhtrough implementations of the health@2.1 HAL must be installed in
40 // Passhtrough implementations of the health@2.1 HAL must be installed in
44 name: "android.hardware.health@2.1-impl",
45 stem: "android.hardware.health@2.0-impl-2.1",
51 defaults: ["android.hardware.health@2.1-impl-defaults"],
[all …]
Dimpl.cpp24 using ::android::hardware::health::InitHealthdConfig;
25 using ::android::hardware::health::V2_1::IHealth;
26 using ::android::hardware::health::V2_1::implementation::Health;
Dservice.cpp23 using ::android::hardware::health::V2_1::IHealth;
24 using ::android::hardware::health::V2_1::implementation::BinderHealth;
25 using IHealth_2_0 = ::android::hardware::health::V2_0::IHealth;
/hardware/interfaces/health/2.0/utils/libhealthservice/
DAndroid.bp1 // Reasonable defaults for android.hardware.health@2.0-service.<device>.
18 "android.hardware.health@2.0",
21 "android.hardware.health@2.0-impl",
22 "android.hardware.health@1.0-convert",
25 "android.hardware.health@1.0-convert",
DHealthServiceCommon.cpp32 using android::hardware::health::V2_0::HealthInfo;
33 using android::hardware::health::V1_0::hal_conversion::convertToHealthInfo;
34 using android::hardware::health::V2_0::IHealth;
35 using android::hardware::health::V2_0::implementation::Health;
/hardware/interfaces/health/2.0/utils/
DREADME.md3 A convenience library for (hwbinder) clients of health HAL to choose between
5 by healthd). C++ clients of health HAL should use this library instead of
12 Common code for all (hwbinder) services of the health HAL, including healthd and
13 vendor health service `android.hardware.health@2.0-service(.<vendor>)`. `main()` in
19 health HAL. If an implementation of the health HAL do not wish to provide any
/hardware/qcom/sm8150/gps/android/utils/
Dbattery_listener.cpp47 using android::hardware::health::V1_0::BatteryStatus;
48 using android::hardware::health::V1_0::toString;
49 using android::hardware::health::V2_0::get_health_service;
50 using android::hardware::health::V2_1::HealthInfo;
51 using android::hardware::health::V2_1::IHealthInfoCallback;
52 using android::hardware::health::V2_1::IHealth;
53 using android::hardware::health::V2_0::Result;
63 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
69 const hardware::health::V2_0::HealthInfo& info);
71 const hardware::health::V2_1::HealthInfo& info);
[all …]
DAndroid.bp18 "android.hardware.health@1.0",
19 "android.hardware.health@2.0",
20 "android.hardware.health@2.1",
/hardware/interfaces/health/2.1/
DREADME.md9 PRODUCT_PACKAGES += android.hardware.health@2.1-service
12 1. Delete existing VINTF manifest entry. Search for `android.hardware.health` in
14 of the HAL. Instead, when `android.hardware.health@2.1-service` is installed,
26 PRODUCT_PACKAGES += android.hardware.health@2.1-impl
29 PRODUCT_PACKAGES += android.hardware.health@2.1-impl.recovery
42 * If you are upgrading from 1.0 health HAL, see
44 * If you are upgrading from a customized 2.0 health HAL
109 PRODUCT_PACKAGES += android.hardware.health@2.1-impl-<device>
112 PRODUCT_PACKAGES += android.hardware.health@2.1-impl-<device>.recovery
148 ## `device/<manufacturer>/<device>/health/Android.bp` {#android_bp}
[all …]
DAndroid.bp4 name: "android.hardware.health@2.1",
15 "android.hardware.health@1.0",
16 "android.hardware.health@2.0",
/hardware/qcom/sm7150/gps/android/utils/
Dbattery_listener.cpp46 using android::hardware::health::V1_0::BatteryStatus;
47 using android::hardware::health::V1_0::toString;
48 using android::hardware::health::V2_0::get_health_service;
49 using android::hardware::health::V2_0::HealthInfo;
50 using android::hardware::health::V2_0::IHealth;
51 using android::hardware::health::V2_0::Result;
61 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
67 const hardware::health::V2_0::HealthInfo& info);
75 sp<hardware::health::V2_0::IHealth> mHealth;
97 mHealth = hardware::health::V2_0::get_health_service(); in init()
[all …]
/hardware/qcom/sm8150p/gps/android/utils/
Dbattery_listener.cpp43 using android::hardware::health::V1_0::BatteryStatus;
44 using android::hardware::health::V1_0::toString;
45 using android::hardware::health::V2_0::get_health_service;
46 using android::hardware::health::V2_0::HealthInfo;
47 using android::hardware::health::V2_0::IHealth;
48 using android::hardware::health::V2_0::Result;
58 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
64 const hardware::health::V2_0::HealthInfo& info);
72 sp<hardware::health::V2_0::IHealth> mHealth;
94 mHealth = hardware::health::V2_0::get_health_service(); in init()
[all …]
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHealth.h38 namespace health {
47 Return<::android::hardware::health::V2_0::Result> registerCallback(
48 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
49 Return<::android::hardware::health::V2_0::Result> unregisterCallback(
50 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
51 Return<::android::hardware::health::V2_0::Result> update() override;
DBinderHealth.h28 namespace health {
39 Return<::android::hardware::health::V2_0::Result> registerCallback(
40 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
41 Return<::android::hardware::health::V2_0::Result> unregisterCallback(
42 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
43 Return<::android::hardware::health::V2_0::Result> update() override;
/hardware/interfaces/health/storage/1.0/default/
D[email protected]1 service vendor.health-storage-hal-1-0 /vendor/bin/hw/android.hardware.health[email protected]
2 interface android.hardware.health[email protected]::IStorage default
DAndroid.bp18 name: "android.hardware.health[email protected]",
22 init_rc: ["android.hardware.health[email protected]"],
37 "android.hardware.health[email protected]",
45 "manifest_android.hardware.health[email protected]",
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp34 using ::android::hardware::health::V1_0::BatteryStatus;
35 using ::android::hardware::health::V2_0::Result;
42 using ::android::hardware::health::V1_0::toString;
43 using ::android::hardware::health::V2_0::toString;
44 using ::android::hardware::health::V2_1::toString;
64 namespace health { namespace
106 class Callback_2_0 : public android::hardware::health::V2_0::IHealthInfoCallback,
108 Return<void> healthInfoChanged(const android::hardware::health::V2_0::HealthInfo&) override { in healthInfoChanged()
113 class Callback_2_1 : public android::hardware::health::V2_1::IHealthInfoCallback,
115 Return<void> healthInfoChanged(const android::hardware::health::V2_0::HealthInfo&) override { in healthInfoChanged()

12345