Home | History | Annotate | Download | only in jni

Lines Matching full:sbluetoothavrcpinterface

36 static const btrc_interface_t *sBluetoothAvrcpInterface = NULL;
190 if (sBluetoothAvrcpInterface !=NULL) {
192 sBluetoothAvrcpInterface->cleanup();
193 sBluetoothAvrcpInterface = NULL;
202 if ( (sBluetoothAvrcpInterface = (btrc_interface_t *)
208 if ( (status = sBluetoothAvrcpInterface->init(&sBluetoothAvrcpCallbacks)) !=
211 sBluetoothAvrcpInterface = NULL;
226 if (sBluetoothAvrcpInterface !=NULL) {
227 sBluetoothAvrcpInterface->cleanup();
228 sBluetoothAvrcpInterface = NULL;
241 ALOGI("%s: sBluetoothAvrcpInterface: %p", __FUNCTION__, sBluetoothAvrcpInterface);
242 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
244 if ((status = sBluetoothAvrcpInterface->get_play_status_rsp((btrc_play_status_t)playStatus,
261 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
308 if ((status = sBluetoothAvrcpInterface->get_element_attr_rsp(numAttr, pAttrs)) !=
323 ALOGI("%s: sBluetoothAvrcpInterface: %p", __FUNCTION__, sBluetoothAvrcpInterface);
324 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
327 if ((status = sBluetoothAvrcpInterface->register_notification_rsp(BTRC_EVT_PLAY_STATUS_CHANGED,
342 ALOGI("%s: sBluetoothAvrcpInterface: %p", __FUNCTION__, sBluetoothAvrcpInterface);
343 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
355 if ((status = sBluetoothAvrcpInterface->register_notification_rsp(BTRC_EVT_TRACK_CHANGE,
369 ALOGI("%s: sBluetoothAvrcpInterface: %p", __FUNCTION__, sBluetoothAvrcpInterface);
370 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
373 if ((status = sBluetoothAvrcpInterface->register_notification_rsp(BTRC_EVT_PLAY_POS_CHANGED,
387 ALOGI("%s: sBluetoothAvrcpInterface: %p", __FUNCTION__, sBluetoothAvrcpInterface);
388 if (!sBluetoothAvrcpInterface) return JNI_FALSE;
390 if ((status = sBluetoothAvrcpInterface->set_volume((uint8_t)volume)) != BT_STATUS_SUCCESS) {