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

/packages/services/Telephony/src/com/android/phone/
H A DBluetoothManager.java56 private BluetoothHeadset mBluetoothHeadset; field in class:BluetoothManager
119 if (mBluetoothHeadset != null) {
120 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
127 mBluetoothHeadset.getConnectionState(device));
141 if (mBluetoothHeadset == null) {
142 if (VDBG) log("isBluetoothAudioConnected: ==> FALSE (null mBluetoothHeadset)");
145 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
151 boolean isAudioOn = mBluetoothHeadset.isAudioConnected(device);
260 if (mBluetoothHeadset != null) {
261 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
[all...]
H A DBluetoothPhoneService.java67 private BluetoothHeadset mBluetoothHeadset; field in class:BluetoothPhoneService
254 if ((mBluetoothHeadset != null) &&
267 mBluetoothHeadset.phoneStateChanged(0, mNumHeld,
271 mBluetoothHeadset.phoneStateChanged(0, mNumHeld,
288 mBluetoothHeadset.phoneStateChanged(mNumActive, mNumHeld,
316 if (mBluetoothHeadset != null) {
317 mBluetoothHeadset.phoneStateChanged(mNumActive, mNumHeld,
339 if (mBluetoothHeadset != null) {
340 mBluetoothHeadset.clccResponse(0, 0, 0, 0, false, "", 0);
345 if (mBluetoothHeadset !
[all...]
H A DCallNotifier.java140 private BluetoothHeadset mBluetoothHeadset; field in class:CallNotifier
1118 if (mBluetoothHeadset != null) {
1119 mBluetoothHeadset.disconnectAudio();
1355 if (mBluetoothHeadset != null) {
1356 stream = mBluetoothHeadset.isAudioOn() ? AudioManager.STREAM_BLUETOOTH_SCO:
1802 mBluetoothHeadset = (BluetoothHeadset) proxy;
1803 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
1807 mBluetoothHeadset = null;
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerActivity.java166 private BluetoothHeadset mBluetoothHeadset; field in class:VoiceDialerActivity
384 mBluetoothHeadset.startVoiceRecognition(mBluetoothDevice);
419 mBluetoothHeadset = (BluetoothHeadset) proxy;
421 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
425 int state = mBluetoothHeadset.getConnectionState(mBluetoothDevice);
438 mBluetoothHeadset = null;
1118 if (mBluetoothHeadset != null) {
1119 mBluetoothHeadset.stopVoiceRecognition(mBluetoothDevice);
1120 mAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
1121 mBluetoothHeadset
[all...]

Completed in 473 milliseconds