Searched refs:activeDevices (Results 1 – 6 of 6) sorted by relevance
174 List<CastDevice> activeDevices = getActiveDevices(); in handleClick() local186 mController.stopCasting(activeDevices.get(0)); in handleClick()195 List<CastDevice> activeDevices = getActiveDevices(); in willPopDialog() local196 return activeDevices.isEmpty() || (activeDevices.get(0).tag instanceof RouteInfo); in willPopDialog()200 ArrayList<CastDevice> activeDevices = new ArrayList<>(); in getActiveDevices() local204 activeDevices.add(device); in getActiveDevices()208 return activeDevices; in getActiveDevices()
138 final List<BluetoothDevice> activeDevices = mBluetoothAdapter in getActiveDevice() local140 return (activeDevices.size() > 0) ? activeDevices.get(0) : null; in getActiveDevice()
178 final List<BluetoothDevice> activeDevices = mBluetoothAdapter in getActiveDevice()180 return (activeDevices.size() > 0) ? activeDevices.get(0) : null; in getActiveDevice()
432 List<BluetoothDevice> activeDevices; in onServiceConnected() local437 activeDevices = mBluetoothAdapter.getActiveDevices(BluetoothProfile.A2DP); in onServiceConnected()441 activeDevices = mBluetoothAdapter.getActiveDevices( in onServiceConnected()446 activeDevices = mBluetoothAdapter.getActiveDevices(BluetoothProfile.LE_AUDIO); in onServiceConnected()457 if (activeDevices.contains(device)) { in onServiceConnected()
703 List<BluetoothDevice> activeDevices = adapter.getActiveDevices(profile); in onBtProfileConnected() local704 if (activeDevices.isEmpty() || activeDevices.get(0) == null) { in onBtProfileConnected()707 BluetoothDevice device = activeDevices.get(0); in onBtProfileConnected()793 List<BluetoothDevice> activeDevices = in onHeadsetProfileConnected() local795 for (BluetoothDevice device : activeDevices) { in onHeadsetProfileConnected()1210 List<BluetoothDevice> activeDevices = adapter.getActiveDevices(BluetoothProfile.LE_AUDIO); in getLeAudioGroupAddresses() local1211 for (BluetoothDevice device : activeDevices) { in getLeAudioGroupAddresses()
715 DeviceVector activeDevices; in getActiveMediaDevices() local717 DEVICE_ROLE_PREFERRED, availableDevices, activeDevices) != NO_ERROR) { in getActiveMediaDevices()718 activeDevices.clear(); in getActiveMediaDevices()724 activeDevices.add(device); in getActiveMediaDevices()727 return activeDevices; in getActiveMediaDevices()