platform_system_core/healthd
Sandeep Patil 6012db553c healthd: build 'charger' and 'healthd' binaries
This renames the old '/sbin/healthd' to '/sbin/charger'
which is to be only used in recovery and charger-only mode.

.. and adds a new dynamically linked executable in /system/bin/healthd
to be used as 'healthd' in Android.

   text    data     bss     dec     hex filename
 817404   36704   37960  892068   d9ca4 root/sbin/charger {was healthd}
  72717   11064   12984   96765   179fd system/bin/healthd {*new*}
 890121   47768   50944  988833   f16a1 (TOTALS)

Corresponding changes in recovery and charger-only .rc files are
required change how 'charger' is launched in each mode.

Update the seclable for healthd with the launch path in init.rc

Test: Boot tested and verified all 3 modes (recovery, charge-only,
android)

Change-Id: I4ada27a4c113258c5be1fd10adb0f58232b10024
Signed-off-by: Sandeep Patil <sspatil@google.com>
2016-11-08 07:36:07 -08:00
..
images
include/healthd healthd: move binder fd to not use EPOLLWAKEUP am: e89ea5eb85 2016-10-21 21:53:49 +00:00
tests Allow customization of charger animation 2016-09-12 21:07:27 -07:00
Android.mk healthd: build 'charger' and 'healthd' binaries 2016-11-08 07:36:07 -08:00
animation.h Allow customization of charger animation 2016-09-12 21:07:27 -07:00
AnimationParser.cpp Allow customization of charger animation 2016-09-12 21:07:27 -07:00
AnimationParser.h Allow customization of charger animation 2016-09-12 21:07:27 -07:00
BatteryMonitor.cpp Move off std::sto* function which abort on failure. 2016-10-13 15:34:05 -07:00
BatteryPropertiesRegistrar.cpp Fix clang-tidy performance warnings in healthd. 2016-07-27 16:05:50 -07:00
BatteryPropertiesRegistrar.h Fix clang-tidy performance warnings in healthd. 2016-07-27 16:05:50 -07:00
healthd.cpp healthd: Show animation before waiting on timer am: 6f8314900f 2016-10-27 04:02:17 +00:00
healthd_board_default.cpp healthd: separate libbatterymonitor for use in recovery. 2016-02-23 10:52:43 -08:00
healthd_mode_android.cpp healthd: separate libbatterymonitor for use in recovery. 2016-02-23 10:52:43 -08:00
healthd_mode_charger.cpp Always show the battery percentage unless it is unknown am: 3f0250c3cc 2016-10-25 01:36:50 +00:00