62e840fc446a3479b039c5e60c0290554b808e2d |
|
17-Nov-2016 |
Yifan Hong <elsk@google.com> |
Split libhidl into base and transport. Bug: 32756130 Test: mma Change-Id: I1b897d3984b0faf636d40b862b14872ce5d5aa9b
/system/core/healthd/Android.mk
|
a3681954b4241c8322d48a973be038df64ee0af4 |
|
09-Nov-2016 |
Sandeep Patil <sspatil@google.com> |
healthd: start using the new Health hal Subsequently moves the default board hooks to hardware/interface/health where the new HAL is defined. This change removes 'healthd's dependency on libhealthd.<target> static hal. The dependency has now been *temporarily* moved to the new HAL implementation in hardware/interfaces/health. 'charger' continues to depend the static HAL. Test: Tested healthd with and without a board specific health HAL on Angler. Bug: b/32724915 Change-Id: I35b56bacde7ded0517bc960f35538d6ca46e6b06 Signed-off-by: Sandeep Patil <sspatil@google.com>
/system/core/healthd/Android.mk
|
526f8cf339f6c215d2d89924824b674cb99cfcc9 |
|
02-Nov-2016 |
Sandeep Patil <sspatil@google.com> |
healthd: refactor healthd code to split into 'charger' and 'healthd' This splits healthd code into 2 pieces as described below. charger - statically linked executable in /sbin - responsible for charger-mode UI - battery/charger monitoring in recovery/charger-mode. healthd - dynamically linked (*mostly*) executable in /system/bin - responsible for battery / charger monitoring in Android - runs 'batteryproperties' service. Both currently use libhealthd STATIC HALs. However, this now paves way for the healthd (android) HAL to be a shared library that can be trebelized. text data bss dec hex filename 733356 15312 33864 782532 bf0c4 root/sbin/charger 55943 10392 192 66527 103df system/bin/healthd 789299 25704 34056 849059 cf4a3 (TOTALS) Test: Tested recovery, charge-only and android boot with new binaries with and without STATIC HAL. Change-Id: I80f94948dda44d466f172d234b3fcc9064ef2476 Signed-off-by: Sandeep Patil <sspatil@google.com>
/system/core/healthd/Android.mk
|
6012db553c87f4f4b039a7d42e3b80ce9480f20f |
|
01-Nov-2016 |
Sandeep Patil <sspatil@google.com> |
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>
/system/core/healthd/Android.mk
|
fca824408006a34c1fdfa4c43237fb24076f324a |
|
01-Nov-2016 |
Sandeep Patil <sspatil@google.com> |
healthd: refactor to split charger and framework facing code The charger code lands in 'libhealthd_charger' and androoid/framework facing code is now compiled into 'libhealtdh_android' (formerly libhealthd_internal). This is a pre-cursor to eventually splitting healthd into 2 binaries, viz .. 1. /sbin/charger - statically linked binary to be used *only* in recovery and charge-only mode(s). 2. /system/bin/healthd - dynamically linked binary to be used *only* in Android. The static board hal (i.e libhealthd.<target>) will then be compiled twice for charger and healthd seperately, paving the way for us to seperate out the HAL for Android Test: Boot tested and verified 'healthd' works in recovery, charger-only mode and Android. Change-Id: If45213ddd14c00ea3b8e1759cfd99286ca1ef2ea Signed-off-by: Sandeep Patil <sspatil@google.com>
/system/core/healthd/Android.mk
|
836a4045256b61c0025c3ee3b5d9f66c9f67546e |
|
25-Oct-2016 |
Tom Cherry <tomcherry@google.com> |
resolve merge conflicts of 4897bb5 to nyc-mr2-dev-plus-aosp Change-Id: Iacad26a1b27d032e7abd1c7c23a8ee87d61d0aa4
|
e204690ae7521726711b3b16f29c5e52a980ebb3 |
|
24-Oct-2016 |
Nick Vaccaro <nvaccaro@google.com> |
resolve merge conflicts of 7c5aeb0 to nyc-mr2-dev-plus-aosp Test: make healthd Change-Id: I6dd20f5da5d2a9858d49db5556d8956a67ebf962
|
e3083dec0fc14c125eadf0bdd94bb9c65d2f6d68 |
|
24-Oct-2016 |
Nick Vaccaro <nvaccaro@google.com> |
Enable CHARGER_ENABLE_SUSPEND to allow suspend Fixed a bug in makefile that was keeping CHARGER_ENABLE_SUSPEND from getting properly set, so healthd was not trying to put kernel into suspend. Bug: 32162033 Change-Id: If054d7996fa5734285cbcd7d497492570076c141
/system/core/healthd/Android.mk
|
1f1a6fdac88650c135b1f113330e5c47d85c25e5 |
|
22-Oct-2016 |
Nick Vaccaro <nvaccaro@google.com> |
healthd: allow override of wake interval timing Devices can now override DEFAULT_PERIODIC_CHORES_INTERVAL_FAST and DEFAULT_PERIODIC_CHORES_INTERVAL_SLOW by defining a value for BOARD_PERIODIC_CHORES_INTERVAL_FAST and/or BOARD_PERIODIC_CHORES_INTERVAL_SLOW in the device's BoardConfig.mk file. Bug: 32162033 Change-Id: I956fd4760893ae6c2eb3a3af586353d4d66daf25
/system/core/healthd/Android.mk
|
afd59e2f1126fd5ce7b8a7036be9e2696437ba85 |
|
13-Sep-2016 |
Damien Bargiacchi <drb@google.com> |
resolve merge conflicts of 565ba02 to nyc-mr1-dev-plus-aosp Change-Id: Ic2152775c96dc28f808fc7b97433f8c3d2135948
|
565ba02b89b64deb8bf7232ac2c2a38b01f63523 |
|
12-Aug-2016 |
Damien Bargiacchi <drb@google.com> |
Allow customization of charger animation Allow the charging animation to be customized with a configuration file and custom assets. - Add a parser to parse a custom configuration file. - Add support for showing a clock and the battery percentage. - Expand feature that conditionally shows animation frames using min_level and level_only to min_level and max_level BUG: 29547343 Change-Id: Ia33f4bb37dc7d4c7fa6507a63481e93bf0bf9738
/system/core/healthd/Android.mk
|
3217c5c7d9612d3984af7384940ed0949b900b6a |
|
05-Jun-2016 |
Michael Scott <michael.scott@linaro.org> |
batterymonitor: simplify readFromFile and use std::string buffers In readFromFile() when a newline is not found in the data, we reset the initial character of the buffer to \0, but leave the count as is (something >0 in this case). Later in getBooleanField() we could erroneously treat a response as "true" because count would be >0 and the initial value of buf would be != '0' (set to \0 in this case). To fixup error paths such as this, we can simplify readFromFile by using android::base functions: ReadFromFileString() and Trim(). NOTES: - Converted char * buffers used with readFromFile to std::string - Removed unused variable btech from BatteryMonitor::update Testing Done: - Build healthd and recovery for angler device - Confirm that known values are being read correctly from kernel sysfs. Change-Id: I238bbff097543767f352aa084bf0acbc1324baca Signed-off-by: Michael Scott <michael.scott@linaro.org>
/system/core/healthd/Android.mk
|
8ac71c7fc69ebff609bd669c17fa5ef4a95cbadf |
|
18-Apr-2016 |
Christopher Wiley <wiley@google.com> |
Export libbinder headers from libhealhd.default Consumers of libhealthd.default will need these headers. Bug: 27804373 Change-Id: I59e8526e3491f0db528d1277b8e2f4b68ce85805 Test: Compiles.
/system/core/healthd/Android.mk
|
22399089ef071d03d5e1591ae00512243f2d13ec |
|
12-Apr-2016 |
Christopher Wiley <wiley@google.com> |
healthd: Explicitly reference headers from libbinder When creating static libs with healthd logic, explicitly reference libbinder to pick up its header include paths. Bug: 27804373 Test: healthd libs compile when libbinder's header include paths change. Change-Id: I1014eb0b73d06815c42a527c4ea7e63c35ca3530
/system/core/healthd/Android.mk
|
f6dbc6d4b830c57c0155a607d0d8a2cb6b1e0040 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: separate libbatterymonitor for use in recovery. Bug: 26879394 Change-Id: I97b5b4994c42988ce43f5085b8b4b25e9e80c9fa (cherry picked from commit e98e177a34eb3200b9f95be8379223271933b885)
/system/core/healthd/Android.mk
|
e98e177a34eb3200b9f95be8379223271933b885 |
|
17-Feb-2016 |
Yabin Cui <yabinc@google.com> |
healthd: separate libbatterymonitor for use in recovery. Bug: 26879394 Change-Id: I97b5b4994c42988ce43f5085b8b4b25e9e80c9fa
/system/core/healthd/Android.mk
|
7c5a3e12a488ab1505ec92673a0dba7c6641d0ac |
|
13-Feb-2016 |
Todd Poynor <toddpoynor@google.com> |
healthd: Add "No UI" operation for charger mode Boards can opt to have charger mode be passive, with no screen UI or key processing, the same as for recovery mode, via BOARD_CHARGER_NO_UI. The minui and associated libs and charging image files are not built into the executable in this case. Always select charger No UI operation for Brillo devices. Bug: 27170356 Change-Id: Ibe71498743353b01ce5b6521e42ed94d75547547
/system/core/healthd/Android.mk
|
82a6c845b010487d8cb9328318ea21b1b00d681c |
|
23-Oct-2015 |
Dan Albert <danalbert@google.com> |
Don't use libstdc++. No one should be using libstdc++. All the cool projects use libc++. Change-Id: Ifa357f0dcaba0b57e1af583baf2e40332c2b58d9
/system/core/healthd/Android.mk
|
27d53d3d86fdfbd35c00aa35c5313f244f43b8db |
|
24-Jan-2015 |
Trevor Drake <trevordrake.gerrit@gmail.com> |
Remove obsolete BUILD_TINY_ANDROID check from healthd makefile Change-Id: I7e23236e7725891d07368dd8ea8d667014d7dc78
/system/core/healthd/Android.mk
|
6f5b47f9144960412b0fb6bc417f0c41bf53438a |
|
16-May-2014 |
Mark Salyzyn <salyzyn@google.com> |
healthd: Turn on -Werror Change-Id: I72caf38008ee7d842dfacd3f58add9bc8e4787e8
/system/core/healthd/Android.mk
|
ee6ef15e677fd3168b4a0d221175fbf0ecd96ff5 |
|
11-Mar-2014 |
Doug Zongker <dougz@android.com> |
remove pixelflinger from healthd The minui library has changed to no longer use libpixelflinger. It also offers a more efficient way of storing and loading frames of animation; use it to represent the battery-full state images. Also removes the unused battery_charge.png image. Bug: 12131110 Change-Id: I6cc8b19f36a806c99cda30cc47b5968daf6b333b
/system/core/healthd/Android.mk
|
c4d6ade8394c84bf8f15147f4b31f5fcb7f60120 |
|
20-Sep-2013 |
Ying Wang <wangying@google.com> |
Install the nonexistent-source symlink as a post-install step Previously because /sbin/healthd does not exist on the build host, make always tries to rebuild the symlink even in an already-up-to-date tree. Change-Id: I41201282281476b14eaf4c7d9b2e09fe367c1422
/system/core/healthd/Android.mk
|
fea5b4d44b2f646a4befb6be92ddc3987b38bb36 |
|
09-Sep-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: move charger executable to healthd charger mode * Add healthd charger mode ops * Check for executable invocation as "charger", set charger mode if so * Incorporate charger executable as healthd charger mode Change-Id: I4a44e7a4c3a65ae9be94491f7f498aa48d4f8a84
/system/core/healthd/Android.mk
|
c7464c9150eb63ad277cc5b5f704f4fd5e6678c5 |
|
10-Sep-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: move Android communication code to separate source * add ops for different "modes" of healthd operation: android vs. recovery * recovery mode selected by runstring options -r * binder/Android communication moved to android mode * recovery mode ops avoiding binder service registration * "no service manager" flag removed; now handled by android vs. other modes Change-Id: I3d8c89bf96a18a6a00cc85306f9a07d3f408f2a0
/system/core/healthd/Android.mk
|
d65104ca31766922537c79ec2d7647584723407c |
|
14-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: switch to HAL static libraries Change-Id: I5a802f9b9a8ad4782c4d0c6376a068aef32a70cb
/system/core/healthd/Android.mk
|
10b235e7436256da9adc827125645f141bd8fac9 |
|
08-Aug-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: add health HAL support Adds board-specific battery monitoring capabilities: * processing of battery property values and additional charging logic. * adjusted (or removed) polling intervals. * replaced (or removed) battery status heartbeat in kernel log. Change-Id: Ia77bca8dc92c6c2a51afa65d516cacca08da73ac
/system/core/healthd/Android.mk
|
752faf2c18407fd79127fb3f3773910b4ddf669d |
|
12-Jun-2013 |
Todd Poynor <toddpoynor@google.com> |
healthd: Add system health monitoring daemon Initially moving battery health monitoring here. Command line flag -n tells healthd not to use (or wait for) servicemanager in this execution, for charger and recovery modes. Change-Id: I1720594724af0c068497b359f9c6ad65aeaa1519
/system/core/healthd/Android.mk
|