/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepClient.java | 47 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/ |
D | WifiScanWorkerTest.java | 105 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/ |
D | NdefPushClient.java | 40 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/ |
D | DtaSnepClient.java | 60 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/ |
D | CarStatsServiceTest.java | 95 .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/ |
D | HandoverClient.java | 37 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/ |
D | SapServer.java | 55 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/ |
D | ContextualWifiSlice.java | 126 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/ |
D | WifiSlice.java | 218 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/ |
D | RecordingTask.java | 111 CONNECTED, enumConstant 218 mState = State.CONNECTED; in onTuned() 558 case CONNECTED: in stop()
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | VmsClientLogger.java | 43 public static final int CONNECTED = field in VmsClientLogger.ConnectionState
|
D | CarStatsService.java | 58 entry.getConnectionStateCount(ConnectionState.CONNECTED),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeerTest.java | 115 wifiP2pDevice.status = WifiP2pDevice.CONNECTED; in setupOneOtherP2pPeer()
|
D | WifiP2pSettingsTest.java | 302 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/ |
D | CarWifiManager.java | 153 if (accessPoint.getDetailedState() == NetworkInfo.DetailedState.CONNECTED) { in getConnectedAccessPoint()
|
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pMonitor.java | 59 case WifiP2pDevice.CONNECTED: in statusString()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBleManager.java | 184 CONNECTED, enumConstant
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/ |
D | WifiP2pSettings.java | 425 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/ |
D | FakeSystemFacade.java | 101 info.setDetailedState(DetailedState.CONNECTED, null, null); in getNetworkInfo()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 92 NetworkInfo.DetailedState.CONNECTED, in connect()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 429 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/ |
D | WifiNetworkListFragmentTest.java | 142 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in setupConnectedAccessPoint()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 229 if (state == NetworkInfo.State.CONNECTED || in onMmsConnectivityChange()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | RecordingTaskTest.java | 131 assertEquals(State.CONNECTED, task.getState()); in testOnConnected()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsBrokerServiceTest.java | 173 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()
|