/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 58 State.CONNECTED, LONG_TIMEOUT)) { in setUp() 89 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in test3GToWifiNotification() 124 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifi() 148 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP() 160 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP() 172 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP() 196 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDisconnectWifi() 207 State.CONNECTED, LONG_TIMEOUT)); in testDisconnectWifi() 226 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G() 242 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G() [all …]
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannel.java | 38 public enum ChannelState { DISCONNECTED, HALF_CONNECTED, CONNECTED, FAILURE }; enumConstant 42 assertEquals("AsyncChannel was not fully connected", ChannelState.CONNECTED, mState); in assertConnected() 66 mState = ChannelState.CONNECTED; in connect() 85 ChannelState.CONNECTED, mState); in disconnect() 93 ChannelState.CONNECTED, mState); in sendMessage()
|
/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()
|
D | BandwidthTest.java | 288 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT)); in setDeviceWifiAndAirplaneMode() 299 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT)); in hasMobileData()
|
/frameworks/base/core/java/android/net/ |
D | NetworkInfo.java | 74 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant 97 CONNECTED, enumConstant 130 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); in stateMap.put() argument 298 return mState == State.CONNECTED || mState == State.CONNECTING; in isConnectedOrConnecting() 318 return mState == State.CONNECTED; in isConnected()
|
D | network-policy-restrictions.md | 20 …ed while app on background (NetworkInfo's state/detailed state should be `CONNECTED` / `CONNECTED`)
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportClient.java | 243 case State.CONNECTED: in connectAsync() 272 case State.CONNECTED: in unbind() 432 setStateLocked(State.CONNECTED, transport); in onServiceConnected() 483 case State.CONNECTED: in onBindingDied() 521 int connected = transitionThroughState(oldState, newState, State.CONNECTED); in onStateTransition() 568 case State.CONNECTED: in checkStateIntegrityLocked() 593 case State.CONNECTED: in stateToString() 635 @IntDef({State.UNUSABLE, State.IDLE, State.BOUND_AND_CONNECTING, State.CONNECTED}) 642 int CONNECTED = 3; field
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateTracker.java | 36 public static final int CONNECTED = 3; field in WifiStateTracker 71 case CONNECTED: in updateState()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneConstantConversions.java | 66 case CONNECTED: in convertDataState() 84 return PhoneConstants.DataState.CONNECTED; in convertDataState()
|
D | DctConstants.java | 44 CONNECTED, enumConstant
|
D | PhoneConstants.java | 50 CONNECTED, CONNECTING, DISCONNECTED, SUSPENDED; enumConstant
|
/frameworks/base/tests/net/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 23 import android.net.NetworkInfo.DetailedState.CONNECTED 105 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect() 112 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai2, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 217 State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testWifiReconnectionAfterSleep() 253 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep() 265 assertEquals("mobile not connected", State.CONNECTED, in testWifiReconnectionAfterSleep() 277 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
|
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pDeviceTest.java | 94 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithUpdatedValues() 113 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithNullWfdInfo()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 80 mState = State.CONNECTED; in onReceive() 112 CONNECTED, enumConstant
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 589 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in verifyDataConnected() 590 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_DEFAULT)); in verifyDataConnected() 764 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testUserDisableData() 766 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testUserDisableData() 816 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_MMS)); in testTrySetupDataMmsAllowedDataDisabled() 867 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testUserDisableRoaming() 869 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testUserDisableRoaming() 911 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testDataCallOnUserDisableRoaming() 913 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testDataCallOnUserDisableRoaming() 1018 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testCarrierActionSetMeteredApnsEnabled() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateTrackerTest.java | 59 WifiStateTracker.CONNECTED, WifiStateTracker.DISCONNECTED, in testBatteryStatsUpdated()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | LegacyVpnInfo.java | 86 case CONNECTED: in stateFromNetworkInfo()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 154 CONNECTED, enumConstant 255 as.mSocketState = SocketState.CONNECTED; in acceptSocket() 360 return mSocketState == SocketState.CONNECTED; in isConnected() 414 mSocketState = SocketState.CONNECTED; in connect()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 308 mState = CONNECTED; in onConnect() 336 if (mState == CONNECTED || mState == CONNECTING) { in onDisconnect() 400 mState = CONNECTED; in onCompleteConnection() 413 if (mState != CONNECTED) { in onSendRequest() 480 if (mState != CONNECTED) { in onReceiveResponse()
|
D | ARTSPConnection.h | 57 CONNECTED, enumerator
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | RTSPSource2.h | 78 CONNECTED, enumerator
|
D | RTSPSource2.cpp | 312 if (mState != CONNECTED) { in performSeek() 545 mState = CONNECTED; in onMessageReceived() 769 mState = CONNECTED; in onConnected()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.h | 79 CONNECTED, enumerator
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 1119 return DctConstants.State.CONNECTED; in getState() 1152 case CONNECTED: in getOverallState() 1155 return DctConstants.State.CONNECTED; in getOverallState() 1208 if (getOverallState() == DctConstants.State.CONNECTED) { in onDataConnectionAttached() 1463 apnContext.setState(DctConstants.State.CONNECTED); in trySetupData() 2257 case CONNECTED: in checkForCompatibleConnectedApnContext() 2276 case CONNECTED: in checkForCompatibleConnectedApnContext() 2370 case CONNECTED: in onEnableApn() 2443 || apnContext.getState() != DctConstants.State.CONNECTED) { in onDisableApn() 2609 if (apnContext.getState() == DctConstants.State.CONNECTED) { in checkDataRoamingStatus() [all …]
|