Searched refs:connectedDevice (Results 1 – 6 of 6) sorted by relevance
260 AudioRoutingDevice connectedDevice = getAudioRoutingDevice(device); in handleProfileConnected() local261 if (connectedDevice.connectedProfiles.contains(profile)) { in handleProfileConnected()265 connectedDevice.connectedProfiles.add(profile); in handleProfileConnected()266 if (!shouldActivateWhenConnected(connectedDevice)) { in handleProfileConnected()269 if (!connectedDevice.canActivateNow(profile)) { in handleProfileConnected()272 () -> activateDeviceProfile(connectedDevice, profile), in handleProfileConnected()273 connectedDevice, in handleProfileConnected() local277 activateDeviceProfile(connectedDevice, profile); in handleProfileConnected()672 private boolean shouldActivateWhenConnected(AudioRoutingDevice connectedDevice) { in shouldActivateWhenConnected() argument673 BluetoothDevice device = connectedDevice.device; in shouldActivateWhenConnected()[all …]
81 UsbDevice connectedDevice = getDevice(); in processDevice() local83 if (connectedDevice != null) { in processDevice()84 Log.d(TAG, "Processing device: " + connectedDevice.getProductName()); in processDevice()85 mController.processDevice(connectedDevice); in processDevice()
91 for (BluetoothDevice connectedDevice : connectedDevices) { in getConnectionState()92 if (device.equals(connectedDevice)) { in getConnectionState()
1792 BluetoothDevice connectedDevice = in setBluetoothOn() local1794 if (address == null && connectedDevice != null) { in setBluetoothOn()1801 mBluetoothRouteManager.connectBluetoothAudio(connectedDevice.getAddress()); in setBluetoothOn()1804 if (connectedDevice == null || !Objects.equals(address, connectedDevice.getAddress())) { in setBluetoothOn()2018 for (BluetoothDevice connectedDevice: connectedBtDevices) { in isWatchActiveOrOnlyWatchesAvailable()2019 if (mBluetoothRouteManager.isWatch(connectedDevice)) { in isWatchActiveOrOnlyWatchesAvailable()
260 for (BluetoothDevice connectedDevice : getConnectedDevices()) { in connect()261 disconnect(connectedDevice); in connect()
2142 BluetoothDevice connectedDevice = audioConnectableDevices.get(0); in isInbandRingingEnabled() local2143 BluetoothSinkAudioPolicy callAudioPolicy = getHfpCallAudioPolicy(connectedDevice); in isInbandRingingEnabled()