Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java58 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/
DBidirectionalAsyncChannel.java38 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/
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()
DBandwidthTest.java288 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT)); in setDeviceWifiAndAirplaneMode()
299 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT)); in hasMobileData()
/frameworks/base/core/java/android/net/
DNetworkInfo.java74 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()
Dnetwork-policy-restrictions.md20 …ed while app on background (NetworkInfo's state/detailed state should be `CONNECTED` / `CONNECTED`)
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java243 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/
DWifiStateTracker.java36 public static final int CONNECTED = 3; field in WifiStateTracker
71 case CONNECTED: in updateState()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java66 case CONNECTED: in convertDataState()
84 return PhoneConstants.DataState.CONNECTED; in convertDataState()
DDctConstants.java44 CONNECTED, enumConstant
DPhoneConstants.java50 CONNECTED, CONNECTING, DISCONNECTED, SUSPENDED; enumConstant
/frameworks/base/tests/net/java/com/android/server/
DLegacyTypeTrackerTest.kt23 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/
DWifiStressTest.java217 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/
DWifiP2pDeviceTest.java94 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithUpdatedValues()
113 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithNullWfdInfo()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java80 mState = State.CONNECTED; in onReceive()
112 CONNECTED, enumConstant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java589 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/
DWifiStateTrackerTest.java59 WifiStateTracker.CONNECTED, WifiStateTracker.DISCONNECTED, in testBatteryStatsUpdated()
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java86 case CONNECTED: in stateFromNetworkInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java154 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/
DARTSPConnection.cpp308 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()
DARTSPConnection.h57 CONNECTED, enumerator
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.h78 CONNECTED, enumerator
DRTSPSource2.cpp312 if (mState != CONNECTED) { in performSeek()
545 mState = CONNECTED; in onMessageReceived()
769 mState = CONNECTED; in onConnected()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.h79 CONNECTED, enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1119 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 …]

123