Searched refs:maxIndex (Results 1 – 5 of 5) sorted by relevance
124 int maxIndex = startIndex; in findMaxIndex() local126 if (data[i] > data[maxIndex]) { in findMaxIndex()127 maxIndex = i; in findMaxIndex()130 return maxIndex; in findMaxIndex()
125 final int maxIndex = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in testSetGetVolume() local126 final int midIndex = (minIndex + maxIndex) / 2; in testSetGetVolume()129 .setMaxVolumeIndex(maxIndex) in testSetGetVolume()
1904 final int maxIndex = mAudioManager.getStreamMaxVolume(streamType); in testGetStreamVolumeDb() local1906 + " to max vol index (" + maxIndex + ")", minIndex <= maxIndex); in testGetStreamVolumeDb()1909 for (int idx = minIndex ; idx <= maxIndex ; idx++) { in testGetStreamVolumeDb()
360 int maxIndex = mCarAudioManager.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled() local368 info, index).that(info.getMaxVolumeGainIndex()).isEqualTo(maxIndex); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagDisabled()386 int maxIndex = mCarAudioManager.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, index); in getVolumeGroupInfo_withMinMaxActivationVolumeFlagEnabled() local397 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() local489 .that(currentIndex).isAtMost(maxIndex); in getGroupVolume()503 int maxIndex = mCarAudioManager.getGroupMaxVolume(mZoneId, mVolumeGroupId); in getGroupVolume_withZoneId() local509 mVolumeGroupId).that(currentIndex).isAtMost(maxIndex); in getGroupVolume_withZoneId()521 int maxIndex = mCarAudioManager.getGroupMaxVolume(mVolumeGroupId); in setGroupVolume_toMax_succeeds() local[all …]
277 int maxIndex = 0; in testLowLatencyVideo() local282 maxIndex = i; in testLowLatencyVideo()289 " ms at frame " + maxIndex); in testLowLatencyVideo()