Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java471 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnSystemServiceConnected()
489 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnUserServiceConnected()
511 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnSystemServiceDisconnected()
533 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnSystemServiceDisconnected_ServiceReboundByAndroid()
543 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnSystemServiceDisconnected_ServiceReboundByAndroid()
558 verify(mSystemClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnSystemServiceBindingDied()
594 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnUserServiceDisconnected()
616 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnUserServiceDisconnected_ServiceReboundByAndroid()
626 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnUserServiceDisconnected_ServiceReboundByAndroid()
640 verify(mUserClientLog).logConnectionState(ConnectionState.CONNECTED); in testOnUserServiceBindingDied()
[all …]
/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.java106 final AccessPoint ap1 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_sameState_shouldBeTheSame()
107 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_sameState_shouldBeTheSame()
116 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentState_shouldBeDifferent()
124 final AccessPoint ap1 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentListLength_shouldBeDifferent()
125 final AccessPoint ap2 = createAccessPoint(DetailedState.CONNECTED); in AccessPointList_differentListLength_shouldBeDifferent()
DWifiSliceTest.java148 doReturn(NetworkInfo.State.CONNECTED).when(networkInfo).getState(); in createAccessPoint()
/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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java219 if (state == NetworkInfo.State.CONNECTED) { in getAccessPointLevelIcon()
378 } else if (state == State.CONNECTED) { in getSummary()
379 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/vms/
DVmsClientManager.java315 .logConnectionState(ConnectionState.CONNECTED); in onHalConnected()
537 mStatsLog.logConnectionState(ConnectionState.CONNECTED); in onServiceConnected()
/packages/services/Car/service/src/com/android/car/stats/
DVmsClientLogger.java43 public static final int CONNECTED = field in VmsClientLogger.ConnectionState
DCarStatsService.java59 entry.getConnectionStateCount(ConnectionState.CONNECTED),
/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/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/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java422 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
564 if (peer.status == WifiP2pDevice.CONNECTED) mConnectedDevices++; in handlePeersChanged()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBleManager.java190 CONNECTED, enumConstant
DCarBleCentralManager.java304 connectedDevice.mState = BleDeviceState.CONNECTED;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java101 info.setDetailedState(DetailedState.CONNECTED, null, null); in getNetworkInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java147 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/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java47 CONNECTED, enumConstant

12