/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 493 int connectionState = sm.getConnectionState(device); in disconnect() local 494 if (connectionState != BluetoothProfile.STATE_CONNECTED in disconnect() 495 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect() 562 int connectionState = sm.getConnectionState(device); in startVoiceRecognition() local 563 if (connectionState != BluetoothProfile.STATE_CONNECTED) { in startVoiceRecognition() 577 int connectionState = sm.getConnectionState(device); in stopVoiceRecognition() local 578 if (connectionState != BluetoothProfile.STATE_CONNECTED) { in stopVoiceRecognition() 636 int connectionState = sm.getConnectionState(device); in holdCall() local 637 if (connectionState != BluetoothProfile.STATE_CONNECTED in holdCall() 638 && connectionState != BluetoothProfile.STATE_CONNECTING) { in holdCall() [all …]
|
D | HeadsetClientStateMachine.java | 1837 int connectionState; in getDevicesMatchingConnectionStates() local 1844 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() 1846 if (connectionState == state) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 702 int connectionState = stateMachine.getConnectionState(); in connect() local 703 if (connectionState == BluetoothProfile.STATE_CONNECTED in connect() 704 || connectionState == BluetoothProfile.STATE_CONNECTING) { in connect() 706 + " is already connected/connecting, connectionState=" + connectionState); in connect() 741 int connectionState = stateMachine.getConnectionState(); in disconnect() local 742 if (connectionState != BluetoothProfile.STATE_CONNECTED in disconnect() 743 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect() 745 + " not connected/connecting, connectionState=" + connectionState); in disconnect() 789 int connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() local 791 if (connectionState == state) { in getDevicesMatchingConnectionStates() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 260 int connectionState = stateMachine.getState(); in disconnect() local 261 if (connectionState == BluetoothProfile.STATE_DISCONNECTED in disconnect() 262 || connectionState == BluetoothProfile.STATE_DISCONNECTING) { in disconnect() 293 int connectionState; in getDevicesMatchingConnectionStates() local 295 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() 296 if (DBG) Log.d(TAG, "Device: " + device + "State: " + connectionState); in getDevicesMatchingConnectionStates() 298 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 172 int connectionState = mapStateMachine.getState(); in disconnect() local 173 if (connectionState != BluetoothProfile.STATE_CONNECTED in disconnect() 174 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect() 199 int connectionState; in getDevicesMatchingConnectionStates() local 201 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() 202 if (DBG) Log.d(TAG, "Device: " + device + "State: " + connectionState); in getDevicesMatchingConnectionStates() 204 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 626 int connectionState = stateMachine.getState(); in disconnect() local 627 if (connectionState != BluetoothProfile.STATE_CONNECTED in disconnect() 628 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect() 670 int connectionState; in getDevicesMatchingConnectionStates() local 672 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() 673 if (DBG) Log.d(TAG, "Device: " + device + "State: " + connectionState); in getDevicesMatchingConnectionStates() 675 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 53 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument 54 switch (connectionState) { in getConnectionStateSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | Utils.java | 55 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument 56 switch (connectionState) { in getConnectionStateSummary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 392 int connectionState = BluetoothProfile.STATE_DISCONNECTED; in getDevicesMatchingConnectionStates() local 395 connectionState = sm.getConnectionState(); in getDevicesMatchingConnectionStates() 398 if (connectionState == state) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 570 int connectionState; in getDevicesMatchingConnectionStates() local 577 connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() 579 if (connectionState == states[i]) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 387 int connectionState = BluetoothProfile.STATE_DISCONNECTED; in getDevicesMatchingConnectionStates() local 390 connectionState = sm.getConnectionState(); in getDevicesMatchingConnectionStates() 393 if (connectionState == state) { in getDevicesMatchingConnectionStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 373 void setConnectionState(int connectionState) { in setConnectionState() argument 374 mConnectionState = connectionState; in setConnectionState()
|
D | RemoteDevices.java | 642 int connectionState = newState == AbstractionLayer.BT_ACL_STATE_CONNECTED in aclStateChangeCallback() local 645 sAdapterService.obfuscateAddress(device), connectionState); in aclStateChangeCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 555 int connectionState = getConnectionState(device); in getDevicesMatchingConnectionStates() local 557 if (connectionState == state) { in getDevicesMatchingConnectionStates()
|