Lines Matching refs:STATE_CONNECTED
127 state == BluetoothProfile.STATE_CONNECTED) {
238 case BluetoothProfile.STATE_CONNECTED:
269 if ((state == BluetoothProfile.STATE_CONNECTED ||
442 setState(device, BluetoothProfile.STATE_CONNECTED);
475 if (prevState == BluetoothProfile.STATE_CONNECTED) {
491 if (state == BluetoothHeadset.STATE_CONNECTED) {
538 if (mRemoteHeadsets.get(device).mState == BluetoothProfile.STATE_CONNECTED) {
600 new int[] {BluetoothProfile.STATE_CONNECTED});
670 mRemoteHeadsets.get(device).mState != BluetoothProfile.STATE_CONNECTED) {
682 mRemoteHeadsets.get(device).mState != BluetoothProfile.STATE_CONNECTED) {
742 mRemoteHeadsets.get(device).mState != BluetoothProfile.STATE_CONNECTED ||
755 mRemoteHeadsets.get(device).mState != BluetoothProfile.STATE_CONNECTED ||
790 setState(device, BluetoothProfile.STATE_CONNECTED);
849 if (remoteHeadset.mState == BluetoothProfile.STATE_CONNECTED) {