platform_system_core/healthd
Inseob Kim 1dee49736c Implement sysprop_library API stability check
sysprop_library now checks the API stability itself, cutting dependency
on java_sdk_library. Under the directory {module_dir}/api,
{module_name}-current.txt and {module_name}-latest.txt hold API
signatures.

When sysprop_library is built, or a user run "m {module_name}-check-api"
command, API check is performed. First, current.txt must have exactly
same signature with built sysprop_library module. Second, current.txt
must be compatible with latest.txt.

Build system emits a handy error message to generate/update those API
files, in case of missing or mismatching. Also, a script file for
freezing API files is introduced.

Bug: 131637873
Test: 1) m && boot blueline
Test: 2) m {sysprop_library} performs API check
Test: 3) manual test for check-api, freezing api
Change-Id: I6b95eebafaf88ad326be5d7c890e000cbdb79cb5
Merged-In: I6b95eebafaf88ad326be5d7c890e000cbdb79cb5
Merged-In: I704f2ad45e62c15d9ffb13aa553f8fac9022bdc9
(cherry picked from commit f711999132)
2019-08-23 06:29:38 +00:00
..
api Implement sysprop_library API stability check 2019-08-23 06:29:38 +00:00
images
include/healthd healthd.h: add ignorePowerSupplyNames to healthd_config 2019-01-11 18:08:23 -08:00
tests Allow customization of charger animation 2016-09-12 21:07:27 -07:00
Android.bp healthd: Convert libhealthd_{draw,charger} to Soong. 2019-07-24 17:01:40 -07:00
android.hardware.health@2.0-service.rc health: Add CAP_WAKE_ALARM to service via init 2019-01-04 02:24:41 +01:00
Android.mk healthd: Convert libhealthd_{draw,charger} to Soong. 2019-07-24 17:01:40 -07:00
animation.h healthd: charger loads resources from /product 2019-01-28 14:46:53 -08:00
AnimationParser.cpp healthd: remove unused variable. 2019-07-24 17:01:40 -07:00
AnimationParser.h Allow customization of charger animation 2016-09-12 21:07:27 -07:00
BatteryMonitor.cpp healthd.h: add ignorePowerSupplyNames to healthd_config 2019-01-11 18:08:23 -08:00
charger.cpp healthd: charger use runtime sysprops instead. 2019-07-24 17:01:40 -07:00
charger.sysprop healthd: charger use runtime sysprops instead. 2019-07-24 17:01:40 -07:00
charger_test.cpp healthd: clean up unused code 2017-11-30 15:34:46 -08:00
healthd.rc healthd: add healthd.rc 2018-04-04 14:08:04 -07:00
healthd_draw.cpp healthd: charger use runtime sysprops instead. 2019-07-24 17:01:40 -07:00
healthd_draw.h charger: minui error handling fixups 2018-07-30 08:45:52 -07:00
healthd_mode_charger.cpp healthd: charger use runtime sysprops instead. 2019-07-24 17:01:40 -07:00
healthd_mode_charger.h healthd: Add charger.recovery module. 2019-03-06 14:41:47 -08:00
healthd_mode_charger_nops.cpp healthd: Add charger.recovery module. 2019-03-06 14:41:47 -08:00
healthd_mode_charger_nops.h healthd: Add charger.recovery module. 2019-03-06 14:41:47 -08:00
HealthServiceDefault.cpp healthd: move HealthServiceCommon 2018-01-22 12:34:04 -08:00
HealthServiceHealthd.cpp healthd: move HealthServiceCommon 2018-01-22 12:34:04 -08:00
manifest_healthd.xml healthd use vintf_fragments 2018-07-17 11:57:38 -07:00
OWNERS healthd: update owners 2019-01-28 14:55:39 -08:00