Searched refs:MEDIA_DEVICE_ADDRESS (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupUnitTest.java | 99 private static final String MEDIA_DEVICE_ADDRESS = "music"; field in CarVolumeGroupUnitTest 148 mMediaDeviceInfo = new TestCarAudioDeviceInfoBuilder(MEDIA_DEVICE_ADDRESS).build(); in setUp() 151 mInactiveMediaDeviceInfo = new TestCarAudioDeviceInfoBuilder(MEDIA_DEVICE_ADDRESS) in setUp() 215 musicGain.devicePortAddress = MEDIA_DEVICE_ADDRESS; in setMuted_whenHalMuted_onActivation_returnsTrue() 231 musicGain.devicePortAddress = MEDIA_DEVICE_ADDRESS; in setMuted_whenHalMuted_onDeactivation_returnsFalse() 297 List<Integer> contextsList = carVolumeGroup.getContextsForAddress(MEDIA_DEVICE_ADDRESS); in getContextsForAddress_returnsContextsBoundToThatAddress() 299 expectWithMessage("Contexts for bounded address %s", MEDIA_DEVICE_ADDRESS) in getContextsForAddress_returnsContextsBoundToThatAddress() 319 MEDIA_DEVICE_ADDRESS); in getCarAudioDeviceInfoForAddress_returnsExpectedDevice() 321 expectWithMessage("Device information for bounded address %s", MEDIA_DEVICE_ADDRESS) in getCarAudioDeviceInfoForAddress_returnsExpectedDevice() 363 musicGain.devicePortAddress = MEDIA_DEVICE_ADDRESS; in isHalMuted_withHalMuted() [all …]
|
D | CarAudioVolumeGroupTest.java | 90 private static final String MEDIA_DEVICE_ADDRESS = "music"; field in CarAudioVolumeGroupTest 156 getMockAudioDevice(MEDIA_DEVICE_ADDRESS)); in setUp() 157 mMediaDeviceInfo.setAudioDeviceInfo(getMockAudioDeviceInfo(MEDIA_DEVICE_ADDRESS)); in setUp() 244 TEST_GAIN_DEFAULT_VALUE, TEST_GAIN_STEP_VALUE, OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in updateAudioDeviceInfo_succeeds() 311 OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in calculateNewGainStageFromDeviceInfos_forSameGainStage_returnsNoEventType() 336 OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in calculateNewGainStageFromDeviceInfos_withOnlyDefaultUpdate_returnsNoEventType() 361 OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in calculateNewGainStageFromDeviceInfos_withDifferentStepValues_throws() 384 OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in calculateNewGainStageFromDeviceInfos_extrapolationSucceeds() 411 TEST_GAIN_DEFAULT_VALUE, TEST_GAIN_STEP_VALUE, OUT_DEVICE, MEDIA_DEVICE_ADDRESS); in calculateNewGainStageFromDeviceInfos_extrapolationFails_setsToDefaultValue() 440 musicGain.devicePortAddress = MEDIA_DEVICE_ADDRESS; in calculateNewGainStageFromDeviceInfos_whenBlockingActive_extrapolationSucceeds() [all …]
|
D | CarVolumeGroupFactoryTest.java | 51 private static final String MEDIA_DEVICE_ADDRESS = "music"; field in CarVolumeGroupFactoryTest 80 mMediaDeviceInfo = new TestCarAudioDeviceInfoBuilder(MEDIA_DEVICE_ADDRESS).build(); in setUp() 93 .that(carVolumeGroup.getAddresses()).containsExactly(MEDIA_DEVICE_ADDRESS, in setDeviceInfoForContext_associatesDeviceAddresses()
|