Searched refs:STATE_CONNECTED (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothProfile.java53 public static final int STATE_CONNECTED = 2; field in interface:BluetoothProfile
136 * <p> Return the set of devices which are in state {@link #STATE_CONNECTED}
154 * {@link #STATE_CONNECTED}, {@link #STATE_CONNECTING},
167 * {@link #STATE_CONNECTED}, {@link #STATE_CONNECTING},
H A DBluetoothManager.java88 * {@link BluetoothProfile#STATE_CONNECTED}, {@link BluetoothProfile#STATE_CONNECTING},
98 return BluetoothProfile.STATE_CONNECTED;
108 * <p> Return the set of devices which are in state {@link BluetoothProfile#STATE_CONNECTED}
134 new int[] { BluetoothProfile.STATE_CONNECTED });
159 * {@link BluetoothProfile#STATE_CONNECTED}, {@link BluetoothProfile#STATE_CONNECTING},
H A DBluetoothPbap.java83 public static final int STATE_CONNECTED = 2; field in class:BluetoothPbap
H A DBluetoothA2dp.java63 * {@link #STATE_CONNECTED}, {@link #STATE_DISCONNECTING}.
245 * will transition from {@link #STATE_CONNECTED} to
248 * {@link #STATE_CONNECTED} to state {@link #STATE_DISCONNECTING} to
503 case STATE_CONNECTED:
H A DBluetoothGattServer.java108 connected ? BluetoothProfile.STATE_CONNECTED :
H A DBluetoothAdapter.java337 * {@link #STATE_CONNECTED}, {@link #STATE_DISCONNECTING}.
366 public static final int STATE_CONNECTED = 2; field in class:BluetoothAdapter
1063 * @return One of {@link #STATE_CONNECTED}, {@link #STATE_DISCONNECTED},
1090 * {@link BluetoothProfile#STATE_CONNECTED},
H A DBluetoothGatt.java165 int profileState = connected ? BluetoothProfile.STATE_CONNECTED :
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java37 public static final int STATE_CONNECTED = 3; field in class:LegacyVpnInfo
83 return STATE_CONNECTED;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java133 if (adapter.getConnectionState() == BluetoothAdapter.STATE_CONNECTED) {
226 if (state == BluetoothAdapter.STATE_CONNECTED) {
H A DQuickSettings.java866 mBluetoothState.connected = (status == BluetoothAdapter.STATE_CONNECTED);
H A DQuickSettingsModel.java557 (adapter.getConnectionState() == BluetoothAdapter.STATE_CONNECTED);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java253 case BluetoothProfile.STATE_CONNECTED:
930 case BluetoothProfile.STATE_CONNECTED:
955 if (state == BluetoothProfile.STATE_CONNECTED
973 methodName, state, BluetoothProfile.STATE_CONNECTED, firedFlags, mask));
1011 case BluetoothProfile.STATE_CONNECTED:
1119 case BluetoothPan.STATE_CONNECTED:
1141 if (state == BluetoothPan.STATE_CONNECTED
1159 methodName, state, BluetoothPan.STATE_CONNECTED, firedFlags, mask));
1224 case BluetoothPan.STATE_CONNECTED:
/frameworks/base/media/java/android/media/
H A DAudioService.java2326 (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0);
2818 (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0);
3811 if (isConnected && state != BluetoothProfile.STATE_CONNECTED) {
3830 } else if (!isConnected && state == BluetoothProfile.STATE_CONNECTED) {
4082 boolean connected = (state == BluetoothProfile.STATE_CONNECTED);

Completed in 1629 milliseconds