Lines Matching refs:connectionState
355 int connectionState = mStateMachine.getConnectionState(device);
356 Log.d(TAG, "connectionState = " + connectionState);
357 if (connectionState == BluetoothProfile.STATE_CONNECTED
358 || connectionState == BluetoothProfile.STATE_CONNECTING) {
368 int connectionState = mStateMachine.getConnectionState(device);
369 if (connectionState != BluetoothProfile.STATE_CONNECTED
370 && connectionState != BluetoothProfile.STATE_CONNECTING) {
411 int connectionState = mStateMachine.getConnectionState(device);
412 if (connectionState != BluetoothProfile.STATE_CONNECTED
413 && connectionState != BluetoothProfile.STATE_CONNECTING) {
425 int connectionState = mStateMachine.getConnectionState(device);
426 if (connectionState != BluetoothProfile.STATE_CONNECTED
427 && connectionState != BluetoothProfile.STATE_CONNECTING) {
506 int connectionState = mStateMachine.getConnectionState(device);
507 if (connectionState != BluetoothProfile.STATE_CONNECTED
508 && connectionState != BluetoothProfile.STATE_CONNECTING) {
534 int connectionState = mStateMachine.getConnectionState(device);
535 if (connectionState != BluetoothProfile.STATE_CONNECTED) {
582 int connectionState = mStateMachine.getConnectionState(device);
583 if (connectionState != BluetoothProfile.STATE_CONNECTED
584 && connectionState != BluetoothProfile.STATE_CONNECTING) {