Searched refs:previousActiveDevice (Results 1 – 2 of 2) sorted by relevance
451 BluetoothDevice previousActiveDevice = null; in removeActiveDevice() local454 previousActiveDevice = mActiveDevice; in removeActiveDevice()466 && (getConnectionState(previousActiveDevice) in removeActiveDevice()470 previousActiveDevice, BluetoothProfile.STATE_DISCONNECTED, in removeActiveDevice()523 BluetoothDevice previousActiveDevice = null; in setActiveDevice() local545 previousActiveDevice = mActiveDevice; in setActiveDevice()550 Log.d(TAG, "Switch A2DP devices to " + device + " from " + previousActiveDevice); in setActiveDevice()557 if (previousActiveDevice != null) { in setActiveDevice()559 previousActiveDevice, BluetoothProfile.STATE_DISCONNECTED, in setActiveDevice()
1206 BluetoothDevice previousActiveDevice = mActiveDevice; in setActiveDevice() local1208 if (getAudioState(previousActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice()1209 if (!disconnectAudio(previousActiveDevice)) { in setActiveDevice()1211 + previousActiveDevice); in setActiveDevice()1212 mActiveDevice = previousActiveDevice; in setActiveDevice()1213 mNativeInterface.setActiveDevice(previousActiveDevice); in setActiveDevice()1221 mActiveDevice = previousActiveDevice; in setActiveDevice()1222 mNativeInterface.setActiveDevice(previousActiveDevice); in setActiveDevice()