Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java211 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in setMuted_whenHalMuted_onActivation_returnsTrue()
227 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in setMuted_whenHalMuted_onDeactivation_returnsFalse()
359 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in isHalMuted_withHalMuted()
386 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in getMutedBySystem_withHalMuted()
435 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices()
445 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex()
456 () -> carVolumeGroup.setCurrentGainIndex(MIN_GAIN_INDEX - 1)); in setCurrentGainIndex_checksNewGainIsAboveMin()
468 () -> carVolumeGroup.setCurrentGainIndex(MAX_GAIN_INDEX + 1)); in setCurrentGainIndex_checksNewGainIsBelowMax()
482 carVolumeGroup.setCurrentGainIndex(TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser()
494 carVolumeGroup.setCurrentGainIndex(TestCarAudioDeviceInfoBuilder.MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser()
[all …]
DCoreAudioVolumeGroupTest.java242 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(index); in setAndGetIndex()
250 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_AM_INIT_INDEX); in isMuted_defaultIsFalse()
260 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_AM_INIT_INDEX); in muteUnmute()
285 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()
324 unmutableMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_MAX_INDEX); in setMute_whenNotMutable()
337 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(index); in audioManagerIndexSynchronization()
362 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_AM_INIT_INDEX); in audioManagerMuteStateSynchronization()
391 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(amIndex); in audioManagerMuteStateSynchronization_withIndexChange()
425 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_AM_INIT_INDEX); in audioManagerMuteStateWithVolumeZeroSynchronization()
455 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_AM_INIT_INDEX); in audioManagerMutedAndUnmutedAtVolumeZeroSynchronization()
[all …]
DCarAudioVolumeGroupTest.java198 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices()
207 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex()
220 carVolumeGroup.setCurrentGainIndex(MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForUser()
232 carVolumeGroup.setCurrentGainIndex(MIN_GAIN); in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser()
308 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType()
333 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType()
358 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws()
381 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_extrapolationSucceeds()
436 carVolumeGroup.setCurrentGainIndex(getIndexForGain(MIN_GAIN, STEP_SIZE, newMaxGain)); in calculateNewGainStageFromDeviceInfos_whenBlockingActive_extrapolationSucceeds()
470 carVolumeGroup.setCurrentGainIndex(getIndexForGain(MIN_GAIN, STEP_SIZE, newMaxGain)); in calculateNewGainStageFromDeviceInfos_whenLimitingActive_extrapolationSucceeds()
[all …]
DCarAudioZoneConfigUnitTest.java293 verify(mMockMusicGroup).setCurrentGainIndex(musicGroupGainIndex); in synchronizeCurrentGainIndex()
294 verify(mMockNavGroup).setCurrentGainIndex(navGroupGainIndex); in synchronizeCurrentGainIndex()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZoneConfig.java319 group.setCurrentGainIndex(group.getCurrentGainIndex()); in synchronizeCurrentGainIndex()
DCarVolumeGroup.java511 void setCurrentGainIndex(int gainIndex) { in setCurrentGainIndex() method in CarVolumeGroup
DCarAudioService.java962 group.setCurrentGainIndex(index); in setGroupVolume()