Home
last modified time | relevance | path

Searched refs:MUSIC_MIN_INDEX (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioVolumeGroupTest.java34 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_MIN_INDEX;
126 .thenReturn(MUSIC_MIN_INDEX); in setupMock()
212 .isEqualTo(MUSIC_MIN_INDEX); in getMinIndex()
222 (MUSIC_MAX_INDEX + MUSIC_MIN_INDEX) / 2)) in checkIndexRange()
225 .that(mMusicCoreAudioVolumeGroup.isValidGainIndex(MUSIC_MIN_INDEX - 1)) in checkIndexRange()
241 int index = (MUSIC_MAX_INDEX + MUSIC_MIN_INDEX) / 2; in setAndGetIndex()
285 mMusicCoreAudioVolumeGroup.setCurrentGainIndex(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()
288 eq(MUSIC_GROUP_ID), eq(MUSIC_MIN_INDEX), anyInt()); in muteByVolumeZeroKeepMuted()
299 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()
310 .that(mMusicCoreAudioVolumeGroup.getCurrentGainIndex()).isEqualTo(MUSIC_MIN_INDEX); in muteByVolumeZeroKeepMuted()
[all …]
DCoreAudioRoutingUtils.java37 public static final int MUSIC_MIN_INDEX = 0; field in CoreAudioRoutingUtils
DCarAudioServiceUnitTest.java5414 .thenReturn(CoreAudioRoutingUtils.MUSIC_MIN_INDEX); in onAudioVolumeGroupChanged_dispatchCallbackEvent_whenMuted()
6696 .thenReturn(CoreAudioRoutingUtils.MUSIC_MIN_INDEX); in mockCoreAudioRoutingAndVolume()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java49 static final int MUSIC_MIN_INDEX = 0; field in CoreAudioRoutingUtils