Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
DBluetoothRepositoryImplTest.kt64 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
68 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING) in <lambda>()
74 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
89 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
101 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING) in <lambda>()
109 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
114 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING) in <lambda>()
123 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
139 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java172 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
193 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
216 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager()
238 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveHapClientConnectionStateChanged_dispatchDeviceManager()
259 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
280 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh()
300 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receivePanConnectionStateChangedWithProfile_shouldRefresh()
/frameworks/base/core/java/android/net/
DVpnProfileState.java37 public static final int STATE_CONNECTING = 1; field in VpnProfileState
46 STATE_CONNECTING,
160 case STATE_CONNECTING: in convertStateToString()
/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/bluetooth/
DBluetoothCallback.java20 import static android.bluetooth.BluetoothAdapter.STATE_CONNECTING;
179 STATE_CONNECTING,
DHearingAidProfile.java162 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
179 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DLeAudioProfile.java135 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
145 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DA2dpProfile.java132 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
149 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DHapClientProfile.java185 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
202 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
DPbapClientProfile.java125 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DSapProfile.java160 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DMapClientProfile.java161 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DMapProfile.java162 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DCsipSetCoordinatorProfile.java123 new int[] {BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DHfpClientProfile.java123 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
DA2dpSinkProfile.java114 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java194 STATE_REWINDING, STATE_BUFFERING, STATE_ERROR, STATE_CONNECTING,
268 public static final int STATE_CONNECTING = 8; field in PlaybackState
539 case PlaybackState.STATE_CONNECTING: in isActive()
579 case STATE_CONNECTING: in getStringForStateInt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastController.java42 public static final int STATE_CONNECTING = 1; field in CastController.CastDevice
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java65 MediaDeviceState.STATE_CONNECTING,
72 int STATE_CONNECTING = 1; field
190 device.setState(MediaDeviceState.STATE_CONNECTING); in connectDevice()
201 device.setState(MediaDeviceState.STATE_CONNECTING); in connectDevice()
673 if (device.getState() == MediaDeviceState.STATE_CONNECTING) { in onRequestFailed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DCastAutoAddable.kt47 it.state == CastController.CastDevice.STATE_CONNECTING in getCallback()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java181 .STATE_CONNECTING); in connectDevice_deviceNotEqualCurrentConnectedDevice_isConnectingState()
193 .STATE_CONNECTING); in connectDevice_deviceEqualCurrentConnectedDevice_notConnectingState()
414 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in onRequestFailed_checkDevicesState()
418 .STATE_CONNECTING); in onRequestFailed_checkDevicesState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java389 connecting.state = CastDevice.STATE_CONNECTING; in testUpdateState_connectedAndConnecting()
445 connecting.state = CastDevice.STATE_CONNECTING; in testExpandView_connecting_projection()
476 connecting.state = CastDevice.STATE_CONNECTING; in testExpandView_connecting_mediaRoute()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DCastAutoAddableTest.kt98 CastController.CastDevice().apply { state = CastController.CastDevice.STATE_CONNECTING } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java203 || device.state == CastDevice.STATE_CONNECTING) { in getActiveDevices()
287 } else if (device.state == CastDevice.STATE_CONNECTING) { in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java160 castDevice.state = CastController.CastDevice.STATE_CONNECTING; in hasConnectedCastDevice_notConnected()

123