Home
last modified time | relevance | path

Searched refs:CONNECTED (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java73 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in setUp()
124 State.CONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in test3GToWifiNotification()
135 networkInfo.getState(), NetworkState.DO_NOTHING, State.CONNECTED); in test3GToWifiNotification()
177 NetworkState.TO_CONNECTION, State.CONNECTED); in testConnectToWifi()
186 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testConnectToWifi()
219 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testConnectToWifWithKnownAP()
242 State.CONNECTED, ConnectivityManagerTestActivity.LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
255 NetworkState.TO_CONNECTION, State.CONNECTED); in testConnectToWifWithKnownAP()
262 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testConnectToWifWithKnownAP()
287 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testDisconnectWifi()
[all …]
DWifiConnectionTest.java139 State.CONNECTED, 2 * ConnectivityManagerTestActivity.LONG_TIMEOUT)); in connectToWifi()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DNetworkState.java107 if (mStateDepository.get(0) != State.CONNECTED) { in transitToDisconnection()
120 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || in transitToDisconnection()
153 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) { in transitToConnection()
155 } else if ((preState == State.CONNECTING) && (curState == State.CONNECTED)) { in transitToConnection()
157 } else if ((preState == State.CONNECTED) && (curState == State.CONNECTED)) { in transitToConnection()
DConnectivityManagerTestActivity.java126 mState = State.CONNECTED; in onReceive()
162 if (mWifiNetworkInfo.getState() == State.CONNECTED) { in onReceive()
/frameworks/base/media/libstagefright/rtsp/
DARTSPController.cpp68 if (mState != CONNECTED) { in connect()
85 } else if (mState != CONNECTED) { in disconnect()
92 while (mState == CONNECTED) { in disconnect()
114 if (mState != CONNECTED || tooEarly) { in seekAsync()
154 mState = (mConnectionResult == OK) ? CONNECTED : DISCONNECTED; in onMessageReceived()
DARTSPConnection.cpp296 mState = CONNECTED; in onConnect()
306 if (mState == CONNECTED || mState == CONNECTING) { in onDisconnect()
381 mState = CONNECTED; in onCompleteConnection()
394 if (mState != CONNECTED) { in onSendRequest()
457 if (mState != CONNECTED) { in onReceiveResponse()
DARTSPConnection.h57 CONNECTED, enumerator
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java143 if (mStateDepository.get(0) != State.CONNECTED) { in validateNetworkDisconnection()
159 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || in validateNetworkDisconnection()
201 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) { in validateNetworkConnection()
203 } else if ((preState == State.CONNECTING) && (curState == State.CONNECTED)) { in validateNetworkConnection()
205 } else if ((preState == State.CONNECTED) && (curState == State.CONNECTED)) { in validateNetworkConnection()
/frameworks/base/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp107 return mState == CONNECTED ? OK : mIOResult; in connect_l()
113 mState = CONNECTED; in onConnectionEstablished()
154 return mState == CONNECTED ? OK : NO_INIT; in initCheck()
160 if (mState != CONNECTED) { in readAt()
201 if (mState == CONNECTED) { in readAt()
221 mState = CONNECTED; in onReadCompleted()
/frameworks/base/core/java/android/net/
DNetworkInfo.java49 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
69 CONNECTED, enumConstant
96 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); in stateMap.put() argument
222 return mState == State.CONNECTED || mState == State.CONNECTING; in isConnectedOrConnecting()
233 return mState == State.CONNECTED; in isConnected()
DDummyDataStateTracker.java154 setDetailedState(NetworkInfo.DetailedState.CONNECTED, "enabled", null); in reconnect()
DMobileDataStateTracker.java233 case CONNECTED: in onReceive()
246 setDetailedState(DetailedState.CONNECTED, reason, apnName); in onReceive()
396 if (wasConnecting && state == NetworkInfo.DetailedState.CONNECTED && reason == null in setDetailedState()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java99 CONNECTED, enumConstant
211 mSocketState = SocketState.CONNECTED; in connect()
283 return (mSocketState == SocketState.CONNECTED); in isConnected()
306 mSocketState = SocketState.CONNECTED; in accept()
DBluetoothTetheringDataTracker.java279 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); in startReverseTether()
/frameworks/base/wifi/java/android/net/wifi/
DWifiMonitor.java46 private static final int CONNECTED = 1; field in WifiMonitor
322 event = CONNECTED; in run()
436 case CONNECTED: in handleEvent()
437 handleNetworkStateChange(NetworkInfo.DetailedState.CONNECTED, remainder); in handleEvent()
558 if (newState == NetworkInfo.DetailedState.CONNECTED) { in handleNetworkStateChange()
585 if (newState == NetworkInfo.DetailedState.CONNECTED) { in notifyNetworkStateChange()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java245 assertTrue(mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
271 mAct.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep()
280 assertEquals("Cellular connection is down", State.CONNECTED, in testWifiReconnectionAfterSleep()
291 mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java118 if (state == Phone.DataState.CONNECTED) { in doNotifyDataConnection()
209 case CONNECTED: in convertDataState()
227 return Phone.DataState.CONNECTED; in convertDataState()
DDataConnectionTracker.java81 CONNECTED, enumConstant
778 case CONNECTED: in notifyApnIdUpToCurrent()
781 mPhone.notifyDataConnection(reason, apnIdToType(apnId), Phone.DataState.CONNECTED); in notifyApnIdUpToCurrent()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaDataConnectionTracker.java238 setState(State.CONNECTED); in trySetupData()
355 setState(State.CONNECTED); in notifyDefaultData()
371 if (mState == State.CONNECTED && mNetStatPollEnabled == false) { in startNetStatPoll()
616 setState(State.CONNECTED); in onRadioAvailable()
710 if (mState == State.CONNECTED && !mCdmaPhone.mSST.isConcurrentVoiceAndDataAllowed()) { in onVoiceCallStarted()
722 if (mState == State.CONNECTED) { in onVoiceCallEnded()
788 if (mState == State.CONNECTED) { in onCdmaDataDetached()
853 if (mState == State.CONNECTED) { in onDataStateChanged()
DCDMALTEPhone.java120 case CONNECTED: in getDataConnectionState()
125 ret = DataState.CONNECTED; in getDataConnectionState()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java79 mState = State.CONNECTED; in onReceive()
111 CONNECTED, enumConstant
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java395 case CONNECTED: in getOverallState()
398 return State.CONNECTED; in getOverallState()
449 if (apnContext.getState() == State.CONNECTED) { in enableApnType()
472 case CONNECTED: in notifyApnIdUpToCurrent()
475 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTED); in notifyApnIdUpToCurrent()
560 if (getOverallState() == State.CONNECTED) { in onDataConnectionAttached()
686 apnContext.setState(State.CONNECTED); in trySetupData()
1071 if (apnContext.getState() == State.CONNECTED) { in findApnContextToClean()
1143 if (apnContext.getState() == State.CONNECTED || in onDataStateChanged()
1237 apnContext.setState(State.CONNECTED); in notifyDefaultData()
[all …]
/frameworks/base/media/libstagefright/include/
DARTSPController.h71 CONNECTED, enumerator
DChromiumHTTPDataSource.h65 CONNECTED, enumerator
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java111 public static final int CONNECTED = 0; field in WifiP2pDevice

12