Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java47 private static final int CONNECTED = 2; field in SnepClient
97 if (mState != CONNECTED) { in put()
116 if (mState != CONNECTED) { in get()
179 mState = CONNECTED; in connect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiScanWorkerTest.java105 final AccessPoint ap1 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_sameState_shouldBeTheSame()
106 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_sameState_shouldBeTheSame()
115 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentState_shouldBeDifferent()
123 final AccessPoint ap1 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentListLength_shouldBeDifferent()
124 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentListLength_shouldBeDifferent()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushClient.java40 private static final int CONNECTED = 2; field in NdefPushClient
84 mState = CONNECTED; in connect()
91 if (mState != CONNECTED) { in push()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java60 private static final int CONNECTED = 2; field in DtaSnepClient
236 if (mState != CONNECTED) { in put()
255 if (mState != CONNECTED) { in get()
317 mState = CONNECTED; in connect()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java95 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_Connected()
132 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
136 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
141 .logConnectionState(ConnectionState.CONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverClient.java37 private static final int CONNECTED = 2; field in HandoverClient
81 mState = CONNECTED; in connect()
103 if (mState != CONNECTED) { in sendHandoverRequest()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java55 DISCONNECTED, CONNECTING, CONNECTING_CALL_ONGOING, CONNECTED, CONNECTED_BUSY, DISCONNECTING; enumConstant
411 if (mState == SAP_STATE.CONNECTED && msg.getTransportProtocol() != 0 in run()
426 if (mState != SAP_STATE.CONNECTED) { in run()
809 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
818 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
877 if (mSapServiceHandler != null && mState == SAP_STATE.CONNECTED) { in handleRfcommReply()
899 changeState(SAP_STATE.CONNECTED); in handleRfcommReply()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java126 return networkInfo.getState() == State.CONNECTED; in isNetworkConnected()
149 } else if (state == State.CONNECTED) { in getSubtitle()
150 detailedState = DetailedState.CONNECTED; in getSubtitle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java218 if (state == NetworkInfo.State.CONNECTED) { in getAccessPointLevelIcon()
377 } else if (state == State.CONNECTED) { in getSummary()
378 detailedState = DetailedState.CONNECTED; in getSummary()
/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/services/Car/service/src/com/android/car/stats/
DVmsClientLogger.java43 public static final int CONNECTED = field in VmsClientLogger.ConnectionState
DCarStatsService.java58 entry.getConnectionStateCount(ConnectionState.CONNECTED),
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pPeerTest.java115 wifiP2pDevice.status = WifiP2pDevice.CONNECTED; in setupOneOtherP2pPeer()
DWifiP2pSettingsTest.java302 setupOneP2pPeer(WifiP2pDevice.CONNECTED); in pressDisconnectDialog_clickDisconnectDialog_shouldRemoveGroup()
367 setupOneP2pPeer(WifiP2pDevice.CONNECTED); in onSaveInstanceState_withWiFiPeer_shouldGetP2pDeviceType()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java153 if (accessPoint.getDetailedState() == NetworkInfo.DetailedState.CONNECTED) { in getConnectedAccessPoint()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pMonitor.java59 case WifiP2pDevice.CONNECTED: in statusString()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBleManager.java184 CONNECTED, enumConstant
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java425 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
567 if (peer.status == WifiP2pDevice.CONNECTED) mConnectedDevices++; in handlePeersChanged()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java101 info.setDetailedState(DetailedState.CONNECTED, null, null); in getNetworkInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java92 NetworkInfo.DetailedState.CONNECTED, in connect()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java429 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
573 if (peer.status == WifiP2pDevice.CONNECTED) mConnectedDevices++; in handlePeersChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java142 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in setupConnectedAccessPoint()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java229 if (state == NetworkInfo.State.CONNECTED || in onMmsConnectivityChange()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DRecordingTaskTest.java131 assertEquals(State.CONNECTED, task.getState()); in testOnConnected()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java173 verify(mClientLog1).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister()
185 verify(mClientLog1).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_DeadCallback()
194 verify(mClientLog1).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_LegacyClient()
206 verify(mClientLog1).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_LegacyClient_DeadCallback()
218 .logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_TwoClients_OneProcess()
230 verify(mClientLog1).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_TwoClients_TwoProcesses()
231 verify(mClientLog2).logConnectionState(VmsClientLogger.ConnectionState.CONNECTED); in testRegister_TwoClients_TwoProcesses()

12