Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DVolumeGroupBuilder.java35 private SparseArray<String> mDeviceAddresses = new SparseArray<>(); field in VolumeGroupBuilder
43 mDeviceAddresses.put(context, address); in addDeviceAddressAndContexts()
62 int[] contexts = new int[mDeviceAddresses.size()]; in build()
64 for (int index = 0; index < mDeviceAddresses.size(); index++) { in build()
65 int context = mDeviceAddresses.keyAt(index); in build()
66 String address = mDeviceAddresses.get(context); in build()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java53 private final Set<String> mDeviceAddresses; field in CarAudioZone
61 mDeviceAddresses = new HashSet<>(); in CarAudioZone()
78 mDeviceAddresses.addAll(volumeGroup.getAddresses()); in addVolumeGroup()
240 return mDeviceAddresses.contains(deviceAddress); in containsDeviceAddress()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java306 private SparseArray<String> mDeviceAddresses = new SparseArray<>(); field in CarAudioZoneTest.VolumeGroupBuilder
309 mDeviceAddresses.put(context, address); in addDeviceAddressAndContexts()
316 @AudioContext int[] contexts = new int[mDeviceAddresses.size()]; in build()
318 for (int index = 0; index < mDeviceAddresses.size(); index++) { in build()
319 @AudioContext int context = mDeviceAddresses.keyAt(index); in build()
320 String address = mDeviceAddresses.get(context); in build()