Searched refs:getCurrentGainIndex (Results 1 – 9 of 9) sorted by relevance
448 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex()510 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_GAIN_INDEX); in handleActivationVolume_withActivationVolumeDisabled()523 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_GAIN_INDEX); in handleActivationVolume_withUnsupportedActivationInvocationType()537 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(currentGainIndex); in handleActivationVolume_withVolumeWithinActivationVolumeRange()550 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MIN_ACTIVATION_GAIN_INDEX); in handleActivationVolume_withVolumeBelowMinActivationVolume()563 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in handleActivationVolume_withVolumeAboveMaxActivationVolume()577 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MIN_GAIN_INDEX); in handleActivationVolume_withMute()591 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in setMute_withFalseWhenMuteAndActivationVolume()606 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(blockedIndex); in handleActivationVolume_withBlock()621 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in resetBlocked_withActivationVolume()[all …]
251 int initialIndex = mMusicCoreAudioVolumeGroup.getCurrentGainIndex(); in isMuted_defaultIsFalse()268 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(0); in muteUnmute()279 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()) in muteUnmute()299 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()310 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()349 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()) in audioManagerIndexSynchronization()357 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(amIndex); in audioManagerIndexSynchronization()420 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(amIndex); in audioManagerMuteStateSynchronization_withIndexChange()449 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()) in audioManagerMuteStateWithVolumeZeroSynchronization()478 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()) in audioManagerMutedAndUnmutedAtVolumeZeroSynchronization()[all …]
255 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(DEFAULT_GAIN_INDEX); in factoryBuild_withNoStoredGain_usesDefaultGain()267 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(DEFAULT_GAIN_INDEX); in factoryBuild_withTooLargeStoredGain_usesDefaultGain()279 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(DEFAULT_GAIN_INDEX); in factoryBuild_withTooSmallStoredGain_usesDefaultGain()291 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_GAIN_INDEX - 1); in factoryBuild_withValidStoredGain_usesStoredGain()
201 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices()327 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType()352 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType()401 .that(carVolumeGroup.getCurrentGainIndex()) in calculateNewGainStageFromDeviceInfos_extrapolationSucceeds()428 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_DEFAULT_INDEX); in calculateNewGainStageFromDeviceInfos_extrapolationFails_setsToDefaultValue()458 .that(carVolumeGroup.getCurrentGainIndex()) in calculateNewGainStageFromDeviceInfos_whenBlockingActive_extrapolationSucceeds()492 .that(carVolumeGroup.getCurrentGainIndex()) in calculateNewGainStageFromDeviceInfos_whenLimitingActive_extrapolationSucceeds()528 .that(carVolumeGroup.getCurrentGainIndex()) in calculateNewGainStageFromDeviceInfos_whenAttenuationActive_extrapolationSucceeds()562 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_DEFAULT_INDEX); in calculateNewGainStageFromDeviceInfos_whenRestrictionsActive_extrapolationFails()
286 when(mMockMusicGroup.getCurrentGainIndex()).thenReturn(musicGroupGainIndex); in synchronizeCurrentGainIndex()287 when(mMockNavGroup.getCurrentGainIndex()).thenReturn(navGroupGainIndex); in synchronizeCurrentGainIndex()
239 if (getCurrentGainIndex() != 0) { in syncMuteState()
319 group.setCurrentGainIndex(group.getCurrentGainIndex()); in synchronizeCurrentGainIndex()
475 int getCurrentGainIndex() { in getCurrentGainIndex() method in CarVolumeGroup
1120 return group.getCurrentGainIndex(); in getGroupVolume()