New call-in/-back functions for Controller to do vendor-specific shutdown

A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process (e.g. send HCI_RESET to BT Controller) before the caller calls
for interface cleanup() function. vendor module is responsible for calling
call-back function to notify the caller completion of vendor-specific shutdown
process.
bug 7390787

Change-Id: I6db7bd6252635805b057df172d99ec5438945b9b
3 files changed
tree: 448d13d6f0cb8fed6e9d4e7f0f205431ea8f6c91
  1. libbt-vendor/
  2. Android.mk
  3. CleanSpec.mk