Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java124 int maxIndex = startIndex; in findMaxIndex() local
126 if (data[i] > data[maxIndex]) { in findMaxIndex()
127 maxIndex = i; in findMaxIndex()
130 return maxIndex; in findMaxIndex()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioDeviceVolumeManagerTest.java125 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in testSetGetVolume() local
126 final int midIndex = (minIndex + maxIndex) / 2; in testSetGetVolume()
129 .setMaxVolumeIndex(maxIndex) in testSetGetVolume()
DAudioManagerTest.java1904 final int maxIndex = mAudioManager.getStreamMaxVolume(streamType); in testGetStreamVolumeDb() local
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.java360 int maxIndex = mCarAudioManager.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled() local
368 info, index).that(info.getMaxVolumeGainIndex()).isEqualTo(maxIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled()
386 int maxIndex = mCarAudioManager.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled() local
397 info, index).that(info.getMaxVolumeGainIndex()).isEqualTo(maxIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled()
403 + " group %s", info, index).that(maxActivationIndex).isAtMost(maxIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled()
483 int maxIndex = mCarAudioManager.getGroupMaxVolume(mVolumeGroupId); in getGroupVolume() local
489 .that(currentIndex).isAtMost(maxIndex); in getGroupVolume()
503 int maxIndex = mCarAudioManager.getGroupMaxVolume(mZoneId, mVolumeGroupId); in getGroupVolume_withZoneId() local
509 mVolumeGroupId).that(currentIndex).isAtMost(maxIndex); in getGroupVolume_withZoneId()
521 int maxIndex = mCarAudioManager.getGroupMaxVolume(mVolumeGroupId); in setGroupVolume_toMax_succeeds() local
[all …]
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderLowLatencyTest.java277 int maxIndex = 0; in testLowLatencyVideo() local
282 maxIndex = i; in testLowLatencyVideo()
289 " ms at frame " + maxIndex); in testLowLatencyVideo()