Searched refs:connectionState (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java447 int connectionState = mStateMachine.getConnectionState(device);
448 if (connectionState == BluetoothProfile.STATE_CONNECTED ||
449 connectionState == BluetoothProfile.STATE_CONNECTING) {
460 int connectionState = mStateMachine.getConnectionState(device);
461 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
462 connectionState != BluetoothProfile.STATE_CONNECTING) {
509 int connectionState = mStateMachine.getConnectionState(device);
510 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
511 connectionState != BluetoothProfile.STATE_CONNECTING) {
523 int connectionState
[all...]
H A DHeadsetClientStateMachine.java2327 int connectionState;
2334 connectionState = getConnectionState(device);
2336 if (connectionState == state) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpSinkService.java108 int connectionState = mStateMachine.getConnectionState(device);
109 if (connectionState == BluetoothProfile.STATE_CONNECTED ||
110 connectionState == BluetoothProfile.STATE_CONNECTING) {
121 int connectionState = mStateMachine.getConnectionState(device);
122 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
123 connectionState != BluetoothProfile.STATE_CONNECTING) {
H A DA2dpService.java127 int connectionState = mStateMachine.getConnectionState(device);
128 if (connectionState == BluetoothProfile.STATE_CONNECTED ||
129 connectionState == BluetoothProfile.STATE_CONNECTING) {
140 int connectionState = mStateMachine.getConnectionState(device);
141 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
142 connectionState != BluetoothProfile.STATE_CONNECTING) {
H A DA2dpSinkStateMachine.java655 int connectionState;
662 connectionState = getConnectionState(device);
664 if (connectionState == states[i]) {
H A DA2dpStateMachine.java657 int connectionState;
664 connectionState = getConnectionState(device);
666 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java338 int connectionState = mStateMachine.getConnectionState(device);
339 Log.d(TAG,"connectionState = " + connectionState);
340 if (connectionState == BluetoothProfile.STATE_CONNECTED ||
341 connectionState == BluetoothProfile.STATE_CONNECTING) {
352 int connectionState = mStateMachine.getConnectionState(device);
353 if (connectionState != BluetoothProfile.STATE_CONNECTED &&
354 connectionState != BluetoothProfile.STATE_CONNECTING) {
398 int connectionState = mStateMachine.getConnectionState(device);
399 if (connectionState !
[all...]
H A DHeadsetStateMachine.java2229 int connectionState;
2236 connectionState = getConnectionState(device);
2238 if (connectionState == states[i]) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtils.java42 public static int getConnectionStateSummary(int connectionState) { argument
43 switch (connectionState) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java487 int connectionState;
494 connectionState = getConnectionState(device);
496 if (connectionState == states[i]) {

Completed in 211 milliseconds