Commit Graph

7 Commits

Author SHA1 Message Date
Steven Moreland
521d15c537 Make dumpstate HAL lazy.
Bug: 78509314
Test: HAL isn't running
Test: adb bugreport HAL runs
Test: HAL isn't running after bugreport finishes
Test: manually inspect state using `lshal` and logs
    using `adb logcat | grep android.hardware.dump`

(cherry picked from commit 711b806727c85d91cf805db4f78b4a9609e2bf43)

Change-Id: Ic97516a4297e7933430fb4fa3fd0109f8c1b1d0a
2018-05-07 09:35:11 -07:00
Steven Moreland
34ace43a2d Check handle for nullptr
Test: pass
Bug: 37662706
Change-Id: Ia3ec4d8e512d18b679a9d6291a8dfdc0eb0cceec
2017-05-23 16:12:34 -07:00
Sandeep Patil
fd472b82f5 dumpstate hal: use vendor toybox
Bug: 36463595
Test: Dumpstate works

Change-Id: I9f79924fe6c2c7624f97ce24dcf95f61ee165146
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-04-14 19:14:42 -07:00
Steven Moreland
92a95b2870 Dumpstate: default service implementation.
- dumpstate will not have passthrough mode. All new implementations are
  required anyway. It makes more sense to just have them binderized by
  default.

Test: compiles/put on device in right location/running
Bug: 31982882
Change-Id: Ib0c12a2e0da931060f0e9e990fb63b6c7bc9e872
2017-01-11 16:09:35 -08:00
Felipe Leme
6a276ba842 Passing title to libdumpstateutil functions.
BUG: 31982882

Test: built and ran it

Change-Id: Icf09ca272b072c78794855157f13be8cafdb6a47
2016-11-28 13:44:30 -08:00
Colin Cross
94a069e8dc Use newly introduced hidl_handle in DumpstateDefault
The dumpstate hal passes a hild_handle, but DumpstateDefault was
expecting a native_handle_t*.  This was exposed when
Id7dbc646b50f132e240bfbba719a2d36585ccc35 caused the Android.mk
file to be picked up.

Bug: 31982882
Bug: 32089785
Test: builds
Change-Id: I48c84b6d19a93ceb0641be517f378fd6aba45962
2016-11-22 21:33:24 -08:00
Felipe Leme
e83f9fbc02 Initial definition of the Dumpstate HIDL interfaces.
BUG: 31982882
Test: manually built it

Change-Id: I3dd1d681061d16059ec9cf67869f20759fb75cd0
2016-11-18 17:05:34 -08:00