Home
last modified time | relevance | path

Searched refs:mHeadsetType (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
DBluetoothHeadsetService.java102 private int mHeadsetType; field in BluetoothHeadsetService.BluetoothRemoteHeadset
108 mHeadsetType = BluetoothHandsfree.TYPE_UNKNOWN; in BluetoothRemoteHeadset()
116 mHeadsetType = headsetType; in BluetoothRemoteHeadset()
228 mRemoteHeadsets.get(info.mRemoteDevice).mHeadsetType = type;
445 mBtHandsfree.connectHeadset(headset, mRemoteHeadsets.get(device).mHeadsetType);
485 mRemoteHeadsets.get(device).mHeadsetType = BluetoothHandsfree.TYPE_UNKNOWN; in setState()
550 mRemoteHeadsets.get(device).mHeadsetType = type; in getSdpRecordsAndConnect()
565 mRemoteHeadsets.get(device).mHeadsetType = type; in getSdpRecordsAndConnect()
579 mRemoteHeadsets.get(device).mHeadsetType = type; in getSdpRecordsAndConnect()
793 mBtHandsfree.connectHeadset(headset, cachedHeadset.mHeadsetType);
[all …]
DBluetoothHandsfree.java93 private int mHeadsetType; // TYPE_UNKNOWN when not connected field in BluetoothHandsfree
214 mHeadsetType = TYPE_UNKNOWN; // nothing connected yet in BluetoothHandsfree()
550 if (mHeadset == null || mHeadsetType == TYPE_UNKNOWN) { in isHeadsetConnected()
558 mHeadsetType = headsetType; in connectHeadset()
559 if (mHeadsetType == TYPE_HEADSET) { in connectHeadset()
598 mHeadsetType = TYPE_UNKNOWN; in disconnectHeadset()
758 return isHeadsetConnected() && mHeadsetType == TYPE_HANDSFREE && mIndicatorsEnabled in sendUpdate()
763 return isHeadsetConnected() && mHeadsetType == TYPE_HANDSFREE && mClip && in sendClipUpdate()
770 if (mHeadsetType == TYPE_HANDSFREE) { in sendRingUpdate()
1536 if (mHeadsetType == TYPE_HANDSFREE && !mServiceConnectionEstablished) { in audioOn()