[HAL] Added select_audio_role API in profile init 58/150158/1
authorAtul Rai <a.rai@samsung.com>
Thu, 14 Sep 2017 11:51:36 +0000 (17:21 +0530)
committerAtul Rai <a.rai@samsung.com>
Thu, 14 Sep 2017 11:51:36 +0000 (17:21 +0530)
commita61009f831d3d665ad7236ddb429851645384d4e
treeb8da6eb67f67dbf681c6a81ffb0c533b8bef76ba
parent73194b21fee0c3e2274830d6345455da1ccc5838
[HAL] Added select_audio_role API in profile init

This patch does following:
1/ Add select_audio_role() API and invoke it from withing
corresponding profile init function.
2/ Invoke register_media_player API from AVRCP Target init.
3/ Remove excess logs from BlueZ HAL.

Change-Id: I27cab78c2657d72107b18ad375f5a9ecb72bbe7a
Signed-off-by: Atul Rai <a.rai@samsung.com>
14 files changed:
bt-oal/bluez_hal/src/bt-hal-a2dp-sink-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-a2dp-sink-dbus-handler.h
bt-oal/bluez_hal/src/bt-hal-a2dp-sink.c
bt-oal/bluez_hal/src/bt-hal-adapter-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-av-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-av-dbus-handler.h
bt-oal/bluez_hal/src/bt-hal-av.c
bt-oal/bluez_hal/src/bt-hal-avrcp-tg.c
bt-oal/bluez_hal/src/bt-hal-avrcp-tg.h
bt-oal/bluez_hal/src/bt-hal-bluetooth.c
bt-oal/bluez_hal/src/bt-hal-dbus-common-utils.c
bt-oal/bluez_hal/src/bt-hal-dbus-common-utils.h
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
bt-oal/bluez_hal/src/bt-hal-gap-agent.c