Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java129 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in test3GToWifiNotification()
142 NetworkState.DO_NOTHING, State.DISCONNECTED); in test3GToWifiNotification()
173 networkInfo.getState(), NetworkState.TO_DISCONNECTION, State.DISCONNECTED); in testConnectToWifi()
190 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in testConnectToWifi()
234 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
246 State.DISCONNECTED); in testConnectToWifWithKnownAP()
263 State.DISCONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
300 NetworkState.TO_DISCONNECTION, State.DISCONNECTED); in testDisconnectWifi()
305 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED, in testDisconnectWifi()
341 State.DISCONNECTED); in testDataConnectionWith3GToAmTo3G()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DNetworkState.java124 (curState == State.DISCONNECTED))) { in transitToDisconnection()
126 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { in transitToDisconnection()
128 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { in transitToDisconnection()
142 if (mStateDepository.get(0) != State.DISCONNECTED) { in transitToConnection()
155 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || in transitToConnection()
156 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) { in transitToConnection()
/frameworks/base/wifi/java/android/net/wifi/
DSupplicantState.java39 DISCONNECTED, enumConstant
184 case DISCONNECTED: in isHandshakeState()
206 case DISCONNECTED: in isConnecting()
221 case DISCONNECTED: in isDriverActive()
DWifiInfo.java43 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put() argument
44 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put() argument
53 stateMap.put(SupplicantState.DORMANT, DetailedState.DISCONNECTED); in stateMap.put() argument
DWifiMonitor.java50 private static final int DISCONNECTED = 2; field in WifiMonitor
413 event = DISCONNECTED; in run()
510 case DISCONNECTED: in handleEvent()
511 handleNetworkStateChange(NetworkInfo.DetailedState.DISCONNECTED, remainder); in handleEvent()
DSupplicantStateTracker.java103 case DISCONNECTED: in transitionOnSupplicantStateChange()
312 sendSupplicantStateChangedBroadcast(SupplicantState.DISCONNECTED, false); in processMessage()
/frameworks/base/core/java/android/net/
DNetworkInfo.java50 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
76 DISCONNECTED, enumConstant
94 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
95 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() argument
103 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED); in stateMap.put() argument
104 stateMap.put(DetailedState.FAILED, State.DISCONNECTED); in stateMap.put() argument
105 stateMap.put(DetailedState.BLOCKED, State.DISCONNECTED); in stateMap.put() argument
DDummyDataStateTracker.java118 setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, "disabled", null); in teardown()
DMobileDataStateTracker.java114 mMobileDataState = Phone.DataState.DISCONNECTED; in startMonitoring()
214 case DISCONNECTED: in onReceive()
219 setDetailedState(DetailedState.DISCONNECTED, reason, apnName); in onReceive()
/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/telephony/java/com/android/internal/telephony/gsm/
DGsmCall.java116 if (state != State.DISCONNECTED) { in connectionDisconnected()
123 != State.DISCONNECTED in connectionDisconnected()
131 state = State.DISCONNECTED; in connectionDisconnected()
198 if (cn.getState() == State.DISCONNECTED) { in clearDisconnected()
/frameworks/av/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp34 mState(DISCONNECTED), in ChromiumHTTPDataSource()
77 if (mState != DISCONNECTED) { in connect_l()
128 mState = DISCONNECTED; in onConnectionFailed()
142 if (mState == DISCONNECTED) { in disconnect_l()
155 CHECK_EQ((int)mState, (int)DISCONNECTED); in disconnect_l()
263 mState = DISCONNECTED; in onDisconnectComplete()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaCall.java120 if (state != State.DISCONNECTED) { in connectionDisconnected()
127 != State.DISCONNECTED in connectionDisconnected()
135 state = State.DISCONNECTED; in connectionDisconnected()
199 if (cn.getState() == State.DISCONNECTED) { in clearDisconnected()
DCDMALTEPhone.java115 DataState ret = DataState.DISCONNECTED; in getDataConnectionState()
121 ret = DataState.DISCONNECTED; in getDataConnectionState()
123 ret = DataState.DISCONNECTED; in getDataConnectionState()
128 ret = DataState.DISCONNECTED; in getDataConnectionState()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java262 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getForegroundCall().getState()); in brokenTestGeneral()
272 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
296 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
384 assertEquals(Call.State.DISCONNECTED, in brokenTestGeneral()
393 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
425 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
469 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getRingingCall().getState()); in brokenTestGeneral()
480 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
506 assertEquals(Call.State.DISCONNECTED, cn.getState()); in brokenTestGeneral()
583 assertEquals(Call.State.DISCONNECTED, mGSMPhone.getForegroundCall().getState()); in brokenTestGeneral()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp39 mState(DISCONNECTED), in RTSPSource()
81 CHECK_EQ(mState, (int)DISCONNECTED); in start()
403 mState = DISCONNECTED; in onDisconnected()
412 if (mState != DISCONNECTED) { in finishDisconnectIfPossible()
DRTSPSource.h63 DISCONNECTED, enumerator
/frameworks/base/telephony/java/com/android/internal/telephony/
DCall.java30 IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITING, DISCONNECTED, DISCONNECTING; enumConstant
33 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp47 mState(DISCONNECTED), in ARTSPConnection()
212 if (mState != DISCONNECTED) { in onConnect()
243 mState = DISCONNECTED; in onConnect()
258 mState = DISCONNECTED; in onConnect()
292 mState = DISCONNECTED; in onConnect()
324 mState = DISCONNECTED; in performDisconnect()
383 mState = DISCONNECTED; in onCompleteConnection()
DARTSPConnection.h55 DISCONNECTED, enumerator
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipCallBase.java50 if (c.getState() == State.DISCONNECTED) it.remove(); in clearDisconnected()
DSipPhone.java585 if (state != State.DISCONNECTED) { in onConnectionEnded()
592 if (c.getState() != State.DISCONNECTED) { in onConnectionEnded()
597 if (allConnectionsDisconnected) setState(State.DISCONNECTED); in onConnectionEnded()
623 setState(Call.State.DISCONNECTED);
880 return Call.State.DISCONNECTED; in getCallStateFrom()
DSipConnectionBase.java77 case DISCONNECTED: in setState()
/frameworks/av/media/libstagefright/include/
DChromiumHTTPDataSource.h63 DISCONNECTED, enumerator
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java270 mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED, in testWifiReconnectionAfterSleep()
280 assertEquals("Wi-Fi is reconnected", State.DISCONNECTED, in testWifiReconnectionAfterSleep()

12