Loading android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +16 −0 Original line number Diff line number Diff line Loading @@ -344,6 +344,22 @@ public class LeAudioService extends ProfileService { } } /** * Get the list of devices that have state machines. * * @return the list of devices that have state machines */ @VisibleForTesting List<BluetoothDevice> getDevices() { List<BluetoothDevice> devices = new ArrayList<>(); synchronized (mStateMachines) { for (LeAudioStateMachine sm : mStateMachines.values()) { devices.add(sm.getDevice()); } return devices; } } /** * Get the current connection state of the profile * Loading Loading
android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +16 −0 Original line number Diff line number Diff line Loading @@ -344,6 +344,22 @@ public class LeAudioService extends ProfileService { } } /** * Get the list of devices that have state machines. * * @return the list of devices that have state machines */ @VisibleForTesting List<BluetoothDevice> getDevices() { List<BluetoothDevice> devices = new ArrayList<>(); synchronized (mStateMachines) { for (LeAudioStateMachine sm : mStateMachines.values()) { devices.add(sm.getDevice()); } return devices; } } /** * Get the current connection state of the profile * Loading