Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DPresetReverbTest.java81 for (short preset = FIRST_PRESET; in test1_0Presets()
82 preset <= LAST_PRESET; in test1_0Presets()
83 preset++) { in test1_0Presets()
84 mReverb.setPreset(preset); in test1_0Presets()
85 assertEquals("got incorrect preset", preset, mReverb.getPreset()); in test1_0Presets()
108 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? in test1_1Properties() local
110 settings.preset = preset; in test1_1Properties()
113 assertEquals("setProperties failed", settings.preset, preset); in test1_1Properties()
DAudioEffectTest.java348 short preset = PresetReverb.PRESET_SMALLROOM; in test3_0SetParameterByteArrayByteArray() local
349 if (mEffect.byteArrayToShort(value) == preset) { in test3_0SetParameterByteArrayByteArray()
350 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_0SetParameterByteArrayByteArray()
352 value = mEffect.shortToByteArray(preset); in test3_0SetParameterByteArrayByteArray()
357 assertEquals("get/set Parameter failed", preset, in test3_0SetParameterByteArrayByteArray()
416 short preset = PresetReverb.PRESET_SMALLROOM; in test3_2SetParameterIntShort() local
417 if (value[0] == preset) { in test3_2SetParameterIntShort()
418 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_2SetParameterIntShort()
420 status = mEffect.setParameter(param, preset); in test3_2SetParameterIntShort()
424 assertEquals("get/set Parameter failed", preset, value[0]); in test3_2SetParameterIntShort()
[all …]
DEqualizerTest.java138 short preset = mEqualizer.getCurrentPreset(); in test1_2Presets() local
139 assertEquals("usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets()
140 String name = mEqualizer.getPresetName(preset); in test1_2Presets()