Merge Android10 QPR1 into AOSP master

Bug: 145570283
Change-Id: I1cf2c27c727211879906261ea959882821a994d4
tree: 44d800ea4bf57cbb81ce6c7a4dd42c358afe7184
  1. .checkpatch.conf
  2. .clang-format
  3. Android.bp
  4. BUILD
  5. LICENSE
  6. METADATA
  7. MODULE_LICENSE_APACHE2
  8. NOTICE
  9. OWNERS
  10. README.md
  11. WORKSPACE
  12. libnos/
  13. libnos_datagram/
  14. libnos_transport/
  15. nugget/
README.md

Generic host components for Nugget

Nugget will be used in different contexts and with different hosts. This repo contains the components that can be shared between those hosts.

nugget

The nugget directory contains items that are shared between the host and the firmware. Those include:

  • shared headers
  • service protos

libnos

libnos is a C++ library for communication with a Nugget device. It offers an interface to manage a connection and exchange data and a generator for RPC stubs based on service protos.

libnos_datagram

libnos_datagram is a C library for exchanging datagrams with a Nugget device. This directory only contains the API of the library as the different platforms will need to implement it differently.

libnos_transport

libnos_transport is a C library for communicating with a Nugget device via the transport API. This is built on top of the libnos_datagram library for exchanging datagrams.