Searched refs:TEST_GAIN_INDEX (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioVolumeGroupTest.java | 87 private static final int TEST_GAIN_INDEX = 35; field in CarAudioVolumeGroupTest 198 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices() 201 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices() 207 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex() 210 eq(GROUP_ID), eq(TEST_GAIN_INDEX)); in setCurrentGainIndex_updatesCurrentGainIndex() 308 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() 327 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() 333 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType() 352 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType() 358 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws() [all …]
|
D | CarAudioSettingsUnitTest.java | 46 private static final int TEST_GAIN_INDEX = 10; field in CarAudioSettingsUnitTest 98 setStoredVolumeGainIndexForUser(TEST_GAIN_INDEX); in getStoredVolumeGainIndexForUser_returnsSavedValue() 103 TEST_GROUP_ID)).isEqualTo(TEST_GAIN_INDEX); in getStoredVolumeGainIndexForUser_returnsSavedValue() 109 TEST_GROUP_ID, TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue() 113 .that(mMockSettings.getInt(TEST_GAIN_INDEX_KEY)).isEqualTo(TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue()
|
D | CarVolumeGroupUnitTest.java | 95 private static final int TEST_GAIN_INDEX = 2; field in CarVolumeGroupUnitTest 435 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_setsGainOnAllBoundDevices() 445 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex() 448 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in setCurrentGainIndex_updatesCurrentGainIndex() 628 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in handleActivationVolume_withAttenuatedGain() 792 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in getCurrentGainIndex_whileMuted_returnsMinGain() 803 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in getCurrentGainIndex_whileUnMuted_returnsLastSetGain() 808 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(TEST_GAIN_INDEX); in getCurrentGainIndex_whileUnMuted_returnsLastSetGain() 815 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in setCurrentGainIndex_whileMuted_unMutesVolumeGroup() 875 carVolumeGroup.setCurrentGainIndex(TEST_GAIN_INDEX); in getCurrentGainIndex_whileBlocked_thenUnblocked() [all …]
|
D | CarAudioServiceUnitTest.java | 351 private static final int TEST_GAIN_INDEX = 4; field in CarAudioServiceUnitTest 1560 TEST_GAIN_INDEX, TEST_FLAGS)); in setGroupVolume_withoutPermission_fails() 1572 PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, TEST_GAIN_INDEX, TEST_FLAGS); in setGroupVolume_withDynamicRoutingDisabled() 1576 TEST_GAIN_INDEX, in setGroupVolume_withDynamicRoutingDisabled() 1588 TEST_GAIN_INDEX, TEST_FLAGS); in setGroupVolume_verifyNoCallbacks() 1601 TEST_GAIN_INDEX, TEST_FLAGS); in setGroupVolume_afterSetVolumeGroupMute() 1614 MEDIA_TEST_DEVICE, TEST_GAIN_INDEX); in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException() 1619 PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, TEST_GAIN_INDEX, TEST_FLAGS); in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException() 3893 MEDIA_TEST_DEVICE, TEST_GAIN_INDEX); in onAudioDeviceGainsChanged_forPrimaryZone_changesVolume() 3899 TEST_PRIMARY_ZONE_GROUP_0)).isEqualTo(TEST_GAIN_INDEX); in onAudioDeviceGainsChanged_forPrimaryZone_changesVolume() [all …]
|