Home
last modified time | relevance | path

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

1234

/system/core/healthd/
DAndroid.bp27 "android.hardware.health@2.1",
34 name: "android.hardware.health@2.0-service_defaults",
42 "android.hardware.health@2.0-impl",
43 "android.hardware.health@1.0-convert",
55 "android.hardware.health@2.0",
60 name: "android.hardware.health@2.0-service",
61 defaults: ["android.hardware.health@2.0-service_defaults"],
65 init_rc: ["android.hardware.health@2.0-service.rc"],
94 "android.hardware.health@2.1",
128 "android.hardware.health@1.0-convert",
[all …]
Dhealthd_mode_charger_test.cpp33 using android::hardware::health::InitHealthdConfig;
85 class MockHealth : public android::hardware::health::V2_1::IHealth {
86 MOCK_METHOD(Return<::android::hardware::health::V2_0::Result>, registerCallback,
87 (const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback));
88 MOCK_METHOD(Return<::android::hardware::health::V2_0::Result>, unregisterCallback,
89 (const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback));
90 MOCK_METHOD(Return<::android::hardware::health::V2_0::Result>, update, ());
135 sp<NiceMock<MockHealth>> health(new NiceMock<MockHealth>()); in ExpectChargerResAt() local
136 VerifiedTestCharger charger(new NiceMock<TestCharger>(health)); in ExpectChargerResAt()
Dhealthd_mode_charger.h40 class Charger : public ::android::hardware::health::V2_1::implementation::HalHealthLoop {
42 using HealthInfo_1_0 = android::hardware::health::V1_0::HealthInfo;
43 using HealthInfo_2_1 = android::hardware::health::V2_1::HealthInfo;
45 Charger(const sp<android::hardware::health::V2_1::IHealth>& service);
Dhealthd_mode_charger_nops.cpp23 using android::hardware::health::GetHealthServiceOrDefault;
24 using android::hardware::health::V2_1::implementation::HalHealthLoop;
Dandroid.hardware.health@2.0-service.rc1 service health-hal-2-0 /vendor/bin/hw/android.hardware.health@2.0-service
Dcharger_test.cpp36 using android::hardware::health::InitHealthdConfig;
37 using android::hardware::health::V2_1::HealthInfo;
38 using android::hardware::health::V2_1::IHealth;
39 using android::hardware::health::V2_1::implementation::Health;
Dcharger_utils.h23 namespace health {
/system/core/healthd/include/healthd/
DBatteryMonitor.h30 namespace health {
61 const android::hardware::health::V1_0::HealthInfo& getHealthInfo_1_0() const;
62 const android::hardware::health::V2_0::HealthInfo& getHealthInfo_2_0() const;
63 const android::hardware::health::V2_1::HealthInfo& getHealthInfo_2_1() const;
69 static void logValues(const android::hardware::health::V2_1::HealthInfo& health_info,
78 std::unique_ptr<android::hardware::health::V2_1::HealthInfo> mHealthInfo;
/system/core/storaged/
Dstoraged.cpp69 using android::hardware::health::V1_0::BatteryStatus;
70 using android::hardware::health::V1_0::toString;
71 using android::hardware::health::V2_0::get_health_service;
72 using android::hardware::health::V2_0::HealthInfo;
73 using android::hardware::health::V2_0::IHealth;
74 using android::hardware::health::V2_0::Result;
90 mDsm = std::make_unique<disk_stats_monitor>(health); in init()
91 storage_info.reset(storage_info_t::get_storage_info(health)); in init()
98 health = get_health_service(); in init_health_service()
99 if (health == NULL) { in init_health_service()
[all …]
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_health.te7 # Common rules for a health service.
16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
26 # Allow to use timerfd to wake itself up periodically to send health info.
/system/sepolicy/public/
Dhal_health.te7 # Common rules for a health service.
16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
26 # Allow to use timerfd to wake itself up periodically to send health info.
Dbootstat.te15 # ToDo: TBI move access for the following to a system health HAL
22 # Allow access to reading the logs to read aspects of system health
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_health.te7 # Common rules for a health service.
16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
26 # Allow to use timerfd to wake itself up periodically to send health info.
/system/sepolicy/prebuilts/api/31.0/public/
Dhal_health.te7 # Common rules for a health service.
16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
26 # Allow to use timerfd to wake itself up periodically to send health info.
Dbootstat.te15 # ToDo: TBI move access for the following to a system health HAL
22 # Allow access to reading the logs to read aspects of system health
/system/core/storaged/include/
Dstoraged.h78 class storaged_t : public android::hardware::health::V2_0::IHealthInfoCallback,
86 sp<android::hardware::health::V2_0::IHealth> health; variable
139 const ::android::hardware::health::V2_0::HealthInfo& info);
Dstoraged_info.h74 const sp<android::hardware::health::V2_0::IHealth>& healthService);
108 using IHealth = hardware::health::V2_0::IHealth;
109 using StorageInfo = hardware::health::V2_0::StorageInfo;
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_health.te13 # Common rules for a health service.
22 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
Dbootstat.te19 # ToDo: TBI move access for the following to a system health HAL
26 # Allow access to reading the logs to read aspects of system health
/system/vold/
DAndroid.bp167 "android.hardware.health.storage@1.0",
168 "android.hardware.health.storage-V1-ndk_platform",
201 "android.hardware.health.storage@1.0",
202 "android.hardware.health.storage-V1-ndk_platform",
/system/core/fastboot/device/
Dfastboot_device.h60 android::sp<android::hardware::health::V2_0::IHealth> health_hal() { return health_hal_; } in health_hal()
70 android::sp<android::hardware::health::V2_0::IHealth> health_hal_;
/system/sepolicy/prebuilts/api/29.0/private/
Dhealthd.te5 # Allow healthd to serve health HAL
/system/sepolicy/prebuilts/api/30.0/private/
Dhealthd.te5 # Allow healthd to serve health HAL
/system/sepolicy/prebuilts/api/28.0/private/
Dhealthd.te5 # Allow healthd to serve health HAL
/system/sepolicy/vendor/
Dhal_health_default.te1 # health info abstraction

1234