Home
last modified time | relevance | path

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

1234

/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/wifi/java/android/net/wifi/
DSupplicantState.java39 DISCONNECTED, enumConstant
184 case DISCONNECTED: in isHandshakeState()
207 case DISCONNECTED: in isConnecting()
223 case DISCONNECTED: in isDriverActive()
DWifiInfo.java60 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put() argument
61 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put() argument
70 stateMap.put(SupplicantState.DORMANT, DetailedState.DISCONNECTED); in stateMap.put() argument
/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/base/core/java/android/net/
DNetworkInfo.java74 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
103 DISCONNECTED, enumConstant
123 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
124 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() argument
133 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED); in stateMap.put() argument
134 stateMap.put(DetailedState.FAILED, State.DISCONNECTED); in stateMap.put() argument
135 stateMap.put(DetailedState.BLOCKED, State.DISCONNECTED); in stateMap.put() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCall.java87 if (mState != State.DISCONNECTED) { in connectionDisconnected()
93 if (mConnections.get(i).getState() != State.DISCONNECTED) { in connectionDisconnected()
100 mState = State.DISCONNECTED; in connectionDisconnected()
DCall.java37 IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITING, DISCONNECTED, DISCONNECTING; enumConstant
41 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
281 if (c.getState() == State.DISCONNECTED) {
/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java185 if (mState != State.DISCONNECTED) { in connectionDisconnected()
191 if (mConnections.get(i).getState() != State.DISCONNECTED) { in connectionDisconnected()
198 mState = State.DISCONNECTED; in connectionDisconnected()
338 if ((state != mState) && (state != State.DISCONNECTED)) { in update()
341 } else if (state == State.DISCONNECTED) { in update()
DImsExternalCall.java74 setState(State.DISCONNECTED); in setTerminated()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java35 public static final int DISCONNECTED = 2; field in WifiStateTracker
68 case DISCONNECTED: in updateState()
DSupplicantStateTracker.java146 case DISCONNECTED: in transitionOnSupplicantStateChange()
189 case DISCONNECTED: supplState = BatteryStats.WIFI_SUPPL_STATE_DISCONNECTED; break; in sendSupplicantStateChangedBroadcast()
311 sendSupplicantStateChangedBroadcast(SupplicantState.DISCONNECTED, false); in processMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java103 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected()
106 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected()
108 assertEquals(Call.State.DISCONNECTED, mImsCallUT.getState()); in testConnectionDisconnected()
DImsExternalCallTrackerTest.java100 assertEquals(connection.getState(), Call.State.DISCONNECTED); in testRemoveExternalCall()
/frameworks/base/core/proto/android/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.cpp51 mState(DISCONNECTED), in ARTSPConnection()
216 if (mState != DISCONNECTED) { in onConnect()
248 mState = DISCONNECTED; in onConnect()
263 mState = DISCONNECTED; in onConnect()
298 mState = DISCONNECTED; in onConnect()
332 mState = DISCONNECTED; in performDisconnect()
391 mState = DISCONNECTED; in onCompleteConnection()
/frameworks/base/tests/net/java/com/android/server/
DLegacyTypeTrackerTest.kt24 import android.net.NetworkInfo.DetailedState.DISCONNECTED
111 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, DISCONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp56 mState(DISCONNECTED), in RTSPSource()
120 CHECK_EQ(mState, (int)DISCONNECTED); in prepareAsync()
810 mState = DISCONNECTED; in onSDPLoaded()
820 if (mState == DISCONNECTED) { in onDisconnected()
837 mState = DISCONNECTED; in onDisconnected()
846 if (mState != DISCONNECTED) { in finishDisconnectIfPossible()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp54 mState(DISCONNECTED), in RTSPSource2()
119 CHECK_EQ(mState, (int)DISCONNECTED); in prepareAsync()
809 mState = DISCONNECTED; in onSDPLoaded()
819 if (mState == DISCONNECTED) { in onDisconnected()
836 mState = DISCONNECTED; in onDisconnected()
845 if (mState != DISCONNECTED) { in finishDisconnectIfPossible()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java88 return PhoneConstants.DataState.DISCONNECTED; in convertDataState()
DPhoneConstants.java50 CONNECTED, CONNECTING, DISCONNECTED, SUSPENDED; enumConstant
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateTrackerTest.java59 WifiStateTracker.CONNECTED, WifiStateTracker.DISCONNECTED, in testBatteryStatsUpdated()
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java88 case DISCONNECTED: in stateFromNetworkInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java421 return Call.State.DISCONNECTED; in getCallStateFrom()
715 if (mState != State.DISCONNECTED) { in onConnectionEnded()
722 if (c.getState() != State.DISCONNECTED) { in onConnectionEnded()
727 if (allConnectionsDisconnected) setState(State.DISCONNECTED); in onConnectionEnded()
760 setState(Call.State.DISCONNECTED);

1234