Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java59 State.CONNECTED, LONG_TIMEOUT)) { in setUp()
90 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in test3GToWifiNotification()
125 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifi()
149 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP()
161 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
173 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testConnectToWifWithKnownAP()
197 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testDisconnectWifi()
208 State.CONNECTED, LONG_TIMEOUT)); in testDisconnectWifi()
227 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G()
243 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/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_HotplugTest.cpp36 mFlinger.onComposerHalHotplugEvent(hwcDisplayId1, DisplayHotplugEvent::CONNECTED); in TEST_F()
44 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
78 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
121 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
DHWComposerTest.cpp96 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
113 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
135 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
166 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
258 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
347 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
422 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp166 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in processesHotplugConnectCommon()
200 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in ignoresHotplugConnectCommon()
303 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
356 Case::Display::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnection.java247 case State.CONNECTED: in connectAsync()
276 case State.CONNECTED: in unbind()
438 setStateLocked(State.CONNECTED, transport); in onServiceConnected()
495 case State.CONNECTED: in onBindingDied()
533 int connected = transitionThroughState(oldState, newState, State.CONNECTED); in onStateTransition()
580 case State.CONNECTED: in checkStateIntegrityLocked()
605 case State.CONNECTED: in stateToString()
647 @IntDef({State.UNUSABLE, State.IDLE, State.BOUND_AND_CONNECTING, State.CONNECTED})
654 int CONNECTED = 3; field
/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
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java218 State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); in testWifiReconnectionAfterSleep()
254 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep()
266 assertEquals("mobile not connected", State.CONNECTED, in testWifiReconnectionAfterSleep()
278 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, in testWifiReconnectionAfterSleep()
/frameworks/av/media/libaudioclient/aidl/android/media/
DDeviceConnectedState.aidl23 CONNECTED = 0, enumConstant
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java80 mState = State.CONNECTED; in onReceive()
112 CONNECTED, enumConstant
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractor.kt65 CONNECTED, in <lambda>()
110 State.CONNECTED in displays()
/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/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/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt120 assertThat(value).isEqualTo(State.CONNECTED) in <lambda>()
132 assertThat(value).isEqualTo(State.CONNECTED) in <lambda>()
172 assertThat(value).isEqualTo(State.CONNECTED) in <lambda>()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java103 public static final int CONNECTED = 0; field in TextClassifierService
108 CONNECTED,
214 mMainThreadHandler.post(connected == CONNECTED ? TextClassifierService.this::onConnected
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java90 case CONNECTED: in stateFromNetworkInfo()
/frameworks/native/services/sensorservice/
DISensorHalWrapper.h45 CONNECTED, // Successfully connected to the HAL enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt229 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_connected_iconShown()
252 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_disconnectedThenConnected_iconShown()
254 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_disconnectedThenConnected_iconShown()
/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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionManager.java101 private static final int CONNECTED = 1; field in MagnificationConnectionManager
110 CONNECTED,
120 case CONNECTED: return "CONNECTED"; in connectionStateToString()
258 setConnectionState(CONNECTED); in setConnection()
297 if ((connect && (mConnectionState == CONNECTED || mConnectionState == CONNECTING)) in requestConnection()
/frameworks/base/core/java/android/app/
DUiAutomation.java153 ConnectionState.CONNECTED,
166 int CONNECTED = 2; field
401 if (mConnectionState == ConnectionState.CONNECTED) { in connectWithTimeout()
1769 if (mConnectionState == ConnectionState.CONNECTED) { in throwIfConnectedLocked()
1776 if (mConnectionState != ConnectionState.CONNECTED) { in throwIfNotConnectedLocked()
1881 mConnectionState = ConnectionState.CONNECTED; in IAccessibilityServiceClientImpl()

123