Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothManager.java59 mBluetoothHeadset = new BluetoothHeadsetProxy((BluetoothHeadset) proxy);
60 Log.v(this, "- Got BluetoothHeadset: " + mBluetoothHeadset);
75 mBluetoothHeadset = null;
76 Log.v(this, "Lost BluetoothHeadset: " + mBluetoothHeadset);
124 private BluetoothHeadsetProxy mBluetoothHeadset; field in BluetoothManager
141 if (!mBluetoothHeadset.connectAudio()) {
211 if (mBluetoothHeadset != null) { in isBluetoothAvailable()
212 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices(); in isBluetoothAvailable()
218 Log.v(this, "state = " + mBluetoothHeadset.getConnectionState(device) in isBluetoothAvailable()
233 if (mBluetoothHeadset == null) { in isBluetoothAudioConnected()
[all …]
DBluetoothHeadsetProxy.java33 private BluetoothHeadset mBluetoothHeadset; field in BluetoothHeadsetProxy
36 mBluetoothHeadset = headset; in BluetoothHeadsetProxy()
42 mBluetoothHeadset.clccResponse(index, direction, status, mode, mpty, number, type); in clccResponse()
48 mBluetoothHeadset.phoneStateChanged(numActive, numHeld, callState, number, type); in phoneStateChanged()
52 return mBluetoothHeadset.getConnectedDevices(); in getConnectedDevices()
56 return mBluetoothHeadset.getConnectionState(device); in getConnectionState()
60 return mBluetoothHeadset.isAudioConnected(device); in isAudioConnected()
64 return mBluetoothHeadset.connectAudio(); in connectAudio()
68 return mBluetoothHeadset.disconnectAudio(); in disconnectAudio()
DBluetoothPhoneServiceImpl.java408 mBluetoothHeadset = null;
436 private BluetoothHeadsetProxy mBluetoothHeadset; field in BluetoothPhoneServiceImpl
481 mBluetoothHeadset = bluetoothHeadset; in setBluetoothHeadset()
653 if (mBluetoothHeadset != null) { in sendClccForCall()
654 mBluetoothHeadset.clccResponse( in sendClccForCall()
661 if (mBluetoothHeadset != null) { in sendClccEndMarker()
662 mBluetoothHeadset.clccResponse(0 /* index */, 0, 0, 0, false, null, 0); in sendClccEndMarker()
743 if (mBluetoothHeadset != null && in updateHeadsetWithCallState()
779 mBluetoothHeadset.phoneStateChanged( in updateHeadsetWithCallState()
799 mBluetoothHeadset.phoneStateChanged( in updateHeadsetWithCallState()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java74 private BluetoothHeadset mBluetoothHeadset; field in CallNotifier
255 if (mBluetoothHeadset != null) { in resetAudioStateAfterDisconnect()
256 mBluetoothHeadset.disconnectAudio(); in resetAudioStateAfterDisconnect()
405 if (mBluetoothHeadset != null) { in run()
406 stream = mBluetoothHeadset.isAudioOn() ? AudioManager.STREAM_BLUETOOTH_SCO: in run()
728 mBluetoothHeadset = (BluetoothHeadset) proxy;
729 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
733 mBluetoothHeadset = null;