Bluetooth: Added API to get Remote Supported feature

Added new API to get the Remote supported features
from bluedroid.

CRs-fixed: 594652
Change-Id: I0ad3daf1756d6eae9e633b01b20b884f6c8e5bed

Bluetooth: Check A2dp device priority.

For incoming connections stack does not check priority
of device.Add support to check priority of device in stack
for incoming connection.

Change-Id: Icc78d22048800bd448a93f96ab31e2673ce28dca
CRs-Fixed: 510957
diff --git a/include/hardware/bt_av.h b/include/hardware/bt_av.h
index 5252a17..666f7f5 100644
--- a/include/hardware/bt_av.h
+++ b/include/hardware/bt_av.h
@@ -56,6 +56,10 @@
 typedef void (* btav_audio_config_callback)(bt_bdaddr_t *bd_addr,
                                                 uint32_t sample_rate,
                                                 uint8_t channel_count);
+/** Callback for connection priority of device for incoming connection
+ * btav_connection_priority_t
+ */
+typedef void (* btav_connection_priority_callback)(bt_bdaddr_t *bd_addr);
 
 /** BT-AV callback structure. */
 typedef struct {
@@ -64,6 +68,7 @@
     btav_connection_state_callback  connection_state_cb;
     btav_audio_state_callback audio_state_cb;
     btav_audio_config_callback audio_config_cb;
+    btav_connection_priority_callback connection_priority_cb;
 } btav_callbacks_t;
 
 /** 
@@ -96,6 +101,9 @@
 
     /** Closes the interface. */
     void  (*cleanup)( void );
+
+    /** Send priority of device to stack*/
+    void (*allow_connection)( int is_valid );
 } btav_interface_t;
 
 __END_DECLS