Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java75 private final List<CachedBluetoothDevice> mConnectedDevices = new ArrayList<>(); field in BluetoothControllerImpl
181 synchronized (mConnectedDevices) { in getConnectedDevices()
182 out = new ArrayList<>(mConnectedDevices); in getConnectedDevices()
248 synchronized (mConnectedDevices) { in getConnectedDeviceName()
249 if (mConnectedDevices.size() == 1) { in getConnectedDeviceName()
250 connectedDevice = mConnectedDevices.get(0); in getConnectedDeviceName()
255 synchronized (mConnectedDevices) { in getConnectedDeviceName()
256 if (mConnectedDevices.size() == 1) { in getConnectedDeviceName()
257 return mConnectedDevices.get(0).getName(); in getConnectedDeviceName()
279 synchronized (mConnectedDevices) { in onConnectionStatusFetched()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java330 for (DeviceInfo di : mConnectedDevices.values()) { in synchronizeBleDeviceInInventory()
474 private final LinkedHashMap<String, DeviceInfo> mConnectedDevices = new LinkedHashMap<>() { field in AudioDeviceInventory
720 mConnectedDevices.forEach((key, deviceInfo) -> { in dump()
766 for (DeviceInfo di : mConnectedDevices.values()) { in onRestoreDevices()
842 final DeviceInfo di = mConnectedDevices.get(key); in onSetBtActiveDevice()
962 final DeviceInfo di = mConnectedDevices.get(key); in onBluetoothDeviceConfigChange()
980 mConnectedDevices.replace(key, di); in onBluetoothDeviceConfigChange()
1040 for (DeviceInfo di : mConnectedDevices.values()) { in onUpdateLeAudioGroupAddresses()
1179 final DeviceInfo di = mConnectedDevices.get(key); in onToggleHdmi()
1719 return (mConnectedDevices.get(key) != null);
[all …]