Home
last modified time | relevance | path

Searched refs:activeDevices (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java134 List<CastDevice> activeDevices = getActiveDevices(); in handleClick() local
139 if (activeDevices.isEmpty() || (activeDevices.get(0).tag instanceof RouteInfo)) { in handleClick()
144 mController.stopCasting(activeDevices.get(0)); in handleClick()
149 ArrayList<CastDevice> activeDevices = new ArrayList<>(); in getActiveDevices() local
153 activeDevices.add(device); in getActiveDevices()
157 return activeDevices; in getActiveDevices()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java397 List<BluetoothDevice> activeDevices; in onServiceConnected() local
402 activeDevices = Collections.singletonList(mA2dpProfile.getActiveDevice()); in onServiceConnected()
406 activeDevices = mHearingAidProfile.getActiveDevices(); in onServiceConnected()
417 if (activeDevices.contains(device)) { in onServiceConnected()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5534 DeviceVector activeDevices; in getDevicesForStream() local
5546 activeDevices.merge(outputDesc->devices()); in getDevicesForStream()
5553 if (!activeDevices.isEmpty()) { in getDevicesForStream()
5554 devices = activeDevices; in getDevicesForStream()