Home
last modified time | relevance | path

Searched refs:volumeIndex (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainConfigInfoTest.java42 gainInfo.volumeIndex = 666; in constructor_succeeds()
65 gainInfo.volumeIndex = 666; in hash_forTheSameAudioGainConfigs_equals()
78 gainInfo.volumeIndex = 666; in hash_withDifferentZoneIds_notEquals()
91 gainInfo.volumeIndex = 666; in hash_forTheSameObject_succeeds()
104 gainInfo.volumeIndex = 666; in equals_succeeds()
117 gainInfo1.volumeIndex = 666; in equals_fails()
123 gainInfo2.volumeIndex = 999; in equals_fails()
132 gainInfo3.volumeIndex = 666; in equals_fails()
141 gainInfo4.volumeIndex = 666; in equals_fails()
DCarVolumeGroupUnitTest.java216 musicGain.volumeIndex = MIN_GAIN_INDEX; in setMuted_whenHalMuted_onActivation_returnsTrue()
232 musicGain.volumeIndex = MIN_GAIN_INDEX; in setMuted_whenHalMuted_onDeactivation_returnsFalse()
364 musicGain.volumeIndex = MIN_GAIN_INDEX; in isHalMuted_withHalMuted()
391 musicGain.volumeIndex = MIN_GAIN_INDEX; in getMutedBySystem_withHalMuted()
1063 musicGain.volumeIndex = TEST_GAIN_INDEX; in isOverLimit_expectedTrue()
1083 musicGain.volumeIndex = TEST_GAIN_INDEX; in isOverLimit_expectedFalse()
1102 musicGain.volumeIndex = DEFAULT_GAIN_INDEX; in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume()
1149 musicGain.volumeIndex = DEFAULT_GAIN_INDEX; in onAudioGainChanged_withUnderLimit_thenEndsWithVolumeUnchanged()
1196 musicGain.volumeIndex = MIN_GAIN_INDEX; in onAudioGainChanged_withBlockedGain_thenEndsAndRestoresVolume()
1246 musicGain.volumeIndex = attenuatedIndex; in onAudioGainChanged_withAttenuatedGain_thenEndsAndRestoresVolume()
[all …]
DCarAudioZoneUnitTest.java669 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withDeviceAddressesInZone()
674 navGainInfo.volumeIndex = 999; in onAudioGainChanged_withDeviceAddressesInZone()
694 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withMultipleGainInfoForSameGroup_createsNoDuplicateEvents()
699 musicGainInfoDup.volumeIndex = 999; in onAudioGainChanged_withMultipleGainInfoForSameGroup_createsNoDuplicateEvents()
715 navGainInfo.volumeIndex = 999; in onAudioGainChanged_withoutAnyDeviceAddressInZone()
DCarAudioZoneConfigUnitTest.java732 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withDeviceAddressesInZone()
764 navGainInfo.volumeIndex = 666; in onAudioGainChanged_withMultipleGainInfosForOneVolumeGroup()
768 voiceGainInfo.volumeIndex = 666; in onAudioGainChanged_withMultipleGainInfosForOneVolumeGroup()
794 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withInvalidEventType()
816 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withInvalidAddress()
840 musicGainInfo.volumeIndex = 666; in onAudioGainChanged_withoutAnyDeviceAddressInZone()
DCarAudioVolumeGroupTest.java441 musicGain.volumeIndex = TEST_GAIN_INDEX; in calculateNewGainStageFromDeviceInfos_whenBlockingActive_extrapolationSucceeds()
475 musicGain.volumeIndex = TEST_GAIN_INDEX; in calculateNewGainStageFromDeviceInfos_whenLimitingActive_extrapolationSucceeds()
511 musicGain.volumeIndex = TEST_GAIN_INDEX; in calculateNewGainStageFromDeviceInfos_whenAttenuationActive_extrapolationSucceeds()
544 musicGain.volumeIndex = TEST_GAIN_INDEX; in calculateNewGainStageFromDeviceInfos_whenRestrictionsActive_extrapolationFails()
DCarAudioServiceUnitTest.java6421 String devicePortAddress, int volumeIndex) { in createCarAudioGainConfigInfo() argument
6425 configInfo.volumeIndex = volumeIndex; in createCarAudioGainConfigInfo()
6791 int zoneId, int groupId, int volumeIndex) throws Exception { in setVolumeForGroup() argument
6792 service.setGroupVolume(zoneId, groupId, volumeIndex, TEST_FLAGS); in setVolumeForGroup()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DVolumeChangePreferenceFragment.java138 final int volumeIndex = (int) (maxIndex * mCurrentVolumeIndex); in commit() local
140 .setVolumeIndex(volumeIndex).build(); in commit()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainConfigInfo.java53 return mAudioGainConfigInfo.volumeIndex; in getVolumeIndex()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java770 gainInfo1.volumeIndex = 666; in onAudioDeviceGainsChanged_succeeds()
775 gainInfo2.volumeIndex = 999; in onAudioDeviceGainsChanged_succeeds()
805 gainInfo1.volumeIndex = 666; in onAudioDeviceGainsChanged_invalidReasons()
810 gainInfo2.volumeIndex = 999; in onAudioDeviceGainsChanged_invalidReasons()
841 gainInfo1.volumeIndex = 666; in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
846 gainInfo2.volumeIndex = 999; in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
DHalAudioGainCallbackTest.java114 audioGainConfigInfo.volumeIndex = 666; in gainToString_succeeds()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioGainCallback.java106 + audioGainConfigInfo.volumeIndex; in gainToString()