Home
last modified time | relevance | path

Searched refs:mConnectedDevices (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java61 private final LinkedHashMap<String, DeviceInfo> mConnectedDevices = new LinkedHashMap<>(); field in AudioDeviceInventory
147 synchronized (mConnectedDevices) { in onRestoreDevices()
148 for (DeviceInfo di : mConnectedDevices.values()) { in onRestoreDevices()
182 synchronized (mConnectedDevices) { in onSetA2dpSinkConnectionState()
185 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSinkConnectionState()
224 synchronized (mConnectedDevices) { in onSetA2dpSourceConnectionState()
227 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSourceConnectionState()
247 synchronized (mConnectedDevices) { in onSetHearingAidConnectionState()
250 final DeviceInfo di = mConnectedDevices.get(key); in onSetHearingAidConnectionState()
283 synchronized (mConnectedDevices) { in onBluetoothA2dpActiveDeviceChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java66 private final List<CachedBluetoothDevice> mConnectedDevices = new ArrayList<>(); field in BluetoothControllerImpl
111 pw.print(" mConnectedDevices="); pw.println(mConnectedDevices); in dump()
144 return mConnectedDevices; in getConnectedDevices()
219 if (mConnectedDevices.size() == 1) { in getConnectedDeviceName()
220 return mConnectedDevices.get(0).getName(); in getConnectedDeviceName()
235 mConnectedDevices.clear(); in updateConnected()
244 mConnectedDevices.add(device); in updateConnected()
248 if (mConnectedDevices.isEmpty() && state == BluetoothAdapter.STATE_CONNECTED) { in updateConnected()