/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 167 updateProfileStatus(connectedProfile, BluetoothProfile.STATE_CONNECTED); in testTransitionFromConnectingToDisconnected() 243 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect() 253 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect() 264 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect() 276 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getTvConnectionSummary_testSingleProfileConnectDisconnect() 286 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getTvConnectionSummary_testSingleProfileConnectDisconnect() 297 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getTvConnectionSummary_testSingleProfileConnectDisconnect() 310 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() 311 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() 312 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect() [all …]
|
D | LocalBluetoothProfileManagerTest.java | 173 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback() 178 mCachedBluetoothDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback() 194 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback() 199 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEADSET); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback() 217 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager() 222 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in stateChangedHandler_receiveHearingAidConnectionStateChanged_dispatchDeviceManager() 239 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveHapClientConnectionStateChanged_dispatchDeviceManager() 244 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HAP_CLIENT); in stateChangedHandler_receiveHapClientConnectionStateChanged_dispatchDeviceManager() 260 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback() 281 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh() [all …]
|
D | BluetoothEventManagerTest.java | 199 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback() 202 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback() 380 BluetoothAdapter.STATE_CONNECTED); in dispatchAclConnectionStateChanged_aclConnected_shouldDispatchCallback() 406 BluetoothAdapter.STATE_CONNECTED); in dispatchAclConnectionStateChanged_aclConnected_shouldNotCallbackSubDevice() 419 BluetoothAdapter.STATE_CONNECTED); in dispatchAclConnectionStateChanged_findDeviceReturnNull_shouldNotDispatchCallback() 436 mCachedDevice1.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 437 mCachedDevice2.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 438 mCachedDevice1.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 439 mCachedDevice2.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 506 mCachedDevice1.onProfileStateChanged(mLeAudioProfile, BluetoothProfile.STATE_CONNECTED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() [all …]
|
D | PbapClientProfileTest.java | 69 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 71 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
D | A2dpSinkProfileTest.java | 69 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 71 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
D | HfpClientProfileTest.java | 69 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 71 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
D | HidDeviceProfileTest.java | 69 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 71 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
D | MapClientProfileTest.java | 69 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 71 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
D | SapProfileTest.java | 68 thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState() 70 isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_shouldReturnConnectionState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | A2dpProfile.java | 81 device.onProfileStateChanged(A2dpProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 131 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 148 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices() 247 } else if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED in isHighQualityAudioEnabled() 274 if (getConnectionStatus(bluetoothDevice) != BluetoothProfile.STATE_CONNECTED) { in setHighQualityAudioEnabled() 295 || getConnectionStatus(device) != BluetoothProfile.STATE_CONNECTED) { in getHighQualityAudioOptionLabel() 365 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | BluetoothCallback.java | 19 import static android.bluetooth.BluetoothAdapter.STATE_CONNECTED; 180 STATE_CONNECTED,
|
D | SapProfile.java | 75 BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 159 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 182 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | MapClientProfile.java | 75 BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 160 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 183 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | HearingAidProfile.java | 108 BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 161 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 178 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices() 326 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | MapProfile.java | 76 BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 161 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 184 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | HfpClientProfile.java | 77 HfpClientProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 122 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 190 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | A2dpSinkProfile.java | 72 … device.onProfileStateChanged(A2dpSinkProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 113 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 190 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | LeAudioProfile.java | 82 device.onProfileStateChanged(LeAudioProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 134 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 144 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices() 289 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
D | HeadsetProfile.java | 78 BluetoothProfile.STATE_CONNECTED); in onServiceConnected() 188 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices() 211 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 176 device.state = CastController.CastDevice.STATE_CONNECTED; in testStateActive_wifiEnabledAndCasting() 236 device.state = CastDevice.STATE_CONNECTED; in stateActive_wifiConnectedAndCasting_newPipeline() 252 device.state = CastDevice.STATE_CONNECTED; in stateActive_ethernetConnectedAndCasting_newPipeline() 290 device.state = CastController.CastDevice.STATE_CONNECTED; in testStateActive_hotspotEnabledAndConnectedAndCasting() 313 device.state = CastDevice.STATE_CONNECTED; in testHandleClick_castDevicePresent() 331 device.state = CastDevice.STATE_CONNECTED; in testHandleClick_projectionOnly() 348 device.state = CastDevice.STATE_CONNECTED; in testUpdateState_projectionOnly() 364 casting.state = CastDevice.STATE_CONNECTED; in testUpdateState_castingAndProjection() 369 projection.state = CastDevice.STATE_CONNECTED; in testUpdateState_castingAndProjection() 394 connected.state = CastDevice.STATE_CONNECTED; in testUpdateState_connectedAndConnecting() [all …]
|
/frameworks/base/core/java/android/net/ |
D | VpnProfileState.java | 39 public static final int STATE_CONNECTED = 2; field in VpnProfileState 45 STATE_CONNECTED, 158 case STATE_CONNECTED: in convertStateToString()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | LegacyVpnInfo.java | 38 public static final int STATE_CONNECTED = 3; field in LegacyVpnInfo 91 return STATE_CONNECTED; in stateFromNetworkInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/ |
D | BluetoothRepositoryImplTest.kt | 128 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED) in <lambda>() 134 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTED) in <lambda>() 144 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED) in <lambda>() 149 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED) in <lambda>()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSession.java | 253 private static final int STATE_CONNECTED = 1; field in SpellCheckerSession.SpellCheckerSessionListenerImpl 259 case STATE_CONNECTED: return "STATE_CONNECTED"; in stateToString() 368 case STATE_CONNECTED: in processCloseLocked() 414 mState = STATE_CONNECTED; in onServiceConnected() 449 return mState != STATE_CONNECTED; in isDisconnected() 462 if (mState != STATE_WAIT_CONNECTION && mState != STATE_CONNECTED) { in processOrEnqueueTask()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerController.java | 42 public static final int STATE_CONNECTED = 1; field in PlayerController 78 mController == null ? STATE_DISCONNECTED : STATE_CONNECTED); in setListener() 196 mListener.onConnectionStateChange(STATE_CONNECTED);
|