Home
last modified time | relevance | path

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

12345

/hardware/interfaces/health/2.0/
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 …]
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 …]
/hardware/interfaces/health/2.0/default/
DAndroid.bp11 name: "android.hardware.health@2.0-impl_defaults",
25 "android.hardware.health@2.0",
30 "android.hardware.health@1.0-convert",
34 // Helper library for implementing health HAL. It is recommended that a health
37 name: "android.hardware.health@2.0-impl",
38 defaults: ["android.hardware.health@2.0-impl_defaults"],
54 // android.hardware.health@2.0-impl-recovery-<device> to customize the behavior
58 name: "android.hardware.health@2.0-impl-default",
59 defaults: ["android.hardware.health@2.0-impl_defaults"],
65 "android.hardware.health@2.0-impl",
/hardware/interfaces/health/2.1/default/
DAndroid.bp25 name: "android.hardware.health@2.1-impl-defaults",
34 "android.hardware.health@2.1",
35 "android.hardware.health@2.0",
39 "android.hardware.health@1.0-convert",
46 // Default passthrough implementation of the health@2.1 HAL.
47 // Passhtrough implementations of the health@2.1 HAL must be installed in
49 // Passhtrough implementations of the health@2.1 HAL must be installed in
53 name: "android.hardware.health@2.1-impl",
54 stem: "android.hardware.health@2.0-impl-2.1",
60 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/
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/interfaces/health/2.0/utils/libhealthservice/
DAndroid.bp1 // Reasonable defaults for android.hardware.health@2.0-service.<device>.
27 "android.hardware.health@2.0",
30 "android.hardware.health@2.0-impl",
31 "android.hardware.health@1.0-convert",
34 "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/storage/aidl/default/
DStorage.cpp24 using ::android::hardware::health::storage::DebugDump;
25 using ::android::hardware::health::storage::GarbageCollect;
27 using HResult = android::hardware::health::storage::V1_0::Result;
28 using AResult = aidl::android::hardware::health::storage::Result;
34 namespace aidl::android::hardware::health::storage { namespace
Dhealth-storage-default.rc1 service vendor.health-storage-default /vendor/bin/hw/android.hardware.health.storage-service.default
2 interface aidl android.hardware.health.storage.IStorage/default
DAndroid.bp32 "android.hardware.health.storage-V1-ndk_platform",
48 "//hardware/interfaces/tests/extension/health/storage:__subpackages__",
53 name: "android.hardware.health.storage-service.default",
56 init_rc: ["health-storage-default.rc"],
57 vintf_fragments: ["health-storage-default.xml"],
/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.bp13 name: "android.hardware.health@2.1",
21 "android.hardware.health@1.0",
22 "android.hardware.health@2.0",
/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/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/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/qcom/sm7250/gps/android/utils/
Dbattery_listener.cpp47 using android::hardware::health::V1_0::BatteryStatus;
48 using android::hardware::health::V2_1::HealthInfo;
49 using android::hardware::health::V2_1::IHealthInfoCallback;
50 using android::hardware::health::V2_1::IHealth;
51 using android::hardware::health::V2_0::Result;
61 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
67 const hardware::health::V2_0::HealthInfo& info);
69 const hardware::health::V2_1::HealthInfo& info);
77 sp<hardware::health::V2_1::IHealth> mHealth;
224 const hardware::health::V2_0::HealthInfo& info) { in healthInfoChanged()
[all …]
DAndroid.bp27 "android.hardware.health@1.0",
28 "android.hardware.health@2.0",
29 "android.hardware.health@2.1",
/hardware/qcom/sm8150/gps/android/utils/
Dbattery_listener.cpp47 using android::hardware::health::V1_0::BatteryStatus;
48 using android::hardware::health::V2_1::HealthInfo;
49 using android::hardware::health::V2_1::IHealthInfoCallback;
50 using android::hardware::health::V2_1::IHealth;
51 using android::hardware::health::V2_0::Result;
61 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
67 const hardware::health::V2_0::HealthInfo& info);
69 const hardware::health::V2_1::HealthInfo& info);
77 sp<hardware::health::V2_1::IHealth> mHealth;
224 const hardware::health::V2_0::HealthInfo& info) { in healthInfoChanged()
[all …]
DAndroid.bp26 "android.hardware.health@1.0",
27 "android.hardware.health@2.0",
28 "android.hardware.health@2.1",
/hardware/interfaces/health/storage/1.0/default/
Dandroid.hardware.health.storage@1.0-service.rc1 service vendor.health-storage-hal-1-0 /vendor/bin/hw/android.hardware.health.storage@1.0-service
2 interface android.hardware.health.storage@1.0::IStorage default
/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()
/hardware/interfaces/health/utils/libhealth2impl/
DHealth.cpp36 using android::hardware::health::V1_0::BatteryStatus;
37 using android::hardware::health::V1_0::toString;
38 using android::hardware::health::V1_0::hal_conversion::convertFromHealthInfo;
39 using android::hardware::health::V1_0::hal_conversion::convertToHealthConfig;
40 using android::hardware::health::V1_0::hal_conversion::convertToHealthInfo;
41 using android::hardware::health::V2_0::Result;
42 using android::hardware::health::V2_1::IHealth;
48 namespace health { namespace

12345