Home | History | Annotate | Download | only in phone

Lines Matching refs:STATE_CONNECTED

125                state == BluetoothHeadset.STATE_CONNECTED) {
226 case BluetoothHeadset.STATE_CONNECTED:
257 if ((state == BluetoothHeadset.STATE_CONNECTED ||
444 BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS);
487 if (prevState == BluetoothHeadset.STATE_CONNECTED) {
509 if (state == BluetoothHeadset.STATE_CONNECTED) {
572 if (mRemoteHeadsets.get(device).mState == BluetoothHeadset.STATE_CONNECTED) {
653 return headset != null && headset.mState == BluetoothHeadset.STATE_CONNECTED;
661 mRemoteHeadsets.get(device).mState != BluetoothHeadset.STATE_CONNECTED) {
673 mRemoteHeadsets.get(device).mState != BluetoothHeadset.STATE_CONNECTED) {
756 setState(device, BluetoothHeadset.STATE_CONNECTED, BluetoothHeadset.RESULT_SUCCESS);
815 if (remoteHeadset.mState == BluetoothHeadset.STATE_CONNECTED) {