No description
Find a file
Yifan Hong 50c9e25251 [REFACTOR] health 2.0: healthd_common -> libhealthloop
This change converts the original healthd_common.cpp to a
C++ class, HealthLoop, that manages the infinite loop in health-related
modules (charger, health HAL, healthd, etc.). By doing so, the global
static variables (including FDs and healthd_mode_ops) are cleaned up.

This helps us implement health HAL 2.1.

In order to support legacy modules (namely, healthd, charger, health HAL
2.0, which all depends on android.hardware.health@2.0-impl), a
healthd_common_adapter.cpp file is added to
android.hardware.health@2.0-impl, so that the following functions
in healthd/healthd.h continues to be implemented using the global
healthd_mode_ops:
    - healthd_register_event
    - healthd_battery_update_internal

Test: boot up the device and run VTS test on health HAL.
Bug: 137670450
Bug: 142260281
Change-Id: Iadcfc1315155404a3600f0e1219b5bc370d96409
2019-10-14 15:24:21 -07:00
atrace/1.0 Merge "Fix log message enable -> disable" 2019-05-09 22:07:07 +00:00
audio Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'. 2019-07-31 21:08:02 +00:00
authsecret/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
automotive Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
biometrics/fingerprint/2.1 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
bluetooth Add interface info to .rc files 2019-06-25 20:00:07 +02:00
boot/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
broadcastradio Add interface info to .rc files 2019-06-25 20:00:07 +02:00
camera DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master 2019-07-09 15:22:03 -07:00
cas Convert LazyServiceRegistrar usage to singleton 2019-08-14 13:53:14 -07:00
compatibility_matrices Merge "Add current compatibility matrix for R." 2019-05-22 17:13:32 +00:00
configstore Add interface info to .rc files 2019-06-25 20:00:07 +02:00
confirmationui Merge "Add localization string for confirmationui." 2019-07-22 20:06:11 +00:00
contexthub/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
drm Add interface info to .rc files 2019-06-25 20:00:07 +02:00
dumpstate/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
fastboot/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
gatekeeper/1.0 Merge "Add interface info to .rc files" 2019-07-08 18:56:33 +00:00
gnss Add interface info to .rc files 2019-06-25 20:00:07 +02:00
graphics Add interface info to .rc files 2019-06-25 20:00:07 +02:00
health [REFACTOR] health 2.0: healthd_common -> libhealthloop 2019-10-14 15:24:21 -07:00
ir/1.0 Add default to IConsumerIr interface's initrc 2019-07-09 12:14:31 +00:00
keymaster Adding testing functionality for TAG_ROLLBACK_RESISTANCE 2019-08-15 12:46:56 -07:00
light Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
media DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master 2019-07-09 15:22:03 -07:00
memtrack/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
neuralnetworks Refactor generated NNAPI tests (follow-up) 2019-08-07 12:29:38 +01:00
nfc Add interface info to .rc files 2019-06-25 20:00:07 +02:00
oemlock/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
power Add interface info to .rc files 2019-06-25 20:00:07 +02:00
prebuilt_hashes power@1.3 is for P. 2019-04-23 12:51:21 -07:00
radio Verify there are no more current calls 2019-07-30 16:29:33 -07:00
renderscript/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
secure_element Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
sensors/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
soundtrigger soundtrigger: remove '/*' in comment. 2019-04-29 14:22:13 -07:00
tests Remove annotations with constexpr params 2019-08-06 17:32:40 -07:00
tetheroffload Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
thermal Add interface info to .rc files 2019-06-25 20:00:07 +02:00
tv Adding default HDMI CEC impl 2019-07-17 11:13:29 -07:00
usb Add interface info to .rc files 2019-06-25 20:00:07 +02:00
vibrator Add interface info to .rc files 2019-06-25 20:00:07 +02:00
vr/1.0 Add interface info to .rc files 2019-06-25 20:00:07 +02:00
weaver/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
wifi WifiHal: Correct typo for code comment 2019-08-06 12:03:28 +08:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp Package all VTS binaries for HALs as part of general-tests 2018-12-03 20:00:08 +00:00
CleanSpec.mk configstore: configstore HAL uprev'ed to 1.1 2018-05-23 15:48:36 -07:00
current.txt WifiHal: Correct typo for code comment 2019-08-06 12:03:28 +08:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add restricted OWNERS for .hal/.aidl files. 2019-08-09 15:07:49 -07:00
PREUPLOAD.cfg Keymaster should be developed in AOSP 2019-08-01 15:52:53 -07:00
update-base-files.sh graphics: add graphics common 1.1 HAL with new pixel formats and usages. 2018-01-19 10:16:22 -08:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 18:39:29 +00:00