Searched refs:minIndex (Results 1 – 3 of 3) sorted by relevance
124 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in testSetGetVolume() local126 final int midIndex = (minIndex + maxIndex) / 2; in testSetGetVolume()128 .setMinVolumeIndex(minIndex) in testSetGetVolume()131 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in testSetGetVolume()
1903 final int minIndex = mAudioManager.getStreamMinVolume(streamType); in testGetStreamVolumeDb() local1905 assertTrue("Min vol index (" + minIndex + ") for stream " + streamType + " not inferior" in testGetStreamVolumeDb()1906 + " to max vol index (" + maxIndex + ")", minIndex <= maxIndex); in testGetStreamVolumeDb()1909 for (int idx = minIndex ; idx <= maxIndex ; idx++) { in testGetStreamVolumeDb()
359 int minIndex = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled() local370 info, index).that(info.getMinVolumeGainIndex()).isEqualTo(minIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled()385 int minIndex = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled() local399 info, index).that(info.getMinVolumeGainIndex()).isEqualTo(minIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled()401 + " group %s", info, index).that(minActivationIndex).isAtLeast(minIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled()484 int minIndex = mCarAudioManager.getGroupMinVolume(mVolumeGroupId); in getGroupVolume() local491 .that(currentIndex).isAtLeast(minIndex); in getGroupVolume()504 int minIndex = mCarAudioManager.getGroupMinVolume(mZoneId, mVolumeGroupId); in getGroupVolume_withZoneId() local511 mVolumeGroupId).that(currentIndex).isAtLeast(minIndex); in getGroupVolume_withZoneId()541 int minIndex = mCarAudioManager.getGroupMinVolume(mVolumeGroupId); in setGroupVolume_toMin_succeeds() local[all …]