Home
last modified time | relevance | path

Searched refs:mJavaInterface (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp37 static jobject mJavaInterface; variable
222 mJavaInterface = env->NewGlobalRef(object); in initNative()
265 env->DeleteGlobalRef(mJavaInterface); in cleanupNative()
266 mJavaInterface = nullptr; in cleanupNative()
313 if (!sCallbackEnv.valid() || !mJavaInterface) return; in sendMediaKeyEvent()
315 mJavaInterface, method_sendMediaKeyEvent, key, in sendMediaKeyEvent()
449 if (!sCallbackEnv.valid() || !mJavaInterface) return SongInfo(); in getSongInfo()
452 sCallbackEnv->CallObjectMethod(mJavaInterface, method_getCurrentSongInfo); in getSongInfo()
460 if (!sCallbackEnv.valid() || !mJavaInterface) return PlayStatus(); in getCurrentPlayStatus()
464 sCallbackEnv->CallObjectMethod(mJavaInterface, method_getPlaybackStatus); in getCurrentPlayStatus()
[all …]