Searched refs:DEFAULT_GAIN_INDEX (Results 1 – 5 of 5) sorted by relevance
77 private static final int DEFAULT_GAIN_INDEX = (TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN field in CarVolumeGroupUnitTest211 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()1102 musicGain.volumeIndex = DEFAULT_GAIN_INDEX; in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume()1110 .isEqualTo(DEFAULT_GAIN_INDEX); in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume()1149 musicGain.volumeIndex = DEFAULT_GAIN_INDEX; in onAudioGainChanged_withUnderLimit_thenEndsWithVolumeUnchanged()1191 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in onAudioGainChanged_withBlockedGain_thenEndsAndRestoresVolume()1234 .isEqualTo(DEFAULT_GAIN_INDEX); in onAudioGainChanged_withBlockedGain_thenEndsAndRestoresVolume()[all …]
41 private static final int DEFAULT_GAIN_INDEX = (TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN field in CarVolumeGroupFactoryTest255 .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()
83 private static final int DEFAULT_GAIN_INDEX = getIndexForGain(MIN_GAIN, STEP_SIZE, field in CarAudioVolumeGroupTest172 .isEqualTo(DEFAULT_GAIN_INDEX); in testInitializedIndexes()184 .that(carVolumeGroup.isValidGainIndex(DEFAULT_GAIN_INDEX)) in checkValidGainIndexes()538 carVolumeGroup.setCurrentGainIndex(DEFAULT_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_whenRestrictionsActive_extrapolationFails()
491 proto.write(CarAudioDumpProto.CarVolumeGain.DEFAULT_GAIN_INDEX, mDefaultGain); in dumpProto()
674 proto.write(CarAudioDumpProto.CarVolumeGain.DEFAULT_GAIN_INDEX, getDefaultGainIndex()); in dumpProto()