/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 73 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 …]
|
D | WifiConnectionTest.java | 139 State.CONNECTED, 2 * ConnectivityManagerTestActivity.LONG_TIMEOUT)); in connectToWifi()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | NetworkState.java | 107 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()
|
D | ConnectivityManagerTestActivity.java | 126 mState = State.CONNECTED; in onReceive() 162 if (mWifiNetworkInfo.getState() == State.CONNECTED) { in onReceive()
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ARTSPController.cpp | 68 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()
|
D | ARTSPConnection.cpp | 296 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()
|
D | ARTSPConnection.h | 57 CONNECTED, enumerator
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | NetworkState.java | 143 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/ |
D | ChromiumHTTPDataSource.cpp | 107 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/ |
D | NetworkInfo.java | 49 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()
|
D | DummyDataStateTracker.java | 154 setDetailedState(NetworkInfo.DetailedState.CONNECTED, "enabled", null); in reconnect()
|
D | MobileDataStateTracker.java | 233 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/ |
D | BluetoothSocket.java | 99 CONNECTED, enumConstant 211 mSocketState = SocketState.CONNECTED; in connect() 283 return (mSocketState == SocketState.CONNECTED); in isConnected() 306 mSocketState = SocketState.CONNECTED; in accept()
|
D | BluetoothTetheringDataTracker.java | 279 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); in startReverseTether()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiMonitor.java | 46 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/ |
D | WifiStressTest.java | 245 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/ |
D | DefaultPhoneNotifier.java | 118 if (state == Phone.DataState.CONNECTED) { in doNotifyDataConnection() 209 case CONNECTED: in convertDataState() 227 return Phone.DataState.CONNECTED; in convertDataState()
|
D | DataConnectionTracker.java | 81 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/ |
D | CdmaDataConnectionTracker.java | 238 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()
|
D | CDMALTEPhone.java | 120 case CONNECTED: in getDataConnectionState() 125 ret = DataState.CONNECTED; in getDataConnectionState()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 79 mState = State.CONNECTED; in onReceive() 111 CONNECTED, enumConstant
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 395 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/ |
D | ARTSPController.h | 71 CONNECTED, enumerator
|
D | ChromiumHTTPDataSource.h | 65 CONNECTED, enumerator
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 111 public static final int CONNECTED = 0; field in WifiP2pDevice
|