NFC: Modify HIDL for dynamic loading of HAL library

HIDL now uses dlopen to open a HAL shared library based
on NFC Chip ID and firmware version. if an error occurs
in dynamic library loading, a default HAL is loaded.

The dynamic loading API provides a function to close the
dynamic library and clear references to it on NFC disable.

NFC debug enabled flag is retrieved from NFC hal during
initialization of dynamic loading API.

Changes done to support common vendor image for NFC.

Change-Id: I59ebe14cf0afbfb70f758fc1b85f58d8bb60e444
5 files changed
tree: 29f2f33a80d41865daf67c0f2e77891289cc4ac1
  1. 1.0/
  2. 1.1/
  3. Android.bp
  4. prop_pickup.bp