/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 59 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/ |
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/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_HotplugTest.cpp | 36 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()
|
D | HWComposerTest.cpp | 96 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()
|
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 166 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/ |
D | TransportConnection.java | 247 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/ |
D | PhoneConstantConversions.java | 62 case CONNECTED: in convertDataState() 82 return PhoneConstants.DataState.CONNECTED; in convertDataState()
|
D | DctConstants.java | 52 CONNECTED, enumConstant
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 218 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/ |
D | DeviceConnectedState.aidl | 23 CONNECTED = 0, enumConstant
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 80 mState = State.CONNECTED; in onReceive() 112 CONNECTED, enumConstant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/ |
D | ConnectedDisplayInteractor.kt | 65 CONNECTED, in <lambda>() 110 State.CONNECTED in displays()
|
/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/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/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/ |
D | ConnectedDisplayInteractorTest.kt | 120 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/ |
D | TextClassifierService.java | 103 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/ |
D | LegacyVpnInfo.java | 90 case CONNECTED: in stateFromNetworkInfo()
|
/frameworks/native/services/sensorservice/ |
D | ISensorHalWrapper.h | 45 CONNECTED, // Successfully connected to the HAL enumerator
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicyTest.kt | 229 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/ |
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()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationConnectionManager.java | 101 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/ |
D | UiAutomation.java | 153 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()
|