Home
last modified time | relevance | path

Searched refs:STATE_DISCONNECTED (Results 1 – 25 of 44) 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 …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java201 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
204 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
255 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
277 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
328 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
367 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
376 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
399 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
416 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
445 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/services/Car/car-support-lib/src/android/support/car/
DCar.java140 private static final int STATE_DISCONNECTED = 0; field in Car
157 if (mConnectionState == STATE_DISCONNECTED) {
160 mConnectionState = STATE_DISCONNECTED;
289 if (mConnectionState != STATE_DISCONNECTED) { in connect()
304 if (mConnectionState == STATE_DISCONNECTED) { in disconnect()
308 mConnectionState = STATE_DISCONNECTED; in disconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java347 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
350 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
412 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
435 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
495 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
553 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
564 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
584 broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
598 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
620 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCar.java213 private static final int STATE_DISCONNECTED = 0; field in Car
249 if (mConnectionState == STATE_DISCONNECTED) {
252 mConnectionState = STATE_DISCONNECTED;
352 if (mConnectionState != STATE_DISCONNECTED) { in connect()
367 if (mConnectionState == STATE_DISCONNECTED) { in disconnect()
375 mConnectionState = STATE_DISCONNECTED; in disconnect()
/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/pbapclient/
DPbapPCEClient.java91 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
97 bluetoothConnectionState = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
109 bluetoothConnectionState = BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
158 BluetoothProfile.STATE_DISCONNECTED); in onPbapClientConnected()
186 if (oldState != BluetoothProfile.STATE_DISCONNECTED) { in handleMessage()
238 onConnectionStateChanged(mDevice,BluetoothProfile.STATE_DISCONNECTED, in handleConnect()
DPbapClientService.java194 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
307 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java108 mState = BluetoothSap.STATE_DISCONNECTED; in SapService()
286 setState(BluetoothSap.STATE_DISCONNECTED); in stopSapServerSession()
500 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in disconnect()
547 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
608 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in stop()
614 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in cleanup()
763 setState(BluetoothSap.STATE_DISCONNECTED); in onReceive()
806 if (service == null) return BluetoothSap.STATE_DISCONNECTED; in getState()
857 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java54 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED;
316 return BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
358 return (state == BluetoothProfile.STATE_DISCONNECTED || in validateProfileConnectionState()
367 case BluetoothProfile.STATE_DISCONNECTED: in convertToAdapterState()
368 return BluetoothAdapter.STATE_DISCONNECTED; in convertToAdapterState()
408 case BluetoothProfile.STATE_DISCONNECTED: in updateCountersAndCheckForConnectionStateChange()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java100 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallLocalDisconnect()
102 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallLocalDisconnect()
113 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallRemoteDisconnect()
115 assertEquals(Call.STATE_DISCONNECTED, in testSingleOutgoingCallRemoteDisconnect()
237 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallLocalDisconnect()
239 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallLocalDisconnect()
249 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallRemoteDisconnect()
251 assertEquals(Call.STATE_DISCONNECTED, in testSingleIncomingCallRemoteDisconnect()
276 assertEquals(Call.STATE_DISCONNECTED, in testOutgoingCallAndSelectPhoneAccount()
278 assertEquals(Call.STATE_DISCONNECTED, in testOutgoingCallAndSelectPhoneAccount()
[all …]
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java225 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
235 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
242 != BluetoothProfile.STATE_DISCONNECTED) { in nextStepDisconnect()
432 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
442 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
452 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { in handleIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java168 mState = BluetoothMap.STATE_DISCONNECTED; in BluetoothMapService()
189 setState(BluetoothMap.STATE_DISCONNECTED); in closeService()
320 setState(BluetoothMap.STATE_DISCONNECTED); in stopObexServerSessions()
568 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
682 if(getState() == BluetoothMap.STATE_DISCONNECTED) { in updateMasInstancesHandler()
830 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in stop()
837 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in cleanup()
1041 setState(BluetoothMap.STATE_DISCONNECTED); in onReceive()
1197 if (service == null) return BluetoothMap.STATE_DISCONNECTED; in getState()
1248 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/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/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java198 : BluetoothProfile.STATE_DISCONNECTED); in getConnectionState()
422 if (service == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
598 (oldState == BluetoothProfile.STATE_DISCONNECTED)) { in handleMessage()
617 else if ((newState == BluetoothProfile.STATE_DISCONNECTED) && in handleMessage()
818 : BluetoothProfile.STATE_DISCONNECTED); in onConnectionStateChanged()
820 : BluetoothProfile.STATE_DISCONNECTED); in onConnectionStateChanged()
822 if (connected && oldState == BluetoothProfile.STATE_DISCONNECTED) { in onConnectionStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1353 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
1356 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
1398 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
1495 broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
1537 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
1540 BluetoothProfile.STATE_DISCONNECTED); in processConnectionEvent()
1592 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
1593 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED, in processMessage()
1611 BluetoothProfile.STATE_DISCONNECTED); in processMessage()
2039 BluetoothProfile.STATE_DISCONNECTED, in processConnectionEvent()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java149 state = android.telecom.Call.STATE_DISCONNECTED; in getParcelableState()
180 (state != android.telecom.Call.STATE_DISCONNECTED)) { in getParcelableState()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java35 public static final int STATE_DISCONNECTED = STATE_NONE; field in AppPreference
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothA2dpConnector.java65 } else if (state == BluetoothA2dp.STATE_DISCONNECTED) {
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallListAdapter.java119 case Call.STATE_DISCONNECTED: in getStateString()
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConferenceController.java141 connection.getState() != Connection.STATE_DISCONNECTED) { in recalculateConference()
DConferenceParticipantConnection.java112 case STATE_DISCONNECTED: in updateState()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockEventReceiver.java102 if (newState == BluetoothProfile.STATE_DISCONNECTED && in onReceive()

12