Home
last modified time | relevance | path

Searched refs:STATE_CONNECTING (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java62 int STATE_CONNECTING = 1; field
71 STATE_CONNECTING,
357 case STATE_CONNECTING: in getConnectionStateName()
DBluetoothA2dpSink.java399 case STATE_CONNECTING: in stateToString()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java160 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
181 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
203 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
224 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
245 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh()
265 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChangedWithProfile_shouldRefresh()
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java37 public static final int STATE_CONNECTING = 2; field in LegacyVpnInfo
89 return STATE_CONNECTING; in stateFromNetworkInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java59 MediaDeviceState.STATE_CONNECTING,
64 int STATE_CONNECTING = 1; field
165 device.setState(MediaDeviceState.STATE_CONNECTING); in connectDevice()
180 device.setState(MediaDeviceState.STATE_CONNECTING); in connectDevice()
585 if (device.getState() == MediaDeviceState.STATE_CONNECTING) { in onRequestFailed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastController.java37 public static final int STATE_CONNECTING = 1; field in CastController.CastDevice
DBluetoothControllerImpl.java123 case BluetoothAdapter.STATE_CONNECTING: in stateToString()
180 return mConnectionState == BluetoothAdapter.STATE_CONNECTING; in isBluetoothConnecting()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidProfile.java126 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
143 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DA2dpProfile.java128 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
145 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DCachedBluetoothDevice.java173 case BluetoothProfile.STATE_CONNECTING: in onProfileStateChanged()
614 if (status == BluetoothProfile.STATE_CONNECTING in isBusy()
915 case BluetoothProfile.STATE_CONNECTING: in getConnectionSummary()
1028 case BluetoothProfile.STATE_CONNECTING: in getCarConnectionSummary()
DPbapClientProfile.java125 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DSapProfile.java160 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DHfpClientProfile.java123 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DMapProfile.java162 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DA2dpSinkProfile.java114 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DHeadsetProfile.java194 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java152 || device.state == CastDevice.STATE_CONNECTING) { in getActiveDevices()
202 } else if (device.state == CastDevice.STATE_CONNECTING) { in handleUpdateState()
363 if (device.state == CastDevice.STATE_CONNECTING) { in updateItems()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java156 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_CONNECTING); in testOnServiceConnected_updatesConnectionState()
178 BluetoothAdapter.STATE_CONNECTING, in testOnBluetoothStateChange_updatesConnectionState()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java182 STATE_REWINDING, STATE_BUFFERING, STATE_ERROR, STATE_CONNECTING,
255 public static final int STATE_CONNECTING = 8; field in PlaybackState
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java252 case BluetoothProfile.STATE_CONNECTING: in onReceive()
932 case BluetoothProfile.STATE_CONNECTING: in connectProfile()
1011 case BluetoothProfile.STATE_CONNECTING: in disconnectProfile()
1121 case BluetoothPan.STATE_CONNECTING: in connectPanOrIncomingPanConnection()
1224 case BluetoothPan.STATE_CONNECTING: in disconnectFromRemoteOrVerifyConnectNap()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java161 .STATE_CONNECTING); in connectDevice_deviceNotEqualCurrentConnectedDevice_isConnectingState()
174 .STATE_CONNECTING); in connectDevice_deviceEqualCurrentConnectedDevice_notConnectingState()
516 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in onRequestFailed_checkDevicesState()
520 .STATE_CONNECTING); in onRequestFailed_checkDevicesState()
DMediaDeviceTest.java456 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in setState_verifyGetState()
458 LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in setState_verifyGetState()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java207 case PlaybackState.STATE_CONNECTING:
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java274 || device.state == CastDevice.STATE_CONNECTING) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java231 connecting.state = CastDevice.STATE_CONNECTING; in testUpdateState_connectedAndConnecting()

12