Home
last modified time | relevance | path

Searched refs:STATE_DISCONNECTED (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java150 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in doQuit()
179 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
182 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
230 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
252 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
303 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
336 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
345 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
360 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
376 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
DA2dpSinkStateMachine.java185 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
188 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
239 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
261 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
312 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
349 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
358 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
373 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
381 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
397 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
DA2dpSinkService.java203 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java344 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
347 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
409 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
432 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
492 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
550 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
561 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
581 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
595 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
617 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java123 handlePanDeviceStateChange(dev, mPanIfName, BluetoothProfile.STATE_DISCONNECTED, in cleanup()
146 BluetoothProfile.STATE_DISCONNECTED, BluetoothPan.LOCAL_PANU_ROLE,
160 BluetoothProfile.STATE_DISCONNECTED, BluetoothPan.LOCAL_PANU_ROLE,
218 if (service == null) return BluetoothPan.STATE_DISCONNECTED; in getConnectionState()
260 if (getConnectionState(device) != BluetoothProfile.STATE_DISCONNECTED) { in connect()
279 return BluetoothPan.STATE_DISCONNECTED; in getConnectionState()
375 return BluetoothProfile.STATE_DISCONNECTED; in convertHalState()
380 return BluetoothProfile.STATE_DISCONNECTED; in convertHalState()
395 prevState = BluetoothProfile.STATE_DISCONNECTED; in handlePanDeviceStateChange()
406 …if (prevState == BluetoothProfile.STATE_DISCONNECTED && state == BluetoothProfile.STATE_DISCONNECT… in handlePanDeviceStateChange()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java155 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
166 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
177 BluetoothInputDevice.STATE_DISCONNECTED :prevStateInteger;
181 prevState == BluetoothInputDevice.STATE_DISCONNECTED &&
332 if (service == null) return BluetoothInputDevice.STATE_DISCONNECTED; in getConnectionState()
400 if (getConnectionState(device) != BluetoothInputDevice.STATE_DISCONNECTED) { in connect()
423 return BluetoothInputDevice.STATE_DISCONNECTED; in getConnectionState()
599 int prevState = (prevStateInteger == null) ? BluetoothInputDevice.STATE_DISCONNECTED : in broadcastConnectionState()
674 return BluetoothProfile.STATE_DISCONNECTED; in convertHalState()
679 return BluetoothProfile.STATE_DISCONNECTED; in convertHalState()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java157 mState = BluetoothMap.STATE_DISCONNECTED; in BluetoothMapService()
181 setState(BluetoothMap.STATE_DISCONNECTED); in closeService()
299 setState(BluetoothMap.STATE_DISCONNECTED); in stopObexServerSessions()
517 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
616 if(getState() == BluetoothMap.STATE_DISCONNECTED) { in updateMasInstancesHandler()
748 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in stop()
755 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in cleanup()
939 setState(BluetoothMap.STATE_DISCONNECTED); in onReceive()
1091 if (service == null) return BluetoothMap.STATE_DISCONNECTED; in getState()
1142 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java105 mState = BluetoothSap.STATE_DISCONNECTED; in SapService()
286 setState(BluetoothSap.STATE_DISCONNECTED); in stopSapServerSession()
496 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in disconnect()
543 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
598 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in stop()
604 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in cleanup()
793 if (service == null) return BluetoothSap.STATE_DISCONNECTED; in getState()
844 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java521 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallLocalDisconnect()
523 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallLocalDisconnect()
534 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallRemoteDisconnect()
536 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallRemoteDisconnect()
574 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallLocalDisconnect()
576 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallLocalDisconnect()
587 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallRemoteDisconnect()
589 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallRemoteDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java152 : BluetoothProfile.STATE_DISCONNECTED); in getConnectionState()
207 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
243 : BluetoothProfile.STATE_DISCONNECTED); in onConnectionStateChanged()
245 : BluetoothProfile.STATE_DISCONNECTED); in onConnectionStateChanged()
251 if (connected && oldState == BluetoothProfile.STATE_DISCONNECTED) { in onConnectionStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java54 private int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED;
342 return BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
386 return (state == BluetoothProfile.STATE_DISCONNECTED || in validateProfileConnectionState()
395 case BluetoothProfile.STATE_DISCONNECTED: in convertToAdapterState()
396 return BluetoothAdapter.STATE_DISCONNECTED; in convertToAdapterState()
436 case BluetoothProfile.STATE_DISCONNECTED: in updateCountersAndCheckForConnectionStateChange()
DAdapterService.java978 if (service == null) return BluetoothAdapter.STATE_DISCONNECTED; in getAdapterConnectionState()
985 return BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
989 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java222 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
232 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
239 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
424 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
434 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
444 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1340 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
1343 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
1385 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
1482 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
1522 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
1525 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
1577 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
1578 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
1596 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
2029 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java39 public static final int STATE_DISCONNECTED = LegacyVpnInfo.STATE_DISCONNECTED; field in AppPreference
41 private int mState = STATE_DISCONNECTED;
87 setSummary(mState != STATE_DISCONNECTED ? states[mState] : ""); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java386 if (service == null) return BluetoothHealth.STATE_DISCONNECTED; in getHealthDeviceConnectionState()
642 mHealthDevices.put(device, BluetoothHealth.STATE_DISCONNECTED); in broadcastHealthDeviceStateChange()
653 case BluetoothHealth.STATE_DISCONNECTED: in broadcastHealthDeviceStateChange()
703 if (newDeviceState == BluetoothHealth.STATE_DISCONNECTED) { in updateAndSendIntent()
726 return BluetoothHealth.STATE_DISCONNECTED; in convertState()
729 return BluetoothHealth.STATE_DISCONNECTED; in convertState()
771 return BluetoothHealth.STATE_DISCONNECTED; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java192 mState = BluetoothPbap.STATE_DISCONNECTED; in BluetoothPbapService()
343 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED); in onDestroy()
546 setState(BluetoothPbap.STATE_DISCONNECTED); in stopObexServerSession()
833 return BluetoothPbap.STATE_DISCONNECTED;
849 if (mState == BluetoothPbap.STATE_DISCONNECTED) {
896 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED);
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java686 state = android.telecom.Call.STATE_DISCONNECTED; in getParcelableState()
717 (state != android.telecom.Call.STATE_DISCONNECTED)) { in getParcelableState()
DBluetoothManager.java66 BluetoothHeadset.STATE_DISCONNECTED);
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConferenceController.java138 connection.getState() != Connection.STATE_DISCONNECTED) { in recalculateConference()
DConferenceParticipantConnection.java107 case STATE_DISCONNECTED: in updateState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothA2dpConnector.java65 } else if (state == BluetoothA2dp.STATE_DISCONNECTED) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockEventReceiver.java102 if (newState == BluetoothProfile.STATE_DISCONNECTED && in onReceive()
DUtils.java51 case BluetoothProfile.STATE_DISCONNECTED: in getConnectionStateSummary()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java203 case Connection.STATE_DISCONNECTED:

12