Searched refs:previousActiveDevice (Results 1 – 2 of 2) sorted by relevance
447 BluetoothDevice previousActiveDevice = null; in removeActiveDevice() local450 previousActiveDevice = mActiveDevice; in removeActiveDevice()462 && (getConnectionState(previousActiveDevice) in removeActiveDevice()466 previousActiveDevice, BluetoothProfile.STATE_DISCONNECTED, in removeActiveDevice()520 BluetoothDevice previousActiveDevice = null; in setActiveDevice() local542 previousActiveDevice = mActiveDevice; in setActiveDevice()547 Log.d(TAG, "Switch A2DP devices to " + device + " from " + previousActiveDevice); in setActiveDevice()554 if (previousActiveDevice != null) { in setActiveDevice()556 previousActiveDevice, BluetoothProfile.STATE_DISCONNECTED, in setActiveDevice()
1150 BluetoothDevice previousActiveDevice = mActiveDevice; in setActiveDevice() local1152 if (getAudioState(previousActiveDevice) != BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in setActiveDevice()1153 if (!disconnectAudio(previousActiveDevice)) { in setActiveDevice()1155 + previousActiveDevice); in setActiveDevice()1156 mActiveDevice = previousActiveDevice; in setActiveDevice()1157 mNativeInterface.setActiveDevice(previousActiveDevice); in setActiveDevice()1165 mActiveDevice = previousActiveDevice; in setActiveDevice()1166 mNativeInterface.setActiveDevice(previousActiveDevice); in setActiveDevice()