Merge Coral/Flame into AOSP master

Bug: 141248619
Change-Id: I4537506e4671845215e1e1bc0e98ca8d8764ccd6
Merged-In: If09e45cb0814c0253b632e76b5ad6baaf03679d4
tree: 993884265ae1cbb80d89e3dffeaf42c3f0e52133
  1. .checkpatch.conf
  2. .clang-format
  3. Android.bp
  4. LICENSE
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. NOTICE
  8. OWNERS
  9. README.md
  10. citadel/
  11. hals/
  12. manual_tests/
README.md

Android components for Nugget

Android communicates with Nugget apps in order to implement security related HALs. Currently, those HALs are Keymaster, Weaver and OemLock.

Services

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.

Asynchronous communication

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:

  • Nugget transport API
  • NuggetClient on top of call_application()
  • Generated services

citadel

This directory contains the components to support Citadel connected to Android.