/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 349 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout() 351 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout() 357 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout() 387 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices() 389 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices() 391 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices() 393 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices() 422 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_CONNECTING, in testConnectAnotherPair_disconnectCurrentPair() 424 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_CONNECTING, in testConnectAnotherPair_disconnectCurrentPair() 442 BluetoothProfile.STATE_CONNECTING); in testConnectAnotherPair_disconnectCurrentPair() [all …]
|
D | HearingAidStateMachineTest.java | 155 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingPriorityAccept() 199 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingTimeout() 243 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingTimeout()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 379 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout() 381 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout() 387 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout() 410 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectSuccess() 412 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectSuccess() 423 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess() 477 verifyConnectionStateIntent(TIMEOUT_MS, testDevice, BluetoothProfile.STATE_CONNECTING, in testMaxConnectDevices() 479 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testMaxConnectDevices() 490 BluetoothProfile.STATE_CONNECTING); in testMaxConnectDevices() 522 generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_CONNECTING, in testCreateStateMachineStackEvents() [all …]
|
D | A2dpStateMachineTest.java | 176 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingPriorityAccept() 223 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingTimeout() 262 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingTimeout()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 247 BluetoothProfile.STATE_CONNECTING); in testConnectDevice_connectDeviceBelowLimit() 248 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testConnectDevice_connectDeviceBelowLimit() 365 BluetoothProfile.STATE_CONNECTING); in testConnectDevice_connectDeviceAboveLimit() 469 BluetoothProfile.STATE_CONNECTING); in testConnectAudio_withMultipleDevices() 471 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING); in testConnectAudio_withMultipleDevices() 484 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testConnectAudio_withMultipleDevices() 545 BluetoothProfile.STATE_CONNECTING); in testConnectAudio_connectTwoAudioChannelsShouldFail() 547 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING); in testConnectAudio_connectTwoAudioChannelsShouldFail() 558 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testConnectAudio_connectTwoAudioChannelsShouldFail() 623 BluetoothProfile.STATE_CONNECTING); in testConnectAudio_firstConnectedAudioDevice() [all …]
|
D | HeadsetServiceAndStateMachineTest.java | 293 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in testConnectFromApi() 295 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testConnectFromApi() 299 new int[]{BluetoothProfile.STATE_CONNECTING})); in testConnectFromApi() 309 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING); in testConnectFromApi() 337 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in testUnbondDevice_disconnectBeforeUnbond() 348 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING); in testUnbondDevice_disconnectBeforeUnbond() 382 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in testUnbondDevice_disconnectAfterUnbond() 392 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING); in testUnbondDevice_disconnectAfterUnbond() 1172 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in connectTestDevice() 1173 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in connectTestDevice() [all …]
|
D | HeadsetStateMachineTest.java | 176 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED, in testStateTransition_DisconnectedToConnecting_Connect() 193 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED, in testStateTransition_DisconnectedToConnecting_StackConnected() 210 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED, in testStateTransition_DisconnectedToConnecting_StackConnecting() 244 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING, in testStateTransition_ConnectingToDisconnected_StackDisconnected() 262 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING, in testStateTransition_ConnectingToDisconnected_Timeout() 305 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING, in testStateTransition_ConnectingToConnected_StackSlcConnected() 1039 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED, in setUpConnectingState() 1058 BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED, in setUpConnectedState() 1068 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING, in setUpConnectedState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 651 || state == BluetoothProfile.STATE_CONNECTING in validateProfileConnectionState() 664 case BluetoothProfile.STATE_CONNECTING: in convertToAdapterState() 665 return BluetoothAdapter.STATE_CONNECTING; in convertToAdapterState() 674 return nextState == BluetoothProfile.STATE_CONNECTING; in isNormalStateTransition() 678 case BluetoothProfile.STATE_CONNECTING: in isNormalStateTransition() 688 case BluetoothProfile.STATE_CONNECTING: in updateCountersAndCheckForConnectionStateChange() 720 case BluetoothProfile.STATE_CONNECTING: in updateCountersAndCheckForConnectionStateChange() 768 newState == BluetoothProfile.STATE_CONNECTING in updateProfileConnectionState() 777 || currHashState == BluetoothProfile.STATE_CONNECTING) { in updateProfileConnectionState() 1003 case BluetoothAdapter.STATE_CONNECTING: in dumpConnectionState()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 73 static final int STATE_CONNECTING = 5; field in BluetoothPeripheralHandover 373 mState = STATE_CONNECTING; in nextStepConnect() 418 case STATE_CONNECTING: in nextStepConnect() 494 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent() 508 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent() 522 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent() 627 } else if (mState == STATE_CONNECTING) { 650 } else if (mState == STATE_CONNECTING) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 142 private static final int STATE_CONNECTING = 4; field in WifiDetailPreferenceController 281 updateConnectingState(STATE_CONNECTING); 666 if (mConnectingState == STATE_CONNECTING) { in refreshFrequency() 988 updateConnectingState(STATE_CONNECTING); in connectNetwork() 1010 } else if (state == STATE_CONNECTING) { in updateConnectingState() 1012 updateConnectedButton(STATE_CONNECTING); in updateConnectingState() 1038 case STATE_CONNECTING: in updateConnectingState() 1082 case STATE_CONNECTING: in updateConnectedButton() 1119 } else if (mConnectingState == STATE_CONNECTING) { in startTimer()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 511 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect() 695 && connectionState != BluetoothProfile.STATE_CONNECTING) { in holdCall() 751 && connectionState != BluetoothProfile.STATE_CONNECTING) { in rejectCall() 770 && connectionState != BluetoothProfile.STATE_CONNECTING) { in terminateCall() 790 && connectionState != BluetoothProfile.STATE_CONNECTING) { in enterPrivateMode() 810 && connectionState != BluetoothProfile.STATE_CONNECTING) { in dial() 834 && connectionState != BluetoothProfile.STATE_CONNECTING) { in sendDTMF() 872 && connectionState != BluetoothProfile.STATE_CONNECTING) { in explicitCallTransfer()
|
D | HeadsetClientStateMachine.java | 815 BluetoothProfile.STATE_CONNECTING); in enter() 918 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_CONNECTING, in enter() 1034 BluetoothProfile.STATE_CONNECTING); in processConnectionEvent() 1035 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING, in processConnectionEvent() 1070 BluetoothProfile.STATE_CONNECTING); in enter() 1669 return BluetoothProfile.STATE_CONNECTING; in getConnectionState() 1845 return BluetoothAdapter.STATE_CONNECTING; in getConnectionStateFromAudioState()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 150 private static final int STATE_CONNECTING = 4; field in WifiDetailPreferenceController 309 updateConnectingState(STATE_CONNECTING); 757 if (mConnectingState == STATE_CONNECTING) { in refreshFrequency() 1110 updateConnectingState(STATE_CONNECTING); in connectNetwork() 1132 } else if (state == STATE_CONNECTING) { in updateConnectingState() 1134 updateConnectedButton(STATE_CONNECTING); in updateConnectingState() 1164 case STATE_CONNECTING: in updateConnectingState() 1207 case STATE_CONNECTING: in updateConnectedButton() 1257 } else if (mConnectingState == STATE_CONNECTING) { in startTimer()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothA2dpConnector.java | 95 BluetoothA2dp.EXTRA_PREVIOUS_STATE, BluetoothA2dp.STATE_CONNECTING); 97 BluetoothA2dp.EXTRA_STATE, BluetoothA2dp.STATE_CONNECTING); 103 if (previousState == BluetoothA2dp.STATE_CONNECTING) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidStateMachine.java | 244 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter() 245 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter() 252 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit() 549 case BluetoothProfile.STATE_CONNECTING: in profileStateToString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpBipClient.java | 255 setConnectionState(BluetoothProfile.STATE_CONNECTING); in connect() 298 setConnectionState(BluetoothProfile.STATE_CONNECTING); in refreshObexSession() 437 case BluetoothProfile.STATE_CONNECTING: in getStateName()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppServiceWrapper.java | 57 public static final int STATE_CONNECTING = 1; field in RadioAppServiceWrapper 78 STATE_CONNECTING, 97 mConnectionState.postValue(STATE_CONNECTING);
|
/packages/apps/Car/Radio/src/com/android/car/radio/widget/ |
D | PlayPauseButton.java | 84 case PlaybackState.STATE_CONNECTING: in onClick() 115 case PlaybackState.STATE_CONNECTING: in onCreateDrawableState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientStateMachine.java | 146 BluetoothProfile.STATE_CONNECTING); in enter() 150 mMostRecentState = BluetoothProfile.STATE_CONNECTING; in enter() 375 return BluetoothProfile.STATE_CONNECTING; in getConnectionState()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 140 mPlaybackState = PlaybackState.STATE_CONNECTING; in prepare() 373 && mPlaybackState != PlaybackState.STATE_CONNECTING; in isPlaybackPrepared() 480 && mPlaybackState == PlaybackState.STATE_CONNECTING) { in setTvViewCallbacks()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 174 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingPriorityAccept() 220 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testIncomingTimeout() 264 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testInBandRingtone() 359 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in setUpHfpClientConnection()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 32 import static android.support.v4.media.session.PlaybackStateCompat.STATE_CONNECTING; 68 CONNECTING (STATE_CONNECTING),
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientStateMachineTest.java | 110 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, mMceStateMachine.getState()); in testDefaultConnectingState() 211 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, mMceStateMachine.getState()); in setupSdpRecordReceipt()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
D | HidDeviceTest.java | 433 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectSuccess() 435 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectSuccess() 442 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 842 private static final int STATE_CONNECTING = 1; field in Car 849 STATE_CONNECTING, 1329 mConnectionState = STATE_CONNECTING; in connect() 1379 return mConnectionState == STATE_CONNECTING; in isConnecting()
|