Searched refs:connectionState (Results 1 – 11 of 11) sorted by relevance
447 int connectionState = mStateMachine.getConnectionState(device); in connect() local448 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()449 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()460 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local461 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()462 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()509 int connectionState = mStateMachine.getConnectionState(device); in startVoiceRecognition() local510 if (connectionState != BluetoothProfile.STATE_CONNECTED && in startVoiceRecognition()511 connectionState != BluetoothProfile.STATE_CONNECTING) { in startVoiceRecognition()523 int connectionState = mStateMachine.getConnectionState(device); in stopVoiceRecognition() local[all …]
2364 int connectionState; in getDevicesMatchingConnectionStates() local2371 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()2373 if (connectionState == state) { in getDevicesMatchingConnectionStates()
338 int connectionState = mStateMachine.getConnectionState(device); in connect() local339 Log.d(TAG,"connectionState = " + connectionState); in connect()340 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()341 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()352 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local353 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()354 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()398 int connectionState = mStateMachine.getConnectionState(device); in startVoiceRecognition() local399 if (connectionState != BluetoothProfile.STATE_CONNECTED && in startVoiceRecognition()400 connectionState != BluetoothProfile.STATE_CONNECTING) { in startVoiceRecognition()[all …]
2306 int connectionState; in getDevicesMatchingConnectionStates() local2313 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()2315 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
108 int connectionState = mStateMachine.getConnectionState(device); in connect() local109 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()110 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()121 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local122 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()123 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
142 int connectionState = mStateMachine.getConnectionState(device); in connect() local143 if (connectionState == BluetoothProfile.STATE_CONNECTED || in connect()144 connectionState == BluetoothProfile.STATE_CONNECTING) { in connect()155 int connectionState = mStateMachine.getConnectionState(device); in disconnect() local156 if (connectionState != BluetoothProfile.STATE_CONNECTED && in disconnect()157 connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
662 int connectionState; in getDevicesMatchingConnectionStates() local669 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()671 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
694 int connectionState; in getDevicesMatchingConnectionStates() local701 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()703 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
45 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument46 switch (connectionState) { in getConnectionStateSummary()
520 int connectionState; in getDevicesMatchingConnectionStates() local527 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()529 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
494 int connectionState; in getDevicesMatchingConnectionStates() local501 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates()503 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()