Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/system/bta/le_audio/
Dmetrics_collector_test.cc142 group_id1, device1, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
157 group_id1, device1, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
180 group_id1, device1, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
201 group_id1, device1, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
224 group_id2, device2, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
227 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
251 group_id2, device2, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
254 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
260 group_id2, device3, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
284 group_id1, device1, bluetooth::le_audio::ConnectionState::CONNECTED, in TEST_F()
[all …]
Dle_audio_health_status_test.cc129 DeviceConnectState::CONNECTED); in TEST_F()
143 DeviceConnectState::CONNECTED); in TEST_F()
158 DeviceConnectState::CONNECTED); in TEST_F()
176 DeviceConnectState::CONNECTED); in TEST_F()
211 DeviceConnectState::CONNECTED); in TEST_F()
Dle_audio_client_test.cc980 ase.cis_state = types::CisState::CONNECTED; in SetUpMockGroups()
1106 ase.cis_state = types::CisState::CONNECTED; in SetUpMockGroups()
1300 ase.cis_state = types::CisState::CONNECTED; in SetUpMockGroups()
1939 OnConnectionState(ConnectionState::CONNECTED, addr)) in ConnectCsisDevice()
1976 OnConnectionState(ConnectionState::CONNECTED, addr)) in ConnectNonCsisDevice()
3111 OnConnectionState(ConnectionState::CONNECTED, test_address0)) in TEST_F()
3127 OnConnectionState(ConnectionState::CONNECTED, test_address0)) in TEST_F()
3263 OnConnectionState(ConnectionState::CONNECTED, test_address0)) in TEST_F()
3288 OnConnectionState(ConnectionState::CONNECTED, test_address0)) in TEST_F()
3352 OnConnectionState(ConnectionState::CONNECTED, test_address0)) in TEST_F_WITH_FLAGS()
[all …]
Dstate_machine.cc631 CisState::CONNECTED, DataPathState::CONFIGURING); in ProcessHciNotifSetupIsoDataPath()
650 CisState::CONNECTED, DataPathState::IDLE)) { in ProcessHciNotifSetupIsoDataPath()
692 if (ases_pair.sink->cis_state == CisState::CONNECTED) { in ProcessHciNotifRemoveIsoDataPath()
702 if (ases_pair.source->cis_state == CisState::CONNECTED) { in ProcessHciNotifRemoveIsoDataPath()
1015 if (ases_pair.sink) ases_pair.sink->cis_state = CisState::CONNECTED; in ProcessHciNotifCisEstablished()
1016 if (ases_pair.source) ases_pair.source->cis_state = CisState::CONNECTED; in ProcessHciNotifCisEstablished()
1300 CisState::CONNECTED, DataPathState::CONFIGURED); in ProcessHciNotifCisDisconnected()
1670 ase->cis_state == CisState::CONNECTED) in CisCreateForDevice()
1778 CisState::CONNECTED, DataPathState::CONFIGURED); in ReleaseDataPath()
2099 bluetooth::le_audio::DeviceConnectState::CONNECTED) { in AseStateMachineProcessCodecConfigured()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt79 if (State.CONNECTED == netInfo.getState()) { in assertNetworkInfo()
83 State.CONNECTED == netInfo.getState()) in assertNetworkInfo()
87 DetailedState.CONNECTED == netInfo.getDetailedState()) in assertNetworkInfo()
126 networkInfo.setDetailedState(DetailedState.CONNECTED, reason, extraReason) in testSetDetailedState()
127 assertEquals(DetailedState.CONNECTED, networkInfo.detailedState) in testSetDetailedState()
128 assertEquals(State.CONNECTED, networkInfo.state) in testSetDetailedState()
DNetworkInfo_StateTest.java25 assertEquals(State.CONNECTED, State.valueOf("CONNECTED")); in testValueOf()
37 assertEquals(State.CONNECTED, expected[1]); in testValues()
DNetworkInfo_DetailedStateTest.java27 assertEquals(DetailedState.CONNECTED, DetailedState.valueOf("CONNECTED")); in testValueOf()
46 assertEquals(DetailedState.CONNECTED, expected[5]); in testValues()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java77 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
100 CONNECTED, enumConstant
133 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); in stateMap.put() argument
312 return mState == State.CONNECTED || mState == State.CONNECTING; in isConnectedOrConnecting()
332 return mState == State.CONNECTED; in isConnected()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DLegacyTypeTrackerTest.kt45 import android.net.NetworkInfo.DetailedState.CONNECTED
141 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE) in testSupl()
144 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE_SUPL) in testSupl()
150 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, CONNECTED, TYPE_MOBILE_SUPL) in testSupl()
192 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
199 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai2, CONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java39 CONNECTED,
48 public static final int CONNECTED = 3; field in WifiStateTracker
115 case CONNECTED: in internalToBatteryStatsWifiState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapServerTest.java179 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in onConnectRequest_whenStateIsConnected_sendsErrorConnectionClientMessage()
308 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRilInd_whenStateIsConnected_callsSendClientMessage()
356 assertThat(mSapServer.mState).isEqualTo(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_connectRespMsg_whenInCallOngoingState()
364 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_okStatus()
368 assertThat(mSapServer.mState).isEqualTo(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_okStatus()
376 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_ongoingCallStatus()
390 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_errorStatus()
414 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_disconnectRespMsg_whenInConnectedState_shutDown()
428 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_disconnectRespMsg_whenInConnectedState_startsDisconnectTimer()
454 mSapServer.changeState(SapServer.SAP_STATE.CONNECTED); in handleRfcommReply_statusIndMsg_whenInConnectedState_setsNotification()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiStateTrackerTest.java63 WifiStateTracker.CONNECTED, in testBatteryStatsUpdated()
98 mWifiStateTracker.updateState(WLAN0, WifiStateTracker.CONNECTED); in updateOnMultipleIfaces()
106 mWifiStateTracker.updateState(WLAN1, WifiStateTracker.CONNECTED); in updateOnMultipleIfaces()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java96 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_Connected()
133 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
137 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
142 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java110 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithUpdatedValues()
129 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithNullWfdInfo()
160 device.status = WifiP2pDevice.CONNECTED; in testParcelReadWrite()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothSocket.java171 CONNECTED, enumConstant
285 bluetoothSocket.mSocketState = SocketState.CONNECTED; in createSocketFromOpenFd()
313 as.mSocketState = SocketState.CONNECTED; in acceptSocket()
406 return mSocketState == SocketState.CONNECTED; in isConnected()
486 mSocketState = SocketState.CONNECTED; in connect()
860 if (mSocketState != SocketState.CONNECTED || mConnectionUuid == null) { in getL2capLocalChannelId()
904 if (mSocketState != SocketState.CONNECTED || mConnectionUuid == null) { in getL2capRemoteChannelId()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSActiveNetworkInfoTest.kt26 import android.net.NetworkInfo.DetailedState.CONNECTED
67 assertEquals(CONNECTED, networkInfo.detailedState) in nc()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client_test.cc1280 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
1291 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1321 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1336 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1350 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1367 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1390 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1396 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1420 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
1473 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc74 CONNECTED, enumerator
373 output.second = (uint32_t)ProfilesConnectionState::CONNECTED; in ToProfileConnectionState()
404 output.second = (uint32_t)ProfilesConnectionState::CONNECTED; in ToProfileConnectionState()
419 output.second = (uint32_t)ProfilesConnectionState::CONNECTED; in ToProfileConnectionState()
442 output.second = (uint32_t)ProfilesConnectionState::CONNECTED; in ToProfileConnectionState()
497 case ProfilesConnectionState::CONNECTED: in ToProfileConnectionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java55 CONNECTED, enumConstant
425 if (mState == SAP_STATE.CONNECTED in run()
444 if (mState != SAP_STATE.CONNECTED) { in run()
814 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
823 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
877 if (mSapServiceHandler != null && mState == SAP_STATE.CONNECTED) { in handleRfcommReply()
897 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
/packages/modules/Bluetooth/system/bta/vc/
Dvc_test.cc613 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
635 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
643 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
661 OnConnectionState(ConnectionState::CONNECTED, address)) in TEST_F()
683 OnConnectionState(ConnectionState::CONNECTED, address)); in TEST_F()
820 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
829 OnConnectionState(ConnectionState::CONNECTED, test_address)) in TEST_F()
852 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
948 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
962 OnConnectionState(ConnectionState::CONNECTED, test_address)); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hearing_aid.h29 CONNECTED, enumerator
Dbt_csis.h35 CONNECTED, enumerator
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingTask.java111 CONNECTED, enumConstant
218 mState = State.CONNECTED; in onTuned()
558 case CONNECTED: in stop()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/
DBootReceiver.java51 .setRequiredNetworkType(NetworkType.CONNECTED) in onReceive()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc556 OnConnectionState(address, ConnectionState::CONNECTED)) in TestAddFromStorage()
810 OnConnectionState(test_address, ConnectionState::CONNECTED)); in TEST_F()
914 OnConnectionState(test_address, ConnectionState::CONNECTED)); in TEST_F()
928 OnConnectionState(test_address, ConnectionState::CONNECTED)) in TEST_F()
941 OnConnectionState(test_address, ConnectionState::CONNECTED)) in TEST_F()
963 OnConnectionState(test_address, ConnectionState::CONNECTED)) in TEST_F()
1388 OnConnectionState(test_address, ConnectionState::CONNECTED)) in TEST_F()

1234