Home
last modified time | relevance | path

Searched refs:mBluetoothHeadset (Results 1 – 4 of 4) sorted by relevance

/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerActivity.java166 private BluetoothHeadset mBluetoothHeadset; field in VoiceDialerActivity
384 mBluetoothHeadset.startVoiceRecognition(mBluetoothDevice); in updateBluetoothParameters()
419 mBluetoothHeadset = (BluetoothHeadset) proxy;
421 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
425 int state = mBluetoothHeadset.getConnectionState(mBluetoothDevice);
438 mBluetoothHeadset = null;
1118 if (mBluetoothHeadset != null) { in onDestroy()
1119 mBluetoothHeadset.stopVoiceRecognition(mBluetoothDevice); in onDestroy()
1120 mAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()
1121 mBluetoothHeadset = null; in onDestroy()
/packages/apps/Phone/src/com/android/phone/
DInCallScreen.java200 private BluetoothHeadset mBluetoothHeadset; field in InCallScreen
524 mBluetoothHeadset = (BluetoothHeadset) proxy;
525 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
530 mBluetoothHeadset = null;
988 if (mBluetoothHeadset != null) { in onDestroy()
989 mAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()
990 mBluetoothHeadset = null; in onDestroy()
4143 if (mBluetoothHeadset != null) { in isBluetoothAvailable()
4144 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAvailable()
4151 mBluetoothHeadset.getConnectionState(device)); in isBluetoothAvailable()
[all …]
DBluetoothHandsfree.java92 private BluetoothHeadset mBluetoothHeadset; field in BluetoothHandsfree
1457 if (mBluetoothHeadset == null) { in setAudioState()
1463 mBluetoothHeadset.setAudioState(device, state); in setAudioState()
1467 if (mBluetoothHeadset == null) return BluetoothHeadset.STATE_AUDIO_DISCONNECTED; in getAudioState()
1468 return mBluetoothHeadset.getAudioState(device); in getAudioState()
1475 mBluetoothHeadset = (BluetoothHeadset) proxy;
1478 mBluetoothHeadset.setAudioState(mHeadset.getRemoteDevice(), mAudioState);
1488 mBluetoothHeadset = null;
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverManager.java143 BluetoothHeadset mBluetoothHeadset; field in HandoverManager
791 mBluetoothHeadset == null) { in tryHandover()
800 handover.name, mHandoverPowerManager, mBluetoothA2dp, mBluetoothHeadset, this); in tryHandover()
984 mBluetoothHeadset = (BluetoothHeadset) proxy; in onServiceConnected()
998 mBluetoothHeadset = null; in onServiceDisconnected()