Home
last modified time | relevance | path

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

1234

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp39 mFlinger.onComposerHalHotplugEvent(hwcDisplayId2, DisplayHotplugEvent::DISCONNECTED); in TEST_F()
46 EXPECT_EQ(Connection::DISCONNECTED, pendingEvents[1].connection); in TEST_F()
54 mFlinger.onComposerHalHotplugEvent(displayId1, DisplayHotplugEvent::DISCONNECTED); in TEST_F()
84 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
85 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
86 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
128 ExternalDisplay::injectPendingHotplugEvent(this, Connection::DISCONNECTED); in TEST_F()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTest.java119 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected()
123 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected()
125 assertEquals(Call.State.DISCONNECTED, mCallUnderTest.getState()); in testConnectionDisconnected()
127 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.java49 @UnsupportedAppUsage DISCONNECTED, enumConstant
54 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
362 if (conn.getState() == State.DISCONNECTED) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java198 if (mState != State.DISCONNECTED) { in connectionDisconnected()
205 if (cn.getState() != State.DISCONNECTED) { in connectionDisconnected()
213 mState = State.DISCONNECTED; in connectionDisconnected()
389 if ((state != mState) && (state != State.DISCONNECTED)) { in update()
392 } else if (state == State.DISCONNECTED) { in update()
DImsCallInfoTracker.java19 import static com.android.internal.telephony.Call.State.DISCONNECTED;
122 if (state == DISCONNECTED || state == IDLE) { in updateImsCallStatus()
DImsExternalCall.java73 setState(State.DISCONNECTED); in setTerminated()
DImsCallInfo.java83 mState = Call.State.DISCONNECTED; in onDisconnect()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionManager.java105 private static final int DISCONNECTED = 3; field in MagnificationConnectionManager
112 DISCONNECTED
122 case DISCONNECTED: return "DISCONNECTED"; in connectionStateToString()
129 private int mConnectionState = DISCONNECTED;
246 setConnectionState(DISCONNECTED); in setConnection()
262 setConnectionState(DISCONNECTED); in setConnection()
298 || (!connect && (mConnectionState == DISCONNECTED in requestConnection()
323 setConnectionState(DISCONNECTED); in requestConnection()
1048 setConnectionState(DISCONNECTED); in binderDied()
/frameworks/av/media/libaudioclient/aidl/android/media/
DDeviceConnectedState.aidl24 DISCONNECTED = 1, enumConstant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt90 assertThat(value).isEqualTo(State.DISCONNECTED) in <lambda>()
100 assertThat(value).isEqualTo(State.DISCONNECTED) in <lambda>()
110 assertThat(value).isEqualTo(State.DISCONNECTED) in <lambda>()
182 assertThat(value).isEqualTo(State.DISCONNECTED) in <lambda>()
/frameworks/hardware/interfaces/cameraservice/common/aidl/android/frameworks/cameraservice/common/
DStatus.aidl46 DISCONNECTED = 4, enumConstant
/frameworks/hardware/interfaces/cameraservice/common/aidl/aidl_api/android.frameworks.cameraservice.common/1/android/frameworks/cameraservice/common/
DStatus.aidl41 DISCONNECTED = 4, enumConstant
/frameworks/hardware/interfaces/cameraservice/common/aidl/aidl_api/android.frameworks.cameraservice.common/current/android/frameworks/cameraservice/common/
DStatus.aidl41 DISCONNECTED = 4, enumConstant
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractor.kt64 DISCONNECTED, in <lambda>()
106 State.DISCONNECTED in displays()
/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/imsphone/
DImsPhoneCallTest.java110 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected()
113 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected()
115 assertEquals(Call.State.DISCONNECTED, mImsCallUT.getState()); in testConnectionDisconnected()
117 assertEquals(Call.State.DISCONNECTED, mImsCallUT.getState()); in testConnectionDisconnected()
/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()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp55 mState(DISCONNECTED), in RTSPSource()
119 CHECK_EQ(mState, (int)DISCONNECTED); in prepareAsync()
817 mState = DISCONNECTED; in onSDPLoaded()
827 if (mState == DISCONNECTED) { in onDisconnected()
844 mState = DISCONNECTED; in onDisconnected()
853 if (mState != DISCONNECTED) { in finishDisconnectIfPossible()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java88 return PhoneConstants.DataState.DISCONNECTED; in convertDataState()
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java92 case DISCONNECTED: in stateFromNetworkInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java270 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in stop_neverStarted_doesNothing()
280 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in startAndStop_startsAndStopsGameSession()
295 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()
308 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in stop_stopMultipleTimes_stopsGameSessionOnce()
1213 DISCONNECTED, enumConstant
1219 private GameServiceState mGameServiceState = GameServiceState.DISCONNECTED;
1235 Preconditions.checkState(mGameServiceState == GameServiceState.DISCONNECTED); in connected()
1246 mGameServiceState = GameServiceState.DISCONNECTED; in disconnected()
/frameworks/base/core/java/android/app/
DUiAutomation.java151 ConnectionState.DISCONNECTED,
158 int DISCONNECTED = 0; field
229 private @ConnectionState int mConnectionState = ConnectionState.DISCONNECTED;
391 mConnectionState = ConnectionState.DISCONNECTED; in connectWithTimeout()
443 if (useAccessibility() && mConnectionState == ConnectionState.DISCONNECTED) { in disconnect()
446 mConnectionState = ConnectionState.DISCONNECTED; in disconnect()

1234