Lines Matching refs:connectionState
509 int connectionState = sm.getConnectionState(device);
510 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
511 connectionState != BluetoothProfile.STATE_CONNECTING) {
637 int connectionState = sm.getConnectionState(device);
638 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
639 connectionState != BluetoothProfile.STATE_CONNECTING) {
655 int connectionState = sm.getConnectionState(device);
656 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
657 connectionState != BluetoothProfile.STATE_CONNECTING) {
674 int connectionState = sm.getConnectionState(device);
675 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
676 connectionState != BluetoothProfile.STATE_CONNECTING) {
693 int connectionState = sm.getConnectionState(device);
694 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
695 connectionState != BluetoothProfile.STATE_CONNECTING) {
713 int connectionState = sm.getConnectionState(device);
714 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
715 connectionState != BluetoothProfile.STATE_CONNECTING) {
733 int connectionState = sm.getConnectionState(device);
734 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
735 connectionState != BluetoothProfile.STATE_CONNECTING) {
757 int connectionState = sm.getConnectionState(device);
758 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
759 connectionState != BluetoothProfile.STATE_CONNECTING) {
780 int connectionState = sm.getConnectionState(device);
781 if (connectionState != BluetoothProfile.STATE_CONNECTED) {
795 int connectionState = sm.getConnectionState(device);
796 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
797 connectionState != BluetoothProfile.STATE_CONNECTING) {
813 int connectionState = sm.getConnectionState(device);
814 if (connectionState != BluetoothProfile.STATE_CONNECTED) {
827 int connectionState = sm.getConnectionState(device);
828 if (connectionState != BluetoothProfile.STATE_CONNECTED) {