Lines Matching refs:connectionState

447         int connectionState = mStateMachine.getConnectionState(device);
448 if (connectionState == BluetoothProfile.STATE_CONNECTED ||
449 connectionState == BluetoothProfile.STATE_CONNECTING) {
460 int connectionState = mStateMachine.getConnectionState(device);
461 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
462 connectionState != BluetoothProfile.STATE_CONNECTING) {
509 int connectionState = mStateMachine.getConnectionState(device);
510 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
511 connectionState != BluetoothProfile.STATE_CONNECTING) {
523 int connectionState = mStateMachine.getConnectionState(device);
524 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
525 connectionState != BluetoothProfile.STATE_CONNECTING) {
569 int connectionState = mStateMachine.getConnectionState(device);
570 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
571 connectionState != BluetoothProfile.STATE_CONNECTING) {
581 int connectionState = mStateMachine.getConnectionState(device);
582 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
583 connectionState != BluetoothProfile.STATE_CONNECTING) {
594 int connectionState = mStateMachine.getConnectionState(device);
595 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
596 connectionState != BluetoothProfile.STATE_CONNECTING) {
607 int connectionState = mStateMachine.getConnectionState(device);
608 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
609 connectionState != BluetoothProfile.STATE_CONNECTING) {
621 int connectionState = mStateMachine.getConnectionState(device);
622 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
623 connectionState != BluetoothProfile.STATE_CONNECTING) {
635 int connectionState = mStateMachine.getConnectionState(device);
636 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
637 connectionState != BluetoothProfile.STATE_CONNECTING) {
648 int connectionState = mStateMachine.getConnectionState(device);
649 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
650 connectionState != BluetoothProfile.STATE_CONNECTING) {
662 int connectionState = mStateMachine.getConnectionState(device);
663 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
664 connectionState != BluetoothProfile.STATE_CONNECTING) {
675 int connectionState = mStateMachine.getConnectionState(device);
676 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
677 connectionState != BluetoothProfile.STATE_CONNECTING) {
688 int connectionState = mStateMachine.getConnectionState(device);
689 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
690 connectionState != BluetoothProfile.STATE_CONNECTING) {
700 int connectionState = mStateMachine.getConnectionState(device);
701 if (connectionState != BluetoothProfile.STATE_CONNECTED) {
709 int connectionState = mStateMachine.getConnectionState(device);
710 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
711 connectionState != BluetoothProfile.STATE_CONNECTING) {
722 int connectionState = mStateMachine.getConnectionState(device);
723 if (connectionState != BluetoothProfile.STATE_CONNECTED) {
731 int connectionState = mStateMachine.getConnectionState(device);
732 if (connectionState != BluetoothProfile.STATE_CONNECTED) {