commit | fbb3011a5dbab73aed73536e024cb68726b8d2a8 | [log] [tgz] |
---|---|---|
author | Bill Richardson <wfrichar@google.com> | Thu Feb 07 10:32:01 2019 -0800 |
committer | Bill Richardson <wfrichar@google.com> | Wed Feb 27 15:28:47 2019 -0800 |
tree | c3e3ecfd44169e06e0e060baf5323d3c51e446fe | |
parent | 01337ceea2608aafe56294b106b548d1a469e80b [diff] |
citadeld: request and cache low-power stats This requests the low-power stats from Citadel, following each burst of AP-to-Citadel traffic. The stats are merely cached for now. A future CLs will make use of them. Bug: 123950560 Test: manual Watched Citadel console to observe request appear (once), only after 0.5 seconds have elapsed since the last SPI transaction. Change-Id: Ifd72a6ce9724c0db901356c3ec01254b54cec9c6 Signed-off-by: Bill Richardson <wfrichar@google.com>
Android communicates with Nugget apps in order to implement security related HALs. Currently, those HALs are Keymaster, Weaver and OemLock.
Apps that define a protobuf service will have an app interface class autogenerated. These classes will wrap a NuggetClient
. The generator can be found in the generator
directory.
Work in progress.
Currently, everything is synchronous and just exposes the call_application()
function from the Nugget transport API. In future, asynchronous calls may be desired. Support for this could be added in:
NuggetClient
on top of call_application()
citadel
This directory contains the components to support Citadel connected to Android.