Lines Matching refs:sBluetoothA2dpInterface
32 static const btav_interface_t *sBluetoothA2dpInterface = NULL;
118 if ( (sBluetoothA2dpInterface = (btav_interface_t *)
128 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
130 sBluetoothA2dpInterface = NULL;
146 if (sBluetoothA2dpInterface !=NULL) {
148 sBluetoothA2dpInterface->cleanup();
149 sBluetoothA2dpInterface = NULL;
158 if ( (sBluetoothA2dpInterface = (btav_interface_t *)
164 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
166 sBluetoothA2dpInterface = NULL;
182 if (sBluetoothA2dpInterface !=NULL) {
183 sBluetoothA2dpInterface->cleanup();
184 sBluetoothA2dpInterface = NULL;
198 ALOGI("%s: sBluetoothA2dpInterface: %p", __FUNCTION__, sBluetoothA2dpInterface);
199 if (!sBluetoothA2dpInterface) return JNI_FALSE;
208 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
219 if (!sBluetoothA2dpInterface) return JNI_FALSE;
227 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {