Lines Matching refs:sBluetoothA2dpInterface
48 static const btav_source_interface_t* sBluetoothA2dpInterface = nullptr; variable
301 if (sBluetoothA2dpInterface != nullptr) { in initNative()
303 sBluetoothA2dpInterface->cleanup(); in initNative()
304 sBluetoothA2dpInterface = nullptr; in initNative()
326 sBluetoothA2dpInterface = in initNative()
329 if (sBluetoothA2dpInterface == nullptr) { in initNative()
340 bt_status_t status = sBluetoothA2dpInterface->init( in initNative()
346 sBluetoothA2dpInterface = nullptr; in initNative()
361 if (sBluetoothA2dpInterface != nullptr) { in cleanupNative()
362 sBluetoothA2dpInterface->cleanup(); in cleanupNative()
363 sBluetoothA2dpInterface = nullptr; in cleanupNative()
377 ALOGI("%s: sBluetoothA2dpInterface: %p", __func__, sBluetoothA2dpInterface); in connectA2dpNative()
379 if (!sBluetoothA2dpInterface) { in connectA2dpNative()
392 bt_status_t status = sBluetoothA2dpInterface->connect(bd_addr); in connectA2dpNative()
402 ALOGI("%s: sBluetoothA2dpInterface: %p", __func__, sBluetoothA2dpInterface); in disconnectA2dpNative()
404 if (!sBluetoothA2dpInterface) { in disconnectA2dpNative()
417 bt_status_t status = sBluetoothA2dpInterface->disconnect(bd_addr); in disconnectA2dpNative()
427 ALOGI("%s: sBluetoothA2dpInterface: %p", __func__, sBluetoothA2dpInterface); in setSilenceDeviceNative()
429 if (!sBluetoothA2dpInterface) { in setSilenceDeviceNative()
444 sBluetoothA2dpInterface->set_silence_device(bd_addr, silence); in setSilenceDeviceNative()
454 ALOGI("%s: sBluetoothA2dpInterface: %p", __func__, sBluetoothA2dpInterface); in setActiveDeviceNative()
456 if (!sBluetoothA2dpInterface) { in setActiveDeviceNative()
470 bt_status_t status = sBluetoothA2dpInterface->set_active_device(bd_addr); in setActiveDeviceNative()
481 ALOGI("%s: sBluetoothA2dpInterface: %p", __func__, sBluetoothA2dpInterface); in setCodecConfigPreferenceNative()
483 if (!sBluetoothA2dpInterface) { in setCodecConfigPreferenceNative()
500 sBluetoothA2dpInterface->config_codec(bd_addr, codec_preferences); in setCodecConfigPreferenceNative()