Home
last modified time | relevance | path

Searched refs:minIndex (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioDeviceVolumeManagerTest.java124 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in testSetGetVolume() local
126 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()
DAudioManagerTest.java1903 final int minIndex = mAudioManager.getStreamMinVolume(streamType); in testGetStreamVolumeDb() local
1905 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()
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java359 int minIndex = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled() local
370 info, index).that(info.getMinVolumeGainIndex()).isEqualTo(minIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled()
385 int minIndex = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled() local
399 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() local
491 .that(currentIndex).isAtLeast(minIndex); in getGroupVolume()
504 int minIndex = mCarAudioManager.getGroupMinVolume(mZoneId, mVolumeGroupId); in getGroupVolume_withZoneId() local
511 mVolumeGroupId).that(currentIndex).isAtLeast(minIndex); in getGroupVolume_withZoneId()
541 int minIndex = mCarAudioManager.getGroupMinVolume(mVolumeGroupId); in setGroupVolume_toMin_succeeds() local
[all …]