/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()
|
/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/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_HotplugTest.cpp | 49 mFlinger.onComposerHalHotplug(hwcDisplayId1, Connection::CONNECTED); in TEST_F() 62 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
|
D | SurfaceFlinger_HandleTransactionLockedTest.cpp | 167 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/ |
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/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 80 mState = State.CONNECTED; in onReceive() 112 CONNECTED, enumConstant
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | PasspointWifiEntryTest.java | 173 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()
|
D | MergedCarrierEntryTest.java | 82 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetConnectedState_wifiInfoMatches_returnsConnected() 139 when(mMockNetworkInfo.getDetailedState()).thenReturn(NetworkInfo.DetailedState.CONNECTED); in testGetSsid_connected_returnsSanitizedWifiInfoSsid()
|
D | WifiPickerTrackerTest.java | 500 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/ |
D | BaseDomainVerificationReceiver.kt | 33 .setRequiredNetworkType(NetworkType.CONNECTED)
|
D | BootCompletedReceiver.kt | 53 .setRequiredNetworkType(NetworkType.CONNECTED) in onReceive()
|
D | DomainVerificationUtils.kt | 51 .setRequiredNetworkType(NetworkType.CONNECTED) in schedulePeriodicCheckUnlocked()
|
/frameworks/base/core/java/android/net/ |
D | network-policy-restrictions.md | 20 …ed while app on background (NetworkInfo's state/detailed state should be `CONNECTED` / `CONNECTED`)
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 135 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/ |
D | TextClassifierService.java | 104 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/ |
D | LegacyVpnInfo.java | 90 case CONNECTED: in stateFromNetworkInfo()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 159 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/ |
D | ARTSPConnection.cpp | 309 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()
|
D | ARTSPConnection.h | 59 CONNECTED, enumerator
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 126 ? 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()
|