Home
last modified time | relevance | path

Searched refs:CONNECTED (Results 1 – 25 of 65) 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()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportClient.java244 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/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp49 mFlinger.onComposerHalHotplug(hwcDisplayId1, Connection::CONNECTED); in TEST_F()
62 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
DSurfaceFlinger_HandleTransactionLockedTest.cpp167 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in processesHotplugConnectCommon()
201 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in ignoresHotplugConnectCommon()
301 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
349 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java62 case CONNECTED: in convertDataState()
82 return PhoneConstants.DataState.CONNECTED; in convertDataState()
DDctConstants.java52 CONNECTED, enumConstant
DPhoneConstants.java61 CONNECTED, enumConstant
/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/ex/common/java/com/android/common/
DNetworkConnectivityListener.java80 mState = State.CONNECTED; in onReceive()
112 CONNECTED, enumConstant
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DPasspointWifiEntryTest.java173 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testGetSummary_connectedWifiNetwork_showsConnected()
213 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testGetSummary_providerModelConnectedButNotDefault_doesNotShowConnected()
233 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testGetSecurityTypes_connectedWifiNetwork_showsCurrentSecurityType()
280 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testShouldShowXLevelIcon_unvalidatedOrNotDefault_returnsTrue()
386 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testGetMacAddress_wifiInfoAvailable_usesWifiInfoMacAddress()
465 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); in testDisconnect_noScansOrWifiConfig_disconnectIsSuccessful()
DMergedCarrierEntryTest.java82 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected()
139 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetSsid_connected_returnsSanitizedWifiInfoSsid()
DWifiPickerTrackerTest.java500 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_alreadyConnectedOnStart_returnsConnectedEntry()
530 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry()
555 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_disconnectFromNetwork_returnsNull()
587 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_wifiStateDisabled_returnsNull()
627 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_wifiValidatedCellDefault_isLowQuality()
742 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetWifiEntries_connectToPasspoint_returnsSamePasspointWifiEntry()
882 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_alreadyConnectedToPasspoint_returnsPasspointEntry()
923 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_passpointWithoutScans_returnsPasspointEntry()
958 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedEntry_multipleNetworkRequests_returnsConnectedRequest()
1013 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DBaseDomainVerificationReceiver.kt33 .setRequiredNetworkType(NetworkType.CONNECTED)
DBootCompletedReceiver.kt53 .setRequiredNetworkType(NetworkType.CONNECTED) in onReceive()
DDomainVerificationUtils.kt51 .setRequiredNetworkType(NetworkType.CONNECTED) in schedulePeriodicCheckUnlocked()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md20 …ed while app on background (NetworkInfo's state/detailed state should be `CONNECTED` / `CONNECTED`)
/frameworks/base/core/java/android/app/
DUiAutomation.java135 ConnectionState.CONNECTED,
148 int CONNECTED = 2; field
339 if (mConnectionState == ConnectionState.CONNECTED) { in connectWithTimeout()
1460 if (mConnectionState == ConnectionState.CONNECTED) { in throwIfConnectedLocked()
1467 if (mConnectionState != ConnectionState.CONNECTED) { in throwIfNotConnectedLocked()
1511 mConnectionState = ConnectionState.CONNECTED; in IAccessibilityServiceClientImpl()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java104 public static final int CONNECTED = 0; field in TextClassifierService
109 CONNECTED,
215 mMainThreadHandler.post(connected == CONNECTED ? TextClassifierService.this::onConnected
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java90 case CONNECTED: in stateFromNetworkInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java159 CONNECTED, enumConstant
260 as.mSocketState = SocketState.CONNECTED; in acceptSocket()
369 return mSocketState == SocketState.CONNECTED; in isConnected()
425 mSocketState = SocketState.CONNECTED; in connect()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp309 mState = CONNECTED; in onConnect()
338 if (mState == CONNECTED || mState == CONNECTING) { in onDisconnect()
402 mState = CONNECTED; in onCompleteConnection()
415 if (mState != CONNECTED) { in onSendRequest()
482 if (mState != CONNECTED) { in onReceiveResponse()
DARTSPConnection.h59 CONNECTED, enumerator
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java126 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED)
321 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSinkConnectionState()
378 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetA2dpSourceConnectionState()
404 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED) in onSetHearingAidConnectionState()
563 ? MediaMetrics.Value.DISCONNECTED : MediaMetrics.Value.CONNECTED); in onSetWiredDeviceConnectionState()
772 mmi.set(MediaMetrics.Property.STATE, MediaMetrics.Value.CONNECTED).record(); in handleDeviceConnection()
780 mmi.set(MediaMetrics.Property.STATE, MediaMetrics.Value.CONNECTED).record(); in handleDeviceConnection()
1169 ? MediaMetrics.Value.CONNECTED : MediaMetrics.Value.DISCONNECTED); in checkSendBecomingNoisyIntentInt()

123