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.java57 private final ArrayMap<String, DeviceInfo> mConnectedDevices = new ArrayMap<>(); field in AudioDeviceInventory
136 synchronized (mConnectedDevices) { in onRestoreDevices()
137 for (int i = 0; i < mConnectedDevices.size(); i++) { in onRestoreDevices()
138 DeviceInfo di = mConnectedDevices.valueAt(i); in onRestoreDevices()
168 synchronized (mConnectedDevices) { in onSetA2dpSinkConnectionState()
171 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSinkConnectionState()
225 synchronized (mConnectedDevices) { in onSetA2dpSourceConnectionState()
228 final DeviceInfo di = mConnectedDevices.get(key); in onSetA2dpSourceConnectionState()
248 synchronized (mConnectedDevices) { in onSetHearingAidConnectionState()
251 final DeviceInfo di = mConnectedDevices.get(key); in onSetHearingAidConnectionState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java65 private final List<CachedBluetoothDevice> mConnectedDevices = new ArrayList<>(); field in BluetoothControllerImpl
106 pw.print(" mConnectedDevices="); pw.println(mConnectedDevices); in dump()
139 return mConnectedDevices; in getConnectedDevices()
204 if (mConnectedDevices.size() == 1) { in getConnectedDeviceName()
205 return mConnectedDevices.get(0).getName(); in getConnectedDeviceName()
220 mConnectedDevices.clear(); in updateConnected()
229 mConnectedDevices.add(device); in updateConnected()
233 if (mConnectedDevices.isEmpty() && state == BluetoothAdapter.STATE_CONNECTED) { in updateConnected()