Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioZoneConfigUnitTest.java188 CarAudioZoneConfig zoneConfig = mTestAudioZoneConfigBuilder.addVolumeGroup(mMockMusicGroup) in getVolumeGroup_withName()
189 .addVolumeGroup(mMockNavGroup).addVolumeGroup(mMockVoiceGroup).build(); in getVolumeGroup_withName()
197 CarAudioZoneConfig zoneConfig = mTestAudioZoneConfigBuilder.addVolumeGroup(mMockMusicGroup) in getVolumeGroup_withNameNotFound_returnsNull()
198 .addVolumeGroup(mMockNavGroup).addVolumeGroup(mMockVoiceGroup).build(); in getVolumeGroup_withNameNotFound_returnsNull()
206 CarAudioZoneConfig zoneConfig = mTestAudioZoneConfigBuilder.addVolumeGroup(mMockMusicGroup) in getVolumeGroup_withGroupId()
207 .addVolumeGroup(mMockNavGroup).addVolumeGroup(mMockVoiceGroup).build(); in getVolumeGroup_withGroupId()
216 CarAudioZoneConfig zoneConfig = mTestAudioZoneConfigBuilder.addVolumeGroup(mMockMusicGroup) in getVolumeGroup_withGroupIdOutOfRange()
217 .addVolumeGroup(mMockNavGroup).addVolumeGroup(mMockVoiceGroup).build(); in getVolumeGroup_withGroupIdOutOfRange()
245 CarAudioZoneConfig zoneConfig = mTestAudioZoneConfigBuilder.addVolumeGroup(mMockMusicGroup) in isActive_returnsTrue()
246 .addVolumeGroup(mMockNavGroup).addVolumeGroup(mMockVoiceGroup).build(); in isActive_returnsTrue()
[all …]
DCarVolumeGroupMutingTest.java118 .addVolumeGroup(mMusicCarVolumeGroup) in setUp()
119 .addVolumeGroup(mNavigationCarVolumeGroup) in setUp()
120 .addVolumeGroup(mVoiceCarVolumeGroup) in setUp()
501 .addVolumeGroup(new VolumeGroupBuilder() in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
509 .addVolumeGroup(new VolumeGroupBuilder() in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
543 .addVolumeGroup(volumeGroup).build(); in createAudioZone()
DCarAudioPlaybackMonitorTest.java345 .addVolumeGroup(mMockPrimaryZoneMediaGroup) in generatePrimaryZone()
346 .addVolumeGroup(mMockPrimaryZoneNavGroup) in generatePrimaryZone()
347 .addVolumeGroup(mMockPrimaryZoneRingtoneGroup).build(); in generatePrimaryZone()
364 .addVolumeGroup(mMockSecondaryZoneMediaGroup) in generateSecondaryZone()
365 .addVolumeGroup(mMockSecondaryZoneNavGroup).build(); in generateSecondaryZone()
DCarAudioZoneUnitTest.java167 TEST_ZONE_CONFIG_NAME_0).setIsDefault(true).addVolumeGroup(mMockMusicGroup0) in setUp()
168 .addVolumeGroup(mMockNavGroup0).addVolumeGroup(mMockVoiceGroup0).build(); in setUp()
170 TEST_ZONE_CONFIG_NAME_1).addVolumeGroup(mMockGroup1).build(); in setUp()
719 .addVolumeGroup(mMockMusicGroup0).build(); in onAudioGainChanged_withoutAnyDeviceAddressInZone()
776 .addVolumeGroup(mMockMusicGroup0).build(); in onAudioPortsChanged_withoutAnyDeviceAddressInZone()
901 .addVolumeGroup(mMockMusicGroup0).addVolumeGroup(mMockNavGroup0).build(); in getAudioDeviceForContext_withoutOutputDeviceFound()
950 TestCarAudioZoneConfigBuilder addVolumeGroup(CarVolumeGroup volumeGroup) { in addVolumeGroup() method in CarAudioZoneUnitTest.TestCarAudioZoneConfigBuilder
DZoneAudioPlaybackCallbackTest.java626 .addVolumeGroup(new VolumeGroupBuilder() in generatePrimaryZone()
630 .addVolumeGroup(new VolumeGroupBuilder() in generatePrimaryZone()
634 .addVolumeGroup(new VolumeGroupBuilder() in generatePrimaryZone()
DCarAudioPlaybackCallbackTest.java405 .addVolumeGroup(new VolumeGroupBuilder() in generatePrimaryZone()
419 .addVolumeGroup(new VolumeGroupBuilder() in generateSecondaryZone()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioDynamicRoutingTest.java300 /* isDefault= */ true).addVolumeGroup(mockMusicGroup) in getTestCarAudioZones()
301 .addVolumeGroup(mockNavGroupRoutingOnMusic) in getTestCarAudioZones()
307 /* isDefault= */ false).addVolumeGroup(mockMusicGroup) in getTestCarAudioZones()
308 .addVolumeGroup(mockNavGroupRoutingOnMusic) in getTestCarAudioZones()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelperLegacy.java162 zoneConfigBuilder.addVolumeGroup(volumeGroups.get(index)); in loadAudioZones()
DCarAudioZoneConfig.java607 Builder addVolumeGroup(CarVolumeGroup volumeGroup) { in addVolumeGroup() method in CarAudioZoneConfig.Builder
DCarAudioZonesHelper.java658 zoneConfigBuilder.addVolumeGroup(factory.getCarVolumeGroup(mUseCoreAudioVolume)); in parseVolumeGroups()