Support AVRCP Controller on JNI thread

Recent changes to threading of the BTA layer require that all JNI
callbacks are performed on the JNI thread.  This change updates the APIs
to ensure that the data passed is thread safe.

Bug: 79145011
Test: Browse and Play music via AVRCP Controller.
Change-Id: Ica74507e1cc868c45b4cda8b86af832c644652ab
(cherry picked from commit 9ab4fcd9d77465af444758d2aa54686ea003b650)
2 files changed