hwservicemanager will now shutdown the service when it is not in use.
This puts less restrictions on clients.
Bug: N/A
Test: build only (this is an example implementation not used on any
device)
Change-Id: I4641e727f6e4c3ca5d97d53a66b3cc0fee6f12f3
HIDL_FETCH_IDumpstateDevice isn't defined simply
because this is a binderized service and this function
would be called (to no great use) if it was installed
to a device.
Bug: N/A
Test: N/A
Change-Id: I9b660af3fe329977cdcd0c3f485af651c34416cb
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
- 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
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