I'm working on bluetooth tasks. As far as I know, bluedroid doesn't support a2dp sink function. But bluez supports sink function. So I replaced bluedroid with bluez in Android 4.4, and I saw it worked as a source. (SEE aosp-bluez) But I don't know how to make it work as a sink.
Q1) is there any way to test or use a2dp sink in the HAL layer with some tools such as haltest, btmgmt, etc? Or please let me know how to make bluez work as a sink.
Q2) in my opinion, bluez (ver 5.14) itself support a2dp sink, but it seems that AOSP don't support a2dp sink. Therefore, in order to make an app using a2dp sink, it needs making java, jni apis. Am I right?