Add chrePlatformId and chreVersion fields to context hub metadata
returned by getHubs(). This information will be used to make
compatibility decisions at runtime. Also, add a brief description of
CHRE to the IContexthub documentation to help clarify the
relationship between the HAL and these concepts in the CHRE API.
Bug: 31402693
Test: compile test only, this only adds fields to HIDL structures
Change-Id: Iea2436ccc23b47c4cf06040bebe1c550fe58ccb7
Add documentation to loadNanoApp() detailing the expected behavior
surrounding persistence of nanoapps across context hub reboots.
Test: none, documentation change only
Change-Id: I17db7d024cf7486749aff3816cc58b50f2f44fac
Remove context hub reboot method.
This was an unutilized method in the HAL definition.
Test: update makefiles.
Change-Id: I5d14966d6105b406e7177019e18ec06de0e04f53
Add a flag to HubAppInfo that identifies whether an app is enabled and
running, or loaded but disabled. Also, make comments for structure
fields consistently start with a capital letter, and do some minor
comment cleanup.
Test: compile test only, adding a new field to an existing structure
Change-Id: Ia033afd3903d24e45235c70da21681669a53f4bf
Adds the default context hub hal implementation and service.
Test: Context Hub GTS tests still pass.
Change-Id: I7416ce9ec8efca7f98d2bb63606f030f4e8c8ead
Change the loadNanoApp signature to take the nanoapp binary as a vector.
Add some clarifications about timing.
Remove redundant parameter hubId from callbacks.
Test: update_makefiles.sh
Change-Id: I48cc0ba0001ac80329ac83148ebefdaa7deaa8bf
Initial commit for the context hub Hal. At this point it is
largely a refactoring of the older HAL with some new abstractions.
Test: Make completes successfully
Change-Id: Ieac4b20403e6e0b3966a4f5570fbbba7151e783b