Home
last modified time | relevance | path

Searched refs:getMinGainIndex (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java453 abstract int getMinGainIndex(); in getMinGainIndex() method in CarVolumeGroup
457 int minGainIndex = getMinGainIndex(); in getMaxActivationGainIndex()
465 int minGainIndex = getMinGainIndex(); in getMinActivationGainIndex()
478 return getMinGainIndex(); in getCurrentGainIndex()
515 "Gain out of range (%d:%d) index %d", getMinGainIndex(), getMaxGainIndex(), in setCurrentGainIndex()
615 getMinGainIndex(), getMaxGainIndex(), getDefaultGainIndex(), in dump()
672 proto.write(CarAudioDumpProto.CarVolumeGain.MIN_GAIN_INDEX, getMinGainIndex()); in dumpProto()
950 .setMinVolumeGainIndex(getMinGainIndex()).setMuted(isMuted).setBlocked(isBlocked) in getCarVolumeGroupInfo()
DCoreAudioVolumeGroup.java92 public int getMinGainIndex() { in getMinGainIndex() method in CoreAudioVolumeGroup
181 int previousIndex = isMutedLocked() ? getMinGainIndex() : previousAudibleIndex; in onAudioVolumeGroupChanged()
DCarAudioVolumeGroup.java73 public int getMinGainIndex() { in getMinGainIndex() method in CarAudioVolumeGroup
DCarAudioService.java1101 return group.getMinGainIndex(); in getGroupMinVolume()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioVolumeGroupTest.java167 expect.withMessage("Min index").that(carVolumeGroup.getMinGainIndex()) in testInitializedIndexes()
323 .that(carVolumeGroup.getMinGainIndex()).isEqualTo(MIN_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType()
348 .that(carVolumeGroup.getMinGainIndex()).isEqualTo(MIN_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType()
396 .that(carVolumeGroup.getMinGainIndex()).isEqualTo(MIN_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_extrapolationSucceeds()
424 .that(carVolumeGroup.getMinGainIndex()).isEqualTo(TEST_GAIN_MIN_INDEX); in calculateNewGainStageFromDeviceInfos_extrapolationFails_setsToDefaultValue()
DCoreAudioVolumeGroupTest.java211 expectWithMessage("Initial gain index").that(mMusicCoreAudioVolumeGroup.getMinGainIndex()) in getMinIndex()
213 expectWithMessage("Initial gain index").that(mNavCoreAudioVolumeGroup.getMinGainIndex()) in getMinIndex()
215 expectWithMessage("Initial gain index").that(mOemCoreAudioVolumeGroup.getMinGainIndex()) in getMinIndex()
DCarVolumeGroupUnitTest.java909 int limitedGainIndex = carVolumeGroup.getMinGainIndex() + 1; in getCurrentGainIndex_whileLimited_thenUnlimited()
1999 .that(info.getMinVolumeGainIndex()).isEqualTo(carVolumeGroup.getMinGainIndex()); in getCarVolumeGroupInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java1597 .isEqualTo(volumeGroups[0].getMinGainIndex()); in loadAudioZones_withMinMaxActivationVolumeAndNoActivationVolumeSupport()
1605 .isEqualTo(volumeGroups[1].getMinGainIndex()); in loadAudioZones_withMinMaxActivationVolumeAndNoActivationVolumeSupport()
1631 .isGreaterThan(volumeGroups[0].getMinGainIndex()); in loadAudioZones_withMinMaxActivationVolume()
1640 .isEqualTo(volumeGroups[1].getMinGainIndex()); in loadAudioZones_withMinMaxActivationVolume()