a2d49d10076d12844db30be949682e954df1d7a7 |
|
19-Aug-2017 |
Brian Duddie <bduddie@google.com> |
contexthub: Pass target API version in new fields Update default implementation to use the new fields defined explicitly for passing in target CHRE API version information, rather than adding this data into the reserved area. Bug: 64852297 Test: run CHQTS on Nanohub, rebuild test app targeting 1.2 and confirm it's interpreted correctly Change-Id: Id11f9b510a2d239d285436e119b7b8dbece4c5df
/hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
|
154b0883f920d75161f1100ed054718392e166c6 |
|
02-Jun-2017 |
Brian Duddie <bduddie@google.com> |
contexthub: Handle service death Register for notification of service death for callbacks registered with the context hub HAL. Upon this notification, unregister the callback to avoid crashing if an event occurs prior to the service coming back up. Bug: 36202367 Test: adb shell stop, confirm death notification received via log; vts-tradefed run commandAndExit vts --module VtsHalContexthubV1_0Target Change-Id: I3c25229806cb9f2a116007939c752841edbf0985
/hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
|
c6d2fd49533ae7d36f60ffe8ce61bcf1edd98bf5 |
|
12-Jan-2017 |
Brian Duddie <bduddie@google.com> |
contexthub: Explicitly pass nanoapp binary header data Parse the nanoapp binary header in the framework and pass the relevant data to the HAL explicitly in the NanoAppBinary structure. Note that not all fields from the header are carried forward into NanoAppBinary, as they are either implied by the HAL API (version, magic), or inherent in the implementation-specific data (hwHubType), or unused and will only be added via a future HAL version bump (second reserved field). Also, convert the flags field in struct MemRange to a bitmask, which is the proper representation for its use. Bug: 34182159 Test: run hello world context hub GTS test Change-Id: I13da9883b851e978d760548ec4265094ce81510a
/hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
|
3ff5260601184d52a8c9a028d6a3af150d2a6757 |
|
10-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: use log/log.h when utilizing ALOG macros Test: compile Bug: 30465923 Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
/hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
|
1bec86a18590a420f60148b90e2f266098b29bfe |
|
15-Nov-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Contexthub HAL default implementation and service. Adds the default context hub hal implementation and service. Test: Context Hub GTS tests still pass. Change-Id: I7416ce9ec8efca7f98d2bb63606f030f4e8c8ead
/hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
|