Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1199 List<AudioDeviceAttributes> nonDefaultDevices = mNonDefaultDevices.get(strategy); in onSaveSetPreferredDevices() local
1200 if (nonDefaultDevices != null) { in onSaveSetPreferredDevices()
1201 nonDefaultDevices.removeAll(devices); in onSaveSetPreferredDevices()
1203 if (nonDefaultDevices.isEmpty()) { in onSaveSetPreferredDevices()
1206 mNonDefaultDevices.put(strategy, nonDefaultDevices); in onSaveSetPreferredDevices()
1208 dispatchNonDefaultDevice(strategy, nonDefaultDevices); in onSaveSetPreferredDevices()
1221 List<AudioDeviceAttributes> nonDefaultDevices = mNonDefaultDevices.get(strategy); in onSaveSetDeviceAsNonDefault() local
1222 if (nonDefaultDevices == null) { in onSaveSetDeviceAsNonDefault()
1223 nonDefaultDevices = new ArrayList<>(); in onSaveSetDeviceAsNonDefault()
1226 if (!nonDefaultDevices.contains(device)) { in onSaveSetDeviceAsNonDefault()
[all …]