Searched refs:connectionState (Results 1 – 12 of 12) sorted by relevance
523 int connectionState = sm.getConnectionState(device); in disconnect() local524 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()525 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()651 int connectionState = sm.getConnectionState(device); in holdCall() local652 if (connectionState != BluetoothProfile.STATE_CONNECTED && in holdCall()653 connectionState != BluetoothProfile.STATE_CONNECTING) { in holdCall()670 int connectionState = entry.getValue().getConnectionState(entry.getKey()); in acceptCall() local675 if (connectionState == BluetoothProfile.STATE_CONNECTED) { in acceptCall()688 int connectionState = sm.getConnectionState(device); in acceptCall() local689 if (connectionState != BluetoothProfile.STATE_CONNECTED) { in acceptCall()[all …]
1723 int connectionState; in getDevicesMatchingConnectionStates() local1730 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()1732 if (connectionState == state) { in getDevicesMatchingConnectionStates()
360 int connectionState = mStateMachine.getConnectionState(device); in connect() local361 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() local376 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() local421 if (connectionState != BluetoothProfile.STATE_CONNECTED in startVoiceRecognition()[all …]
2252 int connectionState; in getDevicesMatchingConnectionStates() local2259 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()2261 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
127 int connectionState = mStateMachine.getConnectionState(device); in connect() local128 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()129 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()144 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local145 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()146 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
730 int connectionState; in getDevicesMatchingConnectionStates() local737 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()739 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
199 int connectionState = mStateMachine.getConnectionState(device); in connect() local200 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()201 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()212 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local213 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()214 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
895 int connectionState; in getDevicesMatchingConnectionStates() local902 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()904 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
101 int connectionState; in getDevicesMatchingConnectionStates() local103 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()104 Log.d(TAG, "Device: " + device + "State: " + connectionState); in getDevicesMatchingConnectionStates()106 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
58 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument59 switch (connectionState) { in getConnectionStateSummary()
515 int connectionState; in getDevicesMatchingConnectionStates() local522 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()524 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
533 int connectionState; in getDevicesMatchingConnectionStates() local540 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()542 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()