Add the BIP Server registration API to the JNI interface

In order to support the addition of a BIP OBEX server for cover art we
implemented a path for Java to pass the PSM through to the native layer.
These functions will update the SDP record's additional protocol lists
and supported features bits to contain the required cover art bits.

Tag: #feature
Bug: 153076316
Test: atest BluetoothInstrumentationTests
Test: Also enabled AVRCP 1.6, pair with a device and check the SDP
record results. Then disable AVRCP 1.6 (or the cover art feature) and
make sure the cover art SDP data is omitted.

Change-Id: Ifccde3bb61b2fe388c029a0645a956b07daea816
2 files changed