Home
last modified time | relevance | path

Searched refs:CONNECTED (Results 1 – 25 of 64) 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemEventCoordinatorTest.kt23 import com.android.systemui.display.domain.interactor.ConnectedDisplayInteractor.State.CONNECTED
81 connectedDisplayInteractor.emit(CONNECTED) in startObserving_propagatesConnectedDisplayStatusEvents()
82 connectedDisplayInteractor.emit(CONNECTED) in startObserving_propagatesConnectedDisplayStatusEvents()
92 connectedDisplayInteractor.emit(CONNECTED) in stopObserving_doesNotPropagateConnectedDisplayStatusEvents()
98 connectedDisplayInteractor.emit(CONNECTED) in stopObserving_doesNotPropagateConnectedDisplayStatusEvents()
/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.cpp30 mFlinger.onComposerHalHotplug(hwcDisplayId1, Connection::CONNECTED); in TEST_F()
38 EXPECT_EQ(Connection::CONNECTED, pendingEvents[0].connection); in TEST_F()
72 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
109 ExternalDisplay::injectPendingHotplugEvent(this, Connection::CONNECTED); in TEST_F()
DHWComposerTest.cpp87 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
103 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::Connection::CONNECTED); in TEST_F()
126 const auto info = mHwc.onHotplug(kHwcDisplayId, hal::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
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractor.kt43 CONNECTED, in <lambda>()
69 State.CONNECTED in displays()
/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/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/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/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/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt90 assertThat(value).isEqualTo(State.CONNECTED) in <lambda>()
102 assertThat(value).isEqualTo(State.CONNECTED) in <lambda>()
/frameworks/native/services/sensorservice/
DISensorHalWrapper.h45 CONNECTED, // Successfully connected to the HAL enumerator
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java90 case CONNECTED: in stateFromNetworkInfo()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt231 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_connected_iconShown()
254 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_disconnectedThenConnected_iconShown()
256 fakeConnectedDisplayStateProvider.emit(State.CONNECTED) in connectedDisplay_disconnectedThenConnected_iconShown()
/frameworks/base/core/java/android/app/
DUiAutomation.java152 ConnectionState.CONNECTED,
165 int CONNECTED = 2; field
400 if (mConnectionState == ConnectionState.CONNECTED) { in connectWithTimeout()
1654 if (mConnectionState == ConnectionState.CONNECTED) { in throwIfConnectedLocked()
1661 if (mConnectionState != ConnectionState.CONNECTED) { in throwIfNotConnectedLocked()
1766 mConnectionState = ConnectionState.CONNECTED; in IAccessibilityServiceClientImpl()
/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/
DWindowMagnificationManager.java99 private static final int CONNECTED = 1; field in WindowMagnificationManager
108 CONNECTED,
118 case CONNECTED: return "CONNECTED"; in connectionStateToString()
256 setConnectionState(CONNECTED); in setConnection()
295 if ((connect && (mConnectionState == CONNECTED || mConnectionState == CONNECTING)) in requestConnection()

123