/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | LegacyVpnPreference.java | 26 import static com.android.internal.net.LegacyVpnInfo.STATE_CONNECTED; 68 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) {
|
H A D | AppPreference.java | 34 public static final int STATE_CONNECTED = LegacyVpnInfo.STATE_CONNECTED; field in class:AppPreference
|
H A D | VpnSettings.java | 244 p.setState(AppPreference.STATE_CONNECTED); 283 mConnectedLegacyVpn.state == LegacyVpnInfo.STATE_CONNECTED) { 295 boolean connected = (pref.getState() == AppPreference.STATE_CONNECTED);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientService.java | 494 if (connectionState == BluetoothProfile.STATE_CONNECTED || 508 if (connectionState != BluetoothProfile.STATE_CONNECTED && 557 if (connectionState != BluetoothProfile.STATE_CONNECTED && 568 // But since we allow startVoiceRecognition in STATE_CONNECTED and 571 if (connectionState != BluetoothProfile.STATE_CONNECTED && 625 if (connectionState != BluetoothProfile.STATE_CONNECTED && 637 if (connectionState != BluetoothProfile.STATE_CONNECTED && 650 if (connectionState != BluetoothProfile.STATE_CONNECTED && 663 if (connectionState != BluetoothProfile.STATE_CONNECTED && 677 if (connectionState != BluetoothProfile.STATE_CONNECTED [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterProperties.java | 360 state == BluetoothProfile.STATE_CONNECTED || 371 case BluetoothProfile.STATE_CONNECTED: 372 return BluetoothAdapter.STATE_CONNECTED; 386 case BluetoothProfile.STATE_CONNECTED: 400 case BluetoothProfile.STATE_CONNECTED: 443 } else if (newState == BluetoothProfile.STATE_CONNECTED || 445 currHashState != BluetoothProfile.STATE_CONNECTED)) { 452 if (currHashState == BluetoothProfile.STATE_CONNECTED ||
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
H A D | Car.java | 142 private static final int STATE_CONNECTED = 2; field in class:Car 150 mConnectionState = STATE_CONNECTED; 277 mConnectionState = STATE_CONNECTED; 320 return mConnectionState == STATE_CONNECTED;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpStateMachine.java | 251 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 389 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_CONNECTED, 400 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_CONNECTED, 408 broadcastConnectionState(mIncomingDevice, BluetoothProfile.STATE_CONNECTED, 426 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 532 BluetoothProfile.STATE_CONNECTED); 534 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 567 BluetoothProfile.STATE_CONNECTED); 641 return BluetoothProfile.STATE_CONNECTED;
|
H A D | A2dpService.java | 143 if (connectionState == BluetoothProfile.STATE_CONNECTED || 156 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | BluetoothPeripheralHandover.java | 331 != BluetoothProfile.STATE_CONNECTED) { 341 BluetoothProfile.STATE_CONNECTED) { 347 if (mA2dp.getConnectionState(mDevice) != BluetoothProfile.STATE_CONNECTED) { 429 if (state == BluetoothProfile.STATE_CONNECTED) { 439 if (state == BluetoothProfile.STATE_CONNECTED) { 449 if (state == BluetoothProfile.STATE_CONNECTED) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 363 if (connectionState == BluetoothProfile.STATE_CONNECTED || 376 if (connectionState != BluetoothProfile.STATE_CONNECTED && 422 if (connectionState != BluetoothProfile.STATE_CONNECTED && 433 // But since we allow startVoiceRecognition in STATE_CONNECTED and 436 if (connectionState != BluetoothProfile.STATE_CONNECTED && 514 if (connectionState != BluetoothProfile.STATE_CONNECTED && 543 if (connectionState != BluetoothProfile.STATE_CONNECTED) { 591 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
|
H A D | HeadsetStateMachine.java | 435 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 626 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 647 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 660 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 667 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 749 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_CONNECTED, 814 BluetoothProfile.STATE_CONNECTED); 853 BluetoothProfile.STATE_CONNECTED); 855 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 1063 BluetoothProfile.STATE_CONNECTED); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
H A D | A2dpSinkStateMachine.java | 276 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 391 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_CONNECTED, 413 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_CONNECTED, 425 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_CONNECTED, 434 broadcastConnectionState(mIncomingDevice, BluetoothProfile.STATE_CONNECTED, 444 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 544 BluetoothProfile.STATE_CONNECTED); 546 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED, 601 BluetoothProfile.STATE_CONNECTED); 668 return BluetoothProfile.STATE_CONNECTED; [all...] |
H A D | A2dpSinkService.java | 124 if (connectionState == BluetoothProfile.STATE_CONNECTED || 137 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
H A D | PanService.java | 315 new int[] {BluetoothProfile.STATE_CONNECTED}); 369 return BluetoothProfile.STATE_CONNECTED; 417 if (state == BluetoothProfile.STATE_CONNECTED) { 448 if (state == BluetoothProfile.STATE_CONNECTED) { 451 (prevState == BluetoothProfile.STATE_CONNECTED || 554 if (getPanDeviceConnectionState(device) == BluetoothProfile.STATE_CONNECTED) {
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
H A D | TunerRecordingSessionWorker.java | 82 @IntDef({STATE_IDLE, STATE_CONNECTED, STATE_RECORDING}) 86 private static final int STATE_CONNECTED = 2; field in class:TunerRecordingSessionWorker 309 mSessionState = STATE_CONNECTED; 321 if (mSessionState == STATE_CONNECTED) { 330 mSessionState = STATE_CONNECTED; 335 if (mSessionState != STATE_CONNECTED) {
|
/packages/services/Car/car-lib/src/android/car/ |
H A D | Car.java | 215 private static final int STATE_CONNECTED = 2; field in class:Car 241 mConnectionState = STATE_CONNECTED; 341 mConnectionState = STATE_CONNECTED;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidService.java | 338 new int[] {BluetoothProfile.STATE_CONNECTED}); 468 if (state != BluetoothInputDevice.STATE_CONNECTED) { 482 if (state != BluetoothInputDevice.STATE_CONNECTED) { 494 if (state != BluetoothInputDevice.STATE_CONNECTED) { 508 if (state != BluetoothInputDevice.STATE_CONNECTED) { 526 if (state != BluetoothInputDevice.STATE_CONNECTED) { 544 if (state != BluetoothInputDevice.STATE_CONNECTED) { 670 return BluetoothProfile.STATE_CONNECTED;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapClientService.java | 263 if (connectionState == BluetoothProfile.STATE_CONNECTED || 282 int[] desiredStates = {BluetoothProfile.STATE_CONNECTED};
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | AvrcpControllerService.java | 188 if (states[i] == BluetoothProfile.STATE_CONNECTED) { 197 return (mConnectedDevices.contains(device) ? BluetoothProfile.STATE_CONNECTED 597 if ((newState == BluetoothProfile.STATE_CONNECTED) && 618 (oldState == BluetoothProfile.STATE_CONNECTED)) /* connection down */ 817 int oldState = (mConnectedDevices.contains(device) ? BluetoothProfile.STATE_CONNECTED 819 int newState = (connected ? BluetoothProfile.STATE_CONNECTED 833 } else if (!connected && oldState == BluetoothProfile.STATE_CONNECTED) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DockEventReceiver.java | 87 BluetoothProfile.STATE_CONNECTED);
|
H A D | Utils.java | 47 case BluetoothProfile.STATE_CONNECTED:
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothA2dpConnector.java | 63 if (state == BluetoothA2dp.STATE_CONNECTED) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapService.java | 498 case BluetoothSap.STATE_CONNECTED: 514 if (mState == BluetoothSap.STATE_CONNECTED && mRemoteDevice != null) { 544 if (getState() == BluetoothSap.STATE_CONNECTED && getRemoteDevice().equals(device)) { 545 return BluetoothProfile.STATE_CONNECTED; 822 return (service.getState() == BluetoothSap.STATE_CONNECTED
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapService.java | 510 setState(BluetoothPbap.STATE_CONNECTED); 862 return mState == BluetoothPbap.STATE_CONNECTED && mRemoteDevice.equals(device); 888 case BluetoothPbap.STATE_CONNECTED:
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapService.java | 272 setState(BluetoothMap.STATE_CONNECTED); 520 case BluetoothMap.STATE_CONNECTED: 535 if (mState == BluetoothMap.STATE_CONNECTED && mRemoteDevice != null) { 565 if (getState() == BluetoothMap.STATE_CONNECTED && getRemoteDevice().equals(device)) { 566 return BluetoothProfile.STATE_CONNECTED; 1212 return service.getState() == BluetoothMap.STATE_CONNECTED
|