/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/tests/net/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 24 import android.net.NetworkInfo.DetailedState.CONNECTED 77 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE) in testSupl() 80 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE_SUPL) in testSupl() 86 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE_SUPL) in testSupl() 126 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect() 133 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai2, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
|
/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 | 76 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant 99 CONNECTED, enumConstant 132 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); in stateMap.put() argument 309 return mState == State.CONNECTED || mState == State.CONNECTING; in isConnectedOrConnecting() 329 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/backuplib/java/com/android/server/backup/transport/ |
D | TransportClient.java | 244 case State.CONNECTED: in connectAsync() 273 case State.CONNECTED: in unbind() 433 setStateLocked(State.CONNECTED, transport); in onServiceConnected() 484 case State.CONNECTED: in onBindingDied() 522 int connected = transitionThroughState(oldState, newState, State.CONNECTED); in onStateTransition() 569 case State.CONNECTED: in checkStateIntegrityLocked() 594 case State.CONNECTED: in stateToString() 636 @IntDef({State.UNUSABLE, State.IDLE, State.BOUND_AND_CONNECTING, State.CONNECTED}) 643 int CONNECTED = 3; field
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateTracker.java | 33 public static final int CONNECTED = 3; field in WifiStateTracker 66 case CONNECTED: in updateState()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneConstantConversions.java | 62 case CONNECTED: in convertDataState() 82 return PhoneConstants.DataState.CONNECTED; in convertDataState()
|
D | DctConstants.java | 52 CONNECTED, enumConstant
|
D | PhoneConstants.java | 61 CONNECTED, enumConstant
|
/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 | 599 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in verifyDataConnected() 600 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_DEFAULT)); in verifyDataConnected() 793 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testUserDisableData() 795 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testUserDisableData() 860 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_MMS)); in testTrySetupDataMmsAllowedDataDisabled() 904 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testUserDisableRoaming() 906 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testUserDisableRoaming() 942 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testDataCallOnUserDisableRoaming() 944 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); in testDataCallOnUserDisableRoaming() 990 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testCarrierActionSetMeteredApnsEnabled() [all …]
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | TextClassifierService.java | 106 public static final int CONNECTED = 0; field in TextClassifierService 111 CONNECTED, 217 mMainThreadHandler.post(connected == CONNECTED ? TextClassifierService.this::onConnected
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateTrackerTest.java | 60 WifiStateTracker.CONNECTED, WifiStateTracker.DISCONNECTED, in testBatteryStatsUpdated()
|
/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/base/core/java/com/android/internal/net/ |
D | LegacyVpnInfo.java | 90 case CONNECTED: in stateFromNetworkInfo()
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 208 getNetworkInfo().getDetailedState(), NetworkInfo.DetailedState.CONNECTED); in connect() 209 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in connect()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 309 mState = CONNECTED; in onConnect() 337 if (mState == CONNECTED || mState == CONNECTING) { in onDisconnect() 401 mState = CONNECTED; in onCompleteConnection() 414 if (mState != CONNECTED) { in onSendRequest() 481 if (mState != CONNECTED) { in onReceiveResponse()
|
D | ARTSPConnection.h | 59 CONNECTED, enumerator
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 127 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) 306 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSinkConnectionState() 363 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSourceConnectionState() 389 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetHearingAidConnectionState() 548 ? MediaMetrics.Value.DISCONNECTED : MediaMetrics.Value.CONNECTED); in onSetWiredDeviceConnectionState() 696 mmi.set(MediaMetrics.Property.STATE, MediaMetrics.Value.CONNECTED).record(); in handleDeviceConnection() 704 mmi.set(MediaMetrics.Property.STATE, MediaMetrics.Value.CONNECTED).record(); in handleDeviceConnection() 1093 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED); in checkSendBecomingNoisyIntentInt()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | WifiPickerTrackerTest.java | 435 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_alreadyConnectedOnStart_returnsConnectedEntry() 465 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry() 490 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_disconnectFromNetwork_returnsNull() 608 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_alreadyConnectedToPasspoint_returnsPasspointEntry()
|