Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java52 private final List<CarVolumeGroup> mVolumeGroups; field in CarAudioZone
59 mVolumeGroups = new ArrayList<>(); in CarAudioZone()
77 mVolumeGroups.add(volumeGroup); in addVolumeGroup()
82 Preconditions.checkArgumentInRange(groupId, 0, mVolumeGroups.size() - 1, in getVolumeGroup()
84 return mVolumeGroups.get(groupId); in getVolumeGroup()
92 for (CarVolumeGroup group : mVolumeGroups) { in getAudioDeviceInfos()
101 return mVolumeGroups.size(); in getVolumeGroupCount()
108 return mVolumeGroups.toArray(new CarVolumeGroup[0]); in getVolumeGroups()
127 for (int index = 0; index < mVolumeGroups.size(); index++) { in validateVolumeGroups()
128 CarVolumeGroup group = mVolumeGroups.get(index); in validateVolumeGroups()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesValidatorTest.java116 private CarVolumeGroup[] mVolumeGroups = new CarVolumeGroup[0]; field in CarAudioZonesValidatorTest.MockBuilder
122 when(zoneMock.getVolumeGroups()).thenReturn(mVolumeGroups); in build()
137 mVolumeGroups = volumeGroups; in withVolumeGroups()