Home
last modified time | relevance | path

Searched refs:DISCONNECTED (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannel.java38 public enum ChannelState { DISCONNECTED, HALF_CONNECTED, CONNECTED, FAILURE }; enumConstant
39 private ChannelState mState = ChannelState.DISCONNECTED;
48 ChannelState.DISCONNECTED, mState); in connect()
70 mState = ChannelState.DISCONNECTED; in connect()
87 mState = ChannelState.DISCONNECTED; in disconnect()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java160 (curState == State.DISCONNECTED))) { in validateNetworkDisconnection()
162 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
164 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
184 if (mStateDepository.get(0) != State.DISCONNECTED) { in validateNetworkConnection()
200 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || in validateNetworkConnection()
201 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) { in validateNetworkConnection()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp50 mFlinger.onComposerHalHotplug(hwcDisplayId2, Connection::DISCONNECTED); in TEST_F()
64 EXPECT_EQ(Connection::DISCONNECTED, pendingEvents[1].connection); in TEST_F()
99 mFlinger.onComposerHalHotplug(displayId1, Connection::DISCONNECTED); in TEST_F()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTest.java117 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected()
121 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected()
123 assertEquals(Call.State.DISCONNECTED, mCallUnderTest.getState()); in testConnectionDisconnected()
125 assertEquals(Call.State.DISCONNECTED, mCallUnderTest.getState()); in testConnectionDisconnected()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCall.java93 if (mState != State.DISCONNECTED) { in connectionDisconnected()
99 if (c.getState() != State.DISCONNECTED) { in connectionDisconnected()
106 mState = State.DISCONNECTED; in connectionDisconnected()
DCall.java48 @UnsupportedAppUsage DISCONNECTED, enumConstant
53 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
350 if (conn.getState() == State.DISCONNECTED) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java196 if (mState != State.DISCONNECTED) { in connectionDisconnected()
203 if (cn.getState() != State.DISCONNECTED) { in connectionDisconnected()
211 mState = State.DISCONNECTED; in connectionDisconnected()
352 if ((state != mState) && (state != State.DISCONNECTED)) { in update()
355 } else if (state == State.DISCONNECTED) { in update()
DImsExternalCall.java73 setState(State.DISCONNECTED); in setTerminated()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java105 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected()
108 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected()
110 assertEquals(Call.State.DISCONNECTED, mImsCallUT.getState()); in testConnectionDisconnected()
112 assertEquals(Call.State.DISCONNECTED, mImsCallUT.getState()); in testConnectionDisconnected()
DImsExternalCallTrackerTest.java100 assertEquals(connection.getState(), Call.State.DISCONNECTED); in testRemoveExternalCall()
/frameworks/proto_logging/stats/enums/telecomm/
Denums.proto39 * {@link #DISCONNECTED} if it failed.
52 * state usually transition to {@link #ACTIVE} if the call was answered or {@link #DISCONNECTED}
60 * ringtone. Normal transitions are to {@link #ACTIVE} if answered or {@link #DISCONNECTED}
87 DISCONNECTED = 7; enumerator
97 * to a {@link #DISCONNECTED} state.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken265 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getForegroundCall().getState());
275 assertEquals(Call.State.DISCONNECTED, cn.getState());
299 assertEquals(Call.State.DISCONNECTED, cn.getState());
387 assertEquals(Call.State.DISCONNECTED,
396 assertEquals(Call.State.DISCONNECTED, cn.getState());
428 assertEquals(Call.State.DISCONNECTED, cn.getState());
472 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getRingingCall().getState());
483 assertEquals(Call.State.DISCONNECTED, cn.getState());
509 assertEquals(Call.State.DISCONNECTED, cn.getState());
586 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getForegroundCall().getState());
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp52 mState(DISCONNECTED), in ARTSPConnection()
217 if (mState != DISCONNECTED) { in onConnect()
249 mState = DISCONNECTED; in onConnect()
264 mState = DISCONNECTED; in onConnect()
299 mState = DISCONNECTED; in onConnect()
334 mState = DISCONNECTED; in performDisconnect()
393 mState = DISCONNECTED; in onCompleteConnection()
DARTSPConnection.h57 DISCONNECTED, enumerator
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp56 mState(DISCONNECTED), in RTSPSource()
120 CHECK_EQ(mState, (int)DISCONNECTED); in prepareAsync()
818 mState = DISCONNECTED; in onSDPLoaded()
828 if (mState == DISCONNECTED) { in onDisconnected()
845 mState = DISCONNECTED; in onDisconnected()
854 if (mState != DISCONNECTED) { in finishDisconnectIfPossible()
DRTPSource.cpp41 mState(DISCONNECTED), in RTPSource()
93 CHECK_EQ(mState, (int)DISCONNECTED); in prepareAsync()
639 if (mState == DISCONNECTED) { in onDisconnected()
656 mState = DISCONNECTED; in onDisconnected()
/frameworks/base/core/java/android/app/
DUiAutomation.java133 ConnectionState.DISCONNECTED,
140 int DISCONNECTED = 0; field
200 private @ConnectionState int mConnectionState = ConnectionState.DISCONNECTED;
329 mConnectionState = ConnectionState.DISCONNECTED; in connectWithTimeout()
380 if (useAccessibility() && mConnectionState == ConnectionState.DISCONNECTED) { in disconnect()
383 mConnectionState = ConnectionState.DISCONNECTED; in disconnect()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java88 return PhoneConstants.DataState.DISCONNECTED; in convertDataState()
DPhoneConstants.java65 DISCONNECTED, enumConstant
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java92 case DISCONNECTED: in stateFromNetworkInfo()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java126 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED)
321 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSinkConnectionState()
378 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSourceConnectionState()
404 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetHearingAidConnectionState()
563 ? MediaMetrics.Value.DISCONNECTED : MediaMetrics.Value.CONNECTED); in onSetWiredDeviceConnectionState()
765 .set(MediaMetrics.Property.STATE, MediaMetrics.Value.DISCONNECTED) in handleDeviceConnection()
786 mmi.set(MediaMetrics.Property.STATE, MediaMetrics.Value.DISCONNECTED).record(); in handleDeviceConnection()
1169 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED); in checkSendBecomingNoisyIntentInt()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java433 return Call.State.DISCONNECTED; in getCallStateFrom()
733 if (mState != State.DISCONNECTED) { in onConnectionEnded()
740 if (c.getState() != State.DISCONNECTED) { in onConnectionEnded()
745 if (allConnectionsDisconnected) setState(State.DISCONNECTED); in onConnectionEnded()
778 setState(Call.State.DISCONNECTED);
DSipConnectionBase.java69 case DISCONNECTED: in setState()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp71 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
425 if (l.mParameters.state == Parameters::DISCONNECTED) return res; in disconnect()
426 l.mParameters.state = Parameters::DISCONNECTED; in disconnect()
574 case Parameters::DISCONNECTED: in setPreviewWindowL()
744 if (params.state == Parameters::DISCONNECTED) { in startPreviewL()
965 case Parameters::DISCONNECTED: in stopPreviewL()
1473 case Parameters::DISCONNECTED: in takePicture()
1708 case Parameters::DISCONNECTED: in commandStartFaceDetectionL()
1765 if (l.mParameters.state != Parameters::DISCONNECTED) { in commandPingL()
2256 case Parameters::DISCONNECTED: in setVideoTarget()
/frameworks/proto_logging/stats/enums/debug/
Denums.proto65 DISCONNECTED = 7; enumerator

123