/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 150 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/ |
D | A2dpSinkStateMachine.java | 201 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/ |
D | PanService.java | 123 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/ |
D | Car.java | 140 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/ |
D | HeadsetStateMachine.java | 347 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/ |
D | Car.java | 213 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/ |
D | HidService.java | 155 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/ |
D | PbapPCEClient.java | 91 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()
|
D | PbapClientService.java | 194 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState() 307 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 108 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/ |
D | AdapterProperties.java | 54 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/ |
D | BasicCallTests.java | 100 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/ |
D | BluetoothPeripheralHandover.java | 225 != 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/ |
D | BluetoothMapService.java | 168 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/ |
D | HealthService.java | 386 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/ |
D | BluetoothPbapService.java | 192 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/ |
D | AvrcpControllerService.java | 198 : 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/ |
D | HeadsetClientStateMachine.java | 1353 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/ |
D | ParcelableCallUtils.java | 149 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/ |
D | AppPreference.java | 35 public static final int STATE_DISCONNECTED = STATE_NONE; field in AppPreference
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothA2dpConnector.java | 65 } else if (state == BluetoothA2dp.STATE_DISCONNECTED) {
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallListAdapter.java | 119 case Call.STATE_DISCONNECTED: in getStateString()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | CdmaConferenceController.java | 141 connection.getState() != Connection.STATE_DISCONNECTED) { in recalculateConference()
|
D | ConferenceParticipantConnection.java | 112 case STATE_DISCONNECTED: in updateState()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DockEventReceiver.java | 102 if (newState == BluetoothProfile.STATE_DISCONNECTED && in onReceive()
|