History log of /hardware/interfaces/health/2.0/default/Health.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
81b2833a2f800c69b74ed6a8c4de58322ca39b1b 05-Apr-2018 Yifan Hong <elsk@google.com> health: expand debug info.

Test: lshal -m android.hardware.health@2.0::IHealth/default
Test: lshal -m android.hardware.health@2.0::IHealth/backup

Bug: 74057048
Change-Id: Iaca0a7fd32209522d7d759342b98d6e6898595ac
/hardware/interfaces/health/2.0/default/Health.cpp
d31932aa672679dc775b88a3c30a474156dcacbb 18-Jan-2018 Hridya Valsaraju <hridya@google.com> Modify IHealthInfoCallback interface to return V2.0 HealthInfo

Bug: 71860528
Test: vts-tradefed run vts -m VtsHalHealthV2_0
Change-Id: Ie7294efa644442825baa5f08c39553c10b368e75
/hardware/interfaces/health/2.0/default/Health.cpp
759987d9394fec212b1165bfb0479e1a20e9d530 18-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic "health_report_api"

* changes:
Test API returning health information
Add an API to return Health Info
1bd377283379503203a6e29591ea67226ce9d0a6 12-Jan-2018 Hridya Valsaraju <hridya@google.com> Add an API to return Health Info

Bug: 71860528
Test: vts-tradefed run vts -m VtsHalHealthV2_0

Change-Id: I5e0defdabcd8e44b32a6eab609492ff354512e64
/hardware/interfaces/health/2.0/default/Health.cpp
81874af4a117cd25559f438f1c580d27253058ba 17-Jan-2018 Yifan Hong <elsk@google.com> IHealth: get* function return 0 on fail.

getChargeCounter, getCurrentNow, getCurrentAverage,
getCapacity, getEnergyCounter returns 0 when result is
not SUCCESS.

This is consistent with the invalid value defined
by @1.0::IHealthInfo and @2.0::IHealthInfo.
IHealthInfoCallback.healthInfoChanged() and
IHealth.getHealthInfo() both zero-fill invalid values.

This does not affect any clients, because client code
checks for result before using the value.

Test: health VTS test
Change-Id: I50e6faa5f4feb42bb1ec899e289567d6dde7e9c2
/hardware/interfaces/health/2.0/default/Health.cpp
2b520838b13f91538fbc4d0c4672e92213b48243 20-Dec-2017 Hridya Valsaraju <hridya@google.com> Add methods to health HAL interface to report storage info

The methods will report device specific storage info.

Bug: 68388678
Test: vts-tradefed run vts -m VtsHalHealthV2_0
Change-Id: I76a15f36f271312d2b49141ee1d45118be101397
/hardware/interfaces/health/2.0/default/Health.cpp
d3e3d72cf828c9bcc764ea94ef48f2cbaa4aed97 12-Dec-2017 Hridya Valsaraju <hridya@google.com> Move android.hardware.health@2.0-impl to hardware/interfaces

Move android.hardware.health@2.0-impl to hardware/interfaces
from system/core/healthd.

Bug: 70533363 63702641
Test: make -j32

Change-Id: I0e4468f2183a273b4f73606b04faff88dd7afb72
/hardware/interfaces/health/2.0/default/Health.cpp