Home
last modified time | relevance | path

Searched refs:connectionState (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java523 int connectionState = sm.getConnectionState(device); in disconnect() local
524 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()
525 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
651 int connectionState = sm.getConnectionState(device); in holdCall() local
652 if (connectionState != BluetoothProfile.STATE_CONNECTED && in holdCall()
653 connectionState != BluetoothProfile.STATE_CONNECTING) { in holdCall()
670 int connectionState = entry.getValue().getConnectionState(entry.getKey()); in acceptCall() local
675 if (connectionState == BluetoothProfile.STATE_CONNECTED) { in acceptCall()
688 int connectionState = sm.getConnectionState(device); in acceptCall() local
689 if (connectionState != BluetoothProfile.STATE_CONNECTED) { in acceptCall()
[all …]
DHeadsetClientStateMachine.java1723 int connectionState; in getDevicesMatchingConnectionStates() local
1730 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
1732 if (connectionState == state) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java360 int connectionState = mStateMachine.getConnectionState(device); in connect() local
361 if (connectionState == BluetoothProfile.STATE_CONNECTED in connect()
362 || connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()
364 "connect: already connected/connecting, connectionState=" + connectionState in connect()
375 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local
376 if (connectionState != BluetoothProfile.STATE_CONNECTED in disconnect()
377 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
379 "disconnect: not connected/connecting, connectionState=" + connectionState in disconnect()
420 int connectionState = mStateMachine.getConnectionState(device); in startVoiceRecognition() local
421 if (connectionState != BluetoothProfile.STATE_CONNECTED in startVoiceRecognition()
[all …]
DHeadsetStateMachine.java2252 int connectionState; in getDevicesMatchingConnectionStates() local
2259 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
2261 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java127 int connectionState = mStateMachine.getConnectionState(device); in connect() local
128 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()
129 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()
144 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local
145 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()
146 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
DA2dpSinkStateMachine.java730 int connectionState; in getDevicesMatchingConnectionStates() local
737 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
739 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java199 int connectionState = mStateMachine.getConnectionState(device); in connect() local
200 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()
201 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()
212 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local
213 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()
214 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
DA2dpStateMachine.java895 int connectionState; in getDevicesMatchingConnectionStates() local
902 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
904 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java101 int connectionState; in getDevicesMatchingConnectionStates() local
103 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
104 Log.d(TAG, "Device: " + device + "State: " + connectionState); in getDevicesMatchingConnectionStates()
106 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtils.java58 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument
59 switch (connectionState) { in getConnectionStateSummary()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java515 int connectionState; in getDevicesMatchingConnectionStates() local
522 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
524 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java533 int connectionState; in getDevicesMatchingConnectionStates() local
540 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()
542 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()