Searched refs:isValidGainIndex (Results 1 – 3 of 3) sorted by relevance
179 expect.withMessage("Min index").that(carVolumeGroup.isValidGainIndex(MIN_GAIN_INDEX)) in checkValidGainIndexes()181 expect.withMessage("Max index").that(carVolumeGroup.isValidGainIndex(MAX_GAIN_INDEX)) in checkValidGainIndexes()184 .that(carVolumeGroup.isValidGainIndex(DEFAULT_GAIN_INDEX)) in checkValidGainIndexes()188 .that(carVolumeGroup.isValidGainIndex(MIN_GAIN_INDEX - 1)) in checkValidGainIndexes()191 .that(carVolumeGroup.isValidGainIndex(MAX_GAIN_INDEX + 1)) in checkValidGainIndexes()
221 expectWithMessage("check inside range").that(mMusicCoreAudioVolumeGroup.isValidGainIndex( in checkIndexRange()225 .that(mMusicCoreAudioVolumeGroup.isValidGainIndex(MUSIC_MIN_INDEX - 1)) in checkIndexRange()228 .that(mMusicCoreAudioVolumeGroup.isValidGainIndex(MUSIC_MAX_INDEX + 1)) in checkIndexRange()
828 protected boolean isValidGainIndex(int gainIndex) { in isValidGainIndex() method in CarVolumeGroup869 || !isValidGainIndex(halIndex)) { in onAudioGainChanged()